While testing the WHOIS tool on this site we noticed that a lookup for noob.tools returned the record of the .tools registry instead of the domain's. The cause is a good example of how domain lookups work today, and why a plain whois command is no longer enough.
How classic WHOIS finds a server
WHOIS (RFC 3912) is a very old protocol: you open a TCP connection to port 43, send a name, and read back free text. There is no standard format, which is why every registry's output looks different.
It also has no built-in way to know which server to ask. The usual approach is to start at IANA:
whois -h whois.iana.org example.tools
IANA answers with the registry for that TLD in a refer: or whois: line, and the client repeats the query there. For IP addresses the same flow leads to ARIN, RIPE, APNIC and the other regional registries.
What went wrong with .tools
For .tools, IANA's whois: field is empty, and the registry's own port-43 service answers TLD is not supported. A tool that follows IANA once and stops will show IANA's own text, which is the TLD's record (organization, contacts, name servers of the registry), not your domain's.
This is not a bug in one registry. Since 28 January 2025 ICANN no longer requires most gTLD registries to keep a port-43 WHOIS service (a few, such as .com, still run one), because RDAP covers the same ground, and many registries have already switched theirs off. Country-code TLDs set their own rules, so the picture varies by TLD.
RDAP: the replacement
RDAP (the Registration Data Access Protocol, RFC 7480 and following) does the same job over HTTPS and returns JSON, with standard field names and proper error codes. It also solves the "which server?" problem: IANA publishes a bootstrap file that maps every TLD to its RDAP base URL.
curl -s https://data.iana.org/rdap/dns.json
Each entry lists TLDs and the service that handles them. Then ask that service directly:
curl -s https://rdap.identitydigital.services/rdap/domain/example.tools
The response includes the registration, last-changed and expiration events, the registrar, status flags such as clientTransferProhibited, the name servers and whether DNSSEC is in place. A domain that is not registered returns HTTP 404.
If you do not want to look up the base URL yourself, https://rdap.org/domain/example.tools redirects to the right service.
Why the registrant is usually empty
Since GDPR, most registries and registrars redact personal data in both WHOIS and RDAP. You will usually see the registrar, dates, status and name servers but not the owner's name or email. That is expected and the same on any tool. To contact the owner, the registrar's abuse contact (included in the output) and the registrar's own contact forms are the route.
What the WHOIS tool on this site does
The tool asks IANA which server is responsible, follows that referral, and for domains whose TLD has no working port-43 service it falls back to RDAP and prints the result in a WHOIS-like layout. IP addresses follow IANA's referral to the right regional registry.
Try it yourselfWHOIS LookupQuery domain registration details.Useful things to read in the output
- Creation and expiration date: how old the domain is and when it must be renewed.
- Status:
clientTransferProhibited,clientDeleteProhibitedandclientUpdateProhibitedare protective locks you want on a domain you care about. - Name servers: confirm they match where you actually manage your DNS. Compare with a live query using the Advanced DNS Lookup (record type NS).
- DNSSEC: whether the registry holds a DS record for the domain.
Checklist
whoisshows the TLD's record or says unsupported: the TLD has no usable port 43.- Fetch IANA's RDAP bootstrap file, find your TLD, and query its
/domain/path. - A 404 means the domain is not registered.
- Expect the registrant to be redacted; use the registrar abuse contact.