pricing background

Whois Protocol: Streamlined Domain Data Access

Profile

By Mian Fahad

Posted on September 20, 2023 | 9 min read

WHOIS is a query-and-response protocol that retrieves registration data for internet resources including domain names, IP address blocks, and Autonomous System Numbers (ASNs). When you query a domain over WHOIS, you receive structured registration information: who registered it, when, through which registrar, the nameservers assigned, and the current domain status. The protocol communicates over TCP port 43 and is documented in RFC 3912. As of January 28, 2025, ICANN designated RDAP (Registration Data Access Protocol) as the official replacement for gTLD WHOIS services.

What is WHOIS?

WHOIS (pronounced "who is") is a query-and-response protocol for retrieving registration data about internet resources. A WHOIS query returns the owner details, registrar, nameservers, registration and expiration dates, and current status for any queried domain name, IP address block, or Autonomous System Number.

The protocol operates over TCP port 43. It sends a plain-text query to the relevant registry or registrar server and returns a plain-text response. Every registrant who registers a domain name provides contact details (names, addresses, email addresses, phone numbers) that populate the WHOIS record. Since GDPR took effect in 2018, much of this contact data is now redacted for gTLD registrations, though the structural fields (registrar, nameservers, domain status, and key dates) remain public.

History of WHOIS

The WHOIS concept originated at Stanford's Network Information Center (NIC) in the early 1970s, where Elizabeth Feinler and her team built the first directory for querying ARPANET user information. The 'who' utility on the MIT Incompatible Timesharing System provided a parallel lookup function, and by 1977 the term "WHOIS" had become the common label for this type of directory query.

WHOIS was formally standardized in 1985 under RFC 954, and the current governing specification is RFC 3912, published by the Internet Engineering Task Force (IETF). The protocol was designed for ARPANET administrators and expanded as the domain name system grew to serve registrars, law enforcement, and security researchers.

In 1998, ICANN assumed oversight of the protocol. In 2016, ICANN formalized gTLD Registration Directory Service obligations under its contractual framework, requiring all accredited registrars to operate WHOIS services and provide public access to registration data.

ICANN itself does not keep domain registration details. Instead, all data resides in individual registrar or registry databases.

In 2007, ICANN introduced the Registrar Data Escrow (RDE) program. This program aims to increase the security of registrant information in case of registrar failure. As part of this initiative, registrars must regularly deposit backup copies of their registration data. They do this with designated escrow agents, such as Iron Mountain.

The Whois escrow service at Iron Mountain follows strict technical procedures. Registrars submit encrypted and compressed data files. This ensures the security and integrity of the information.

This escrow serves as a retrievable database in case of catastrophic failure or registrar disputes. Since there's no single Domain WHOIS database, records may vary based on retrieval methods or sources.

Domain WHOIS Record

The domain registration record has different sections. Each section serve a specific purpose and refer to various parties or components linked to the domain name. These sections provide information about different aspects of the domain.

Domain Status

Domain status provide the current state of the domain within the registration system. They are instructions from the registry or registrar. They can vary between registries. They explain the different stages of domain life cycle.

Registrar

The registrar field is vital in gTLD registration records. But, it can be tricky to identify the registrar's actual name. Some registrars have multiple names or use different names for their operations (DBA), leading to confusion. Additionally, some registrars use their website URL as the name, which might not match their official corporate name.

Name Servers

Nameservers are fundamental components in domain registration records. They link domain names to websites. But, they may differ in format and accuracy.

Typically, each record requires at least two nameservers, though some domains may have more. But, Domain registration data might has forged nameservers information.

Registrant, Administrative, Technical, and Billing Contact

In the Registrant section, only the name and postal address are necessary. But, WHOIS domain data may include extra details like email and phone numbers. This extra detail might not be accurate.

In Administrative and Other Contact Blocks, most fields are usually necessary. This ensures the accurate provision of contact information. ICANN requires making contact information for domain owners and managers publicly available. This includes mailing addresses, phone numbers, and email addresses, which raises privacy concerns.


Some domain registrars offer WHOIS privacy services. In these cases, they display their contact information instead of the registrant's. Yet, there is no absolute guarantee of this privacy. Legal requirements may need the release of private information.

Types of WHOIS lookup data models

WHOIS lookup data models are primarily of two types:

  • Thick WHOIS Model
    In the Thick model, the domain name registry holds and stores all the domain registration data. This includes contact information, name servers, and other related details. When you perform a WHOIS lookup, the information comes directly from the registry's WHOIS database. This process provides comprehensive domain details in a single query.
  • Thin WHOIS Model
    In the Thin model, the domain name registry stores minimal data for a domain. This includes the domain name server (DNS) and the registrar's contact information.
    The domain registrar stores the actual contact details of the domain owner separately. This includes information for registrant, administrative, technical, and billing contacts. To get full domain details, you need to make extra WHOIS queries to the registrar's WHOIS server.

These two data models determine how registries and registrars handle WHOIS data. Their format can vary based on the policies and practices of individual domain registries and registrars.

WHOIS in Cyber-Security

WHOIS provides insights into online threats and strengthens the digital defenses.

Threat Intelligence

Domain registration data acts as a foundational element for threat intelligence. Cyber-security specialists unveil details about domain ownership, registration, and historical data. This helps them to analyze and understand the origins of online threats.

Identifying Malicious Domains

Cyber-security experts leverage WHOIS to identify and flag potentially malicious domains. They examine registration details, patterns, and anomalies. This helps them identify domains linked to cyber threats.

Incident Response and Forensics

Domain registration data allows for a quick incident response after any cyber-attack.Forensics teams use historical WHOIS data to trace domain ownership changes over time, identify responsible entities, and build evidentiary records for legal proceedings.

Tracking Cyber Threat Actors

WHOIS aids in tracking and attributing cyber threat actors. Cyber-security experts uncover ownership details of domains involved in malicious activities. This helps them create profiles of threat actors and enhance attribution efforts in cyber-security.

Domain Reputation and Trustworthiness

Ongoing domain reputation assessment benefits from automated domain monitoring, which tracks WHOIS record changes and flags newly registered domains matching known threat patterns.

WHOIS Privacy and GDPR

WHOIS was designed in an era before data privacy regulation. Its original architecture made full registrant contact information (names, addresses, phone numbers, email addresses) publicly accessible to any user who performed a query.

The General Data Protection Regulation (GDPR), which took effect in May 2018, changed this for gTLD registrations. Registrars and registries operating in or serving European Union residents faced direct liability risk for publishing personal data in a globally accessible, unauthenticated directory. ICANN issued a Temporary Specification for gTLD Registration Data that required registrars to redact personal data fields from public WHOIS responses. That temporary measure has since been incorporated into ongoing policy through ICANN's Registration Data Policy.

What this means for WHOIS queries today

A public WHOIS or RDAP query for most gTLD domains now returns:

  • Registrar name and IANA ID
  • Domain registration and expiration dates
  • Nameservers
  • Domain status codes
  • An anonymized contact mechanism (email relay or web form) for reaching the registrant
  • Registrar abuse contact information

Registrant name, address, phone number, and direct email address are typically redacted for natural persons. Organizations may choose to publish their contact data, but natural person registrants are protected by default.

Requesting non-public registration data

ICANN operates the Registration Data Request Service (RDRS), a standardized mechanism for authorized parties (law enforcement, intellectual property rights holders, security researchers) to request access to non-public gTLD registration data. Requests go through a formal disclosure process managed by the registrar, who evaluates the legal basis for disclosure under applicable privacy law.

Privacy protection services

Some registrars offer WHOIS privacy protection services, where the registrar's contact details appear in the public WHOIS record in place of the registrant's personal information. This is distinct from GDPR redaction: privacy protection is a voluntary service a registrant subscribes to, while GDPR redaction is a compliance obligation the registrar applies automatically. The two mechanisms can coexist.

DNS and WHOIS

A Domain Name lookup, often called WHOIS, retrieves detailed domain registration data. This includes essential information about the domain owner. Distinguishing between a Domain Name lookup and a Domain Name Server (DNS) lookup is essential. WHOIS gives domain registration information, while a DNS lookup finds the IP address linked to a specific Domain Name.

WHOIS Alternatives

For over four decades, WHOIS was the primary mechanism for accessing domain registration data. The IETF and ICANN have since recognized its structural limitations and designated RDAP as its replacement for gTLD registration data access.

WHOIS limitations that drove the transition:

  • No standardized response format: each registry returns data in its own plain-text layout, requiring custom parsers for each source
  • Plain-text transmission over TCP port 43 with no encryption
  • No authentication mechanism: any client can query any server without credentials
  • No support for differentiated access: all users receive the same data regardless of their authorization level
  • Limited internationalization support for non-ASCII characters
  • No standardized referral mechanism for determining which server to query

RDAP: the current standard for gTLD registration data

RDAP (Registration Data Access Protocol) was developed by the IETF to address each of these limitations. ICANN designated January 28, 2025 as the date after which gTLD WHOIS services are permitted to sunset. RDAP is now the official protocol for gTLD registration data access.

WHOIS vs RDAP: key differences

FeatureWHOISRDAP
TransportTCP port 43, plain textHTTPS (encrypted)
Response formatUnstructured plain textStructured JSON
AuthenticationNoneSupported (differentiated access)
InternationalizationASCII onlyFull Unicode support
Referral mechanismNone standardizedDefined bootstrap mechanism
Privacy supportNot designed for redactionBuilt-in support for GDPR-compliant redaction
Current status (gTLDs)Permitted to sunset from Jan 28, 2025Designated ICANN standard

What RDAP returns

RDAP responses are structured JSON objects containing standardized fields: domain name, nameservers, registrar, registration and expiration events, entity objects for registrant and registrar contacts (with GDPR-compliant redaction applied where required), and domain status codes. Because the format is standardized, any RDAP client can parse responses from any RDAP-compliant server without custom logic.

Not all domain types have completed the RDAP transition. Country-code TLDs (ccTLDs) are governed independently of ICANN's gTLD framework and may continue to rely on WHOIS. For research requiring data across both gTLD and ccTLD registrations, tools and APIs that normalize both WHOIS and RDAP responses into a single structured format remain the most practical access method.

Ready to perform WHOIS lookup?

WHOIS and RDAP data are foundational for domain research, threat intelligence, brand protection, and incident response. But querying multiple registries and registrars directly (each with its own response format, rate limits, and authentication requirements) creates real operational friction.

The WhoisFreaks WHOIS API normalizes WHOIS and RDAP responses across millions of domains into a single structured format, with historical record access, bulk lookup support, and real-time data. Use it to make faster, better-informed decisions about domain assets, threat attribution, and online presence.

Frequently Asked Questions

Explore frequently asked questions to better understand our features, functionality, and usage.

What does a WHOIS lookup actually return?

A WHOIS query returns the registration record for a domain name. For most gTLD domains today, the public record includes the registrar name, registration and expiration dates, nameservers, domain status codes, and an anonymized contact mechanism. Personal contact data for natural person registrants is typically redacted under GDPR. For older registrations or ccTLDs not subject to ICANN's privacy policies, fuller contact data may still appear.

What is the difference between WHOIS and DNS?

WHOIS returns domain registration and ownership data: who registered a domain, when, through which registrar, and what nameservers are assigned. A DNS lookup returns the IP address associated with a domain name. These are separate systems: WHOIS queries the registration database, while DNS resolves domain names to IP addresses at the network level. Both tools are useful for domain research, but they answer different questions.

Why has WHOIS data become less complete in recent years?

GDPR and equivalent privacy regulations require registrars to redact personal contact information from public WHOIS records for natural person registrants. Before 2018, a WHOIS query typically returned the registrant's full name, address, phone number, and email address. Since the ICANN Temporary Specification for gTLD Registration Data took effect in 2018, this data is redacted by default. Authorized parties can request access through formal channels such as ICANN's Registration Data Request Service.

What is the RDAP transition and does it affect how I query domain data?

As of January 28, 2025, ICANN has permitted gTLD WHOIS services to sunset in favor of RDAP (Registration Data Access Protocol). RDAP returns the same registration data in structured JSON format over HTTPS, with standardized fields and support for differentiated access. If your workflows query WHOIS servers directly over TCP port 43, you may encounter reduced availability for gTLD data and should migrate to RDAP-compatible tools or APIs that normalize both protocols.