WHOIS Lookup
A WHOIS lookup returns the registration record for a domain name: the registrar that manages it, the dates it was created, last updated and expires, the nameservers it is delegated to, and the EPP status codes showing whether it is locked, on hold or pending deletion. Since GDPR, most registrars redact the registrant's personal contact details. Our WHOIS lookup asks the TLD registry's own WHOIS server and shows the raw record alongside the parsed fields.
Same lookup as JSON
What is a WHOIS lookup?
A WHOIS lookup queries the public registration record a registry holds for a domain name. The record is created when the domain is registered and updated whenever it is renewed, transferred or locked, so it is the authoritative statement of who manages the name, when it expires and where it is delegated, independent of anything the domain's own DNS or website says.
Our WHOIS lookup connects to the TLD registry's WHOIS server on port 43, shows the parsed fields and the raw record the registry returned, and caches the answer for one hour. There is no account and no captcha, and each IP address gets 200 lookups a day across all DNSX tools. The same data is available as JSON from curl https://api.dnsx.dev/whois/example.com.
How do I run a WHOIS lookup from the command line?
Linux and macOS ship a whois client. It asks the IANA root server which registry handles the TLD, follows the referral to that registry's server on port 43, and prints the record. For .com and .net the registry record points at the registrar's own WHOIS server, which the client queries in turn for the fuller record.
# Full record from the registry (and registrar, for .com/.net) whois example.com # Only the lines you usually want whois example.com | grep -iE 'registrar:|creation date|expiry date|name server|domain status' # Same data as JSON from DNSX curl https://api.dnsx.dev/whois/example.com
Who owns a domain, and why is the owner usually hidden?
WHOIS and RDAP return the registrant on record, but for most domains that field no longer names a person. Following GDPR, ICANN's Temporary Specification of 2018 and the Registration Data Policy that replaced it require registrars to redact personal contact details from public output. A lookup typically shows the registrar, the registrant's country and state, and an anonymised forwarding address rather than a name and email.
Everything technical stays visible: the registrar, the creation, updated and expiry dates, the nameservers, the EPP status codes, the DNSSEC state, and organisational registrant details where the registrant is a company rather than an individual. Many registrars also sell a privacy service that substitutes a proxy contact even where redaction would not otherwise apply.
When does a domain expire, and what happens next?
The expiry date is carried in the registration record. Passing it does not release the name. For most gTLDs the domain enters an auto-renew grace period of roughly 30 to 45 days during which the registrant can still renew at the normal price, though the registrar will usually have stopped resolving it.
After that comes a 30-day redemption period, during which only the original registrant can restore the name and the registry charges a redemption fee well above the renewal price. Then a five-day pending-delete window, in which nothing can be done at all, before the name drops and becomes available for anyone to register. The status codes autoRenewPeriod, redemptionPeriod and pendingDelete identify which stage a domain is in.
What do the EPP status codes mean?
EPP status codes describe the current state of a domain at the registry. Codes starting with client are set by the registrar. Codes starting with server are set by the registry, and the registrar cannot remove them. A domain normally carries several at once.
| Status code | What it means |
|---|---|
ok | The default state. No pending operations and no locks. Because no transfer lock is set, less protected than a domain showing clientTransferProhibited. |
clientTransferProhibited | A registrar-set lock blocking transfer to another registrar. Normal and desirable. The registrant removes it from the registrar control panel before a legitimate transfer. |
clientDeleteProhibited | A registrar-set lock blocking deletion of the domain, protecting against accidental or unauthorised removal. |
clientUpdateProhibited | A registrar-set lock blocking changes to the registration record, including nameserver and contact changes. |
clientHold | The registrar has asked the registry to remove the domain from the zone. The domain stops resolving entirely while this is set. The usual causes are non-payment or an abuse complaint. |
serverTransferProhibited | A registry-set transfer lock. Applied automatically for 60 days after a registration or a change of registrant, and cannot be lifted by the registrar. |
autoRenewPeriod | The domain passed its expiry date and is in the grace window, typically 30 to 45 days, in which it can still be renewed at the normal price. |
redemptionPeriod | The domain was deleted after expiry. For 30 days only the original registrant can restore it, and the registry charges a redemption fee. |
pendingDelete | Redemption has ended. After a five-day window the name is purged from the registry and becomes available for registration by anyone. |
inactive | No nameservers are delegated at the registry, so the domain cannot resolve regardless of any DNS configured elsewhere. |
What is RDAP, and has it replaced WHOIS?
RDAP, the Registration Data Access Protocol, is the structured JSON successor to WHOIS, standardised in RFC 7480 through RFC 7484. It carries the same registration data over HTTPS with defined field names, consistent date formats, internationalisation support and standardised access controls, so it can be parsed reliably instead of scraped.
RDAP has replaced WHOIS as the authoritative interface at all five Regional Internet Registries and at gTLD registries under ICANN's RDAP requirement. Legacy WHOIS output is still served by most registries for compatibility, and it is what our WHOIS lookup reads, with one query to the registry's server on port 43. Our IP lookup uses RDAP for address registrations.