paulobrien.dev
All posts

Whois lookup: a deep dive

Paul O'Brien · 2 min read

The Whois lookup is the simplest tool on the site, and one of the most useful. Type in any domain and it tells you who it's registered with, when it was registered, when it expires, whether it's locked against transfer and who to report abuse to. No account, no sign up.

Contents

Why I built it

Two questions come up again and again. "I've had an email from a domain I've never heard of. Who are they?" And, from the other side, "When does my own domain run out?" A domain that lapses takes its email with it, and I've seen that happen to small businesses more than once.

Old style whois tools give you a wall of text in a format from the 1980s. I wanted one that answers both questions at a glance, in plain English, with the raw record tucked away for anyone who wants it.

How it works

The Whois lookup runs on Cloudflare Workers and asks the domain's own registry using RDAP, the modern replacement for whois.

  • Straight from the registry. Only the domain name is looked up, at the registry that runs it.
  • Plain English. Status codes such as "client transfer prohibited" are explained, not just listed.
  • Nothing kept. There's no account, and nothing is stored beyond a count for your daily allowance.

What it shows

SectionWhat's in it
RegistrationThe registrar, when the domain was registered, when it expires and when it last changed
ProtectionThe transfer lock, DNSSEC and every status code, each explained
NameserversWho runs the domain's DNS, with a link to check its records
Who to contactThe owner where it's public, the country and the registrar's abuse contact

A real report

Here's fastmail.com, looked up this morning. It was registered on 9 December 1994, it's with Gandi until 2034 and it's locked against transfers. Note the button under the nameservers: one click takes you to the DNS checker for the same domain.

The Whois lookup result for fastmail.com, showing the registrar Gandi, the registration and expiry dates, the transfer lock, the nameservers and the abuse contact
A real Whois lookup

Who it's for

Anyone who's had a suspicious email. A domain registered last week, in another country, with the owner hidden, is worth being careful about.

Domain owners. Check when your own domains expire and whether they're locked, so nobody can move them without you knowing.

Anyone buying or selling a domain. See who it's with and when it was last changed.

Good to know

  • Anyone can run up to 20 look-ups a day, with no account.
  • Many registries hide the owner's name and address for privacy, so you'll often only see the country and the registrar's abuse contact.
  • It can't tell you whether a domain is for sale. For that, ask the registrar.

Try it

The Whois lookup is on the tools page. Tomorrow it's the IP checker, which does the same job for the address an email came from.

As always, sharing the love.

Stay in the loop

Subscribe for updates.

Leave your email and I'll tell you when there's a new version of one of my apps, or a new project to try. You can also use every tool on this site, free.

That didn't work. Please check your email address and try again.

One email to confirm. Unsubscribe with one click. Your address is only used for these updates.