WHOIS and RDAP: Looking Up Who Holds a Domain
Use WHOIS and RDAP to find a domain's registrar, dates and status, understand redacted fields and contact the holder properly.
Key takeaways
- RDAP returns structured registration data over HTTPS and has replaced WHOIS as the expected method for generic domains.
- Registrar, dates, status and name servers are usually visible, while personal contact details are often withheld.
- Reaching a holder or reporting abuse typically goes through the registrar's published contact points or forms.
- Registration data describes who manages a name and does not by itself show whether a site is trustworthy.
To find out about a domain's registration, you query the registry or registrar using WHOIS, the old plain-text protocol, or RDAP, its structured successor. You'll reliably learn things such as the registrar, creation and expiry dates, name servers and status codes. You often won't learn the holder's name or address, because personal details are commonly redacted.
That's still enough for many jobs: checking when a name expires, finding whom to report abuse to, seeing whether a suspicious domain is brand new or confirming that your own settings took effect.
Two protocols for the same question
WHOIS dates from the early internet and is described in RFC 3912. A client opens a connection on TCP port 43, sends a name and receives free-form text. That simplicity is its weakness: every operator formats output differently, there's no standard for non-English text, no authentication and no encryption.
RDAP, the Registration Data Access Protocol, was standardized by the IETF to fix those problems. It runs over HTTPS, returns JSON, uses defined field names and can support different levels of access for different users. RFC 9082 covers the query format and RFC 9083 the responses.
For generic top-level domains, ICANN moved to RDAP as the required service in 2025, and operators may or may not keep offering WHOIS. Many country-code registries still run WHOIS, and some don't yet offer RDAP.
How a lookup finds the right server
No single database holds every domain. Each registry answers for its own endings. A client has to work out where to ask.
With RDAP, IANA publishes a bootstrap file that maps each TLD to its RDAP service, a method described in RFC 9224. Clients read that file and then query the right server. The registry's answer may include a link to the registrar's RDAP service for more detail. This follows the division of roles explained in how domain registration works.
Running a lookup
The easiest route is a web lookup page. ICANN runs one for registration data, and registries and registrars offer their own. Type the domain and read the result.
From a terminal on macOS or many Linux systems:
whois example.com Linux distributions may require installing a whois package first. Windows doesn't include the command by default, though Microsoft's Sysinternals collection offers one.
For RDAP, any HTTP client works once you know the server's base address. With a placeholder server:
curl -s https://rdap.example.com/domain/example.com Substitute the registry's RDAP base address from the bootstrap data. The path pattern /domain/ followed by the name is standard. Similar paths exist for name servers and entities. Piping the output through a JSON formatter makes it readable, and JSON explained helps if the structure is new to you.
Reading the results
| Field | What it tells you |
|---|---|
| Registrar | The accredited company managing the registration |
| Creation date | When this registration began |
| Expiry date | When the current term ends at the registry |
| Updated date | The last change to the record |
| Name servers | Where DNS authority is delegated |
| Status | Locks, holds and lifecycle stage |
| DNSSEC | Whether a signed delegation is published |
| Abuse contact | Where to report misuse |
In RDAP JSON, dates appear in an events list with actions such as registration and expiration, statuses in a status array, and people or organizations under entities, each with a role.
Be careful with dates. A recent update can be a routine renewal. A creation date reflects the current registration, so a name that lapsed and was registered again looks young. The expiry shown during automatic renewal can run ahead of what the holder has actually paid. The stages are covered in expiration, grace and redemption.
Why so much is redacted
Registration records once routinely listed names, street addresses, phone numbers and email addresses. That fed spam and harassment. Privacy law, notably the European Union's General Data Protection Regulation, which took effect in 2018, led registries and registrars to withhold much personal data for generic domains. Country-code policies vary: some show little, some show organizations but not individuals.
Separately, privacy and proxy services substitute their own contact details. With a privacy service, you remain the registrant and your details are masked. With a proxy arrangement, the service may be listed as the holder, so read the terms to understand your rights.
Contacting a holder or reporting a problem
- To make an offer or raise a polite issue: look for a contact form or forwarding address in the record. Registrars commonly provide a way to message the registrant without revealing the address.
- To report phishing, malware or spam: use the registrar's abuse contact. Include the exact address, full email headers if relevant, screenshots and times.
- To report a problem with the hosting: find the network that owns the server's IP address through the regional internet registries, which run their own WHOIS and RDAP services.
- For a trademark or legal claim: dispute procedures and courts have ways to obtain non-public data. A lawyer can advise.
- For disclosure requests: registrars can release redacted data when there's a legitimate basis under applicable law. Expect to explain who you are and why.
Investigating a suspicious domain
Registration data is one clue among several. A domain created days ago that claims to be a long-established bank is a strong warning sign. A name server setup that matches nothing else the company uses is another. Combine this with DNS records and certificate logs, described in certificate transparency.
The limits matter. Criminals use old domains too, compromised legitimate sites keep respectable records, and new businesses have new domains. Don't accuse anyone on the strength of a lookup, and don't try to unmask people by combining scraps of personal data. Report to the registrar, host or authorities. Where to report online fraud lists the routes.
Looking up addresses and networks
The same two protocols cover IP addresses and autonomous system numbers, which are managed by the five regional internet registries. This answers a different question: which organization was allocated the block that an address sits in.
whois 192.0.2.1
curl -s https://rdap.example.com/ip/192.0.2.1 As before, the RDAP base address is a placeholder. IANA publishes bootstrap files for address ranges as well as for domains, so a capable client can pick the right registry automatically. The result usually names a network operator, an address range and an abuse contact. The operator is often a hosting or cloud company, which tells you who runs the network and nothing about which of its customers is using the address.
To get from a domain to its network, first find the address with dig example.com A +short, then look that address up. If the site sits behind a content delivery network, the result names the CDN. Its abuse form will normally pass reports toward the real host.
What can go wrong with a lookup
No data or an error. The ending may not offer RDAP, or your client may not know its server. Try the registry's own web page.
Rate limiting. Repeated queries get refused for a while. Slow down, and don't build scripts that hammer public services.
Two different answers. Registry and registrar records can differ briefly after a change, and a reseller may show cached data. The registry's answer is the one that governs name servers, status and expiry.
Misleading lookalike services. Some third-party sites mix old cached records with advertising, or encourage you to buy a name you just searched for. Prefer the official registry, registrar or ICANN pages for anything that matters.
Old command-line clients. A whois tool picks servers from a built-in list. Newer endings may be missing, in which case you can often name a server with the -h option, using the server the IANA database lists for that ending.
Checking your own record
Look up your own domains now and then:
- Is the registrar the one you expect?
- Is the transfer lock status present?
- Is the expiry date comfortably far off?
- Are the name servers correct?
- Does anything personal appear that you'd rather mask?
A change you didn't make deserves immediate attention, since it can be the first sign of domain hijacking.
Common questions
Is a name free if the lookup finds nothing?
Often, but not necessarily. It may be reserved by the registry, offered at a premium price or served by a lookup system that doesn't cover that ending. A registrar's availability search is the practical test.
Can I scrape these services in bulk?
Operators apply rate limits and terms of use, and mass collection of contact data is generally prohibited. If you need zone-level or bulk data for research, look for the registry's official access programs.