Skip to main content
Home/Blog/Cybersecurity/What is RDAP and how does it differ from WHOIS?
Cybersecurity

What is RDAP and how does it differ from WHOIS?

Explore RDAP as the modern replacement for WHOIS, understand the differences, and learn how to use RDAP for domain and IP address queries.

By Inventive HQ Team•
What is RDAP and how does it differ from WHOIS?

RDAP (Registration Data Access Protocol) is the modern, IETF-standardized replacement for WHOIS: instead of returning inconsistent free-text over an unencrypted port 43 connection, RDAP returns structured JSON over HTTPS (port 443), with standard core fields, internationalization support, server discovery, and support for tiered access to redacted data. Defined by RFC 9082 (query format) and RFC 9083 (JSON responses), RDAP became the preferred successor when ICANN ended the general WHOIS requirement for generic top-level domains on January 28, 2025, while retaining exceptions including .com, .name, and .post.

That is the summary an AI Overview will give you. What it can't show you is why the change matters in practice, what actually differs field-by-field, and how to run the queries yourself. The diagram and comparison table below make the shift concrete, and the sections that follow walk through querying, bootstrapping, privacy, and the migration path.

WHOIS free-text over port 43 versus RDAP structured JSON over HTTPS A client sends a query to a legacy WHOIS server on port 43 and receives inconsistent free text, versus sending the same query to an RDAP server over HTTPS port 443 and receiving standardized JSON. Client lookup query WHOIS — legacy plaintext, port 43 free text Domain Name: ... varies by server unencrypted RDAP — modern JSON, HTTPS port 443 structured JSON "ldhName": "...", "events": [...], standardized

The WHOIS Problem and Why RDAP Exists

WHOIS has been the standard protocol for querying domain registration and IP address information for decades. However, WHOIS has significant limitations that have become increasingly problematic as the internet has grown. The protocol is inconsistent across registrars and registries, doesn't properly handle internationalization, provides limited security features, and offers no standardized data structure or querying mechanisms.

RDAP (Registration Data Access Protocol) is designed to be the modern replacement for WHOIS. Developed under ICANN's direction and standardized by the Internet Engineering Task Force (IETF), RDAP addresses many of WHOIS's limitations while providing a more secure, structured, and consistent way to query domain and IP address registration information.

WHOIS vs RDAP at a Glance

DimensionWHOISRDAP
Response formatUnstructured free text, varies by serverStructured JSON, standardized fields
TransportPlaintext over TCP port 43 (unencrypted)HTTPS over port 443 (encrypted)
StandardizationNo standard schema; loose RFC 3912 for transport onlyStandard core: RFC 9082 (queries), RFC 9083 (JSON); extensions vary
InternationalizationPoor; largely ASCII-orientedNative i18n and IDN/Unicode support
Access controlPrivacy controls vary by provider; no standard authentication schemeSupports authenticated access and structured redaction
Server discoveryManual; must know the right WHOIS serverAutomatic bootstrapping via IANA registries (RFC 9224)
Search & queriesAd-hoc, per-server command syntaxStandard URL paths and query parameters
Rate limiting / errorsInconsistent, often silentStandard HTTP status codes (429, 404, etc.)
Which to useLegacy fallback for some ccTLDs / older recordsDefault choice for gTLDs and IP/ASN lookups

Key Differences Between WHOIS and RDAP

Protocol Technology:

  • WHOIS: Simple text-based protocol using port 43, dating back to the 1980s
  • RDAP: REST API using standard HTTPS (port 443), modern architecture

Standard port-43 WHOIS connections are unencrypted and the protocol does not define authentication. Public responses may still be redacted or rate-limited. RDAP uses HTTPS, which provides encryption and can support authentication.

Data Structure:

  • WHOIS: Unstructured text responses that vary by registry/registrar
  • RDAP: Structured JSON responses with consistent formatting

With WHOIS, parsing response data often requires provider-specific logic because formats differ. RDAP provides a common JSON structure that can be processed programmatically, though extensions and field availability vary by server. The following shows selected fields from the Verisign response for example.com, rather than a complete response:

WHOIS-style text (illustrative):
Domain Name: EXAMPLE.COM
Registrar: Example Registrar

Selected RDAP fields (structured JSON):
{
  "objectClassName": "domain",
  "handle": "2336799_DOMAIN_COM-VRSN",
  "ldhName": "EXAMPLE.COM",
  "events": [
    {
      "eventAction": "registration",
      "eventDate": "1995-08-14T04:00:00Z"
    }
  ]
}

Query Syntax:

  • WHOIS: Non-standard commands that vary by server (some accept domain.com, others require domain domain.com)
  • RDAP: Standardized URL-based queries
WHOIS:
whois domain.com
(format varies by server)

RDAP:
https://rdap.verisign.com/com/v1/domain/example.com
https://rdap.arin.net/registry/ip/8.8.8.8

Data Consistency:

  • WHOIS: Highly inconsistent formatting across registries and registrars
  • RDAP: Standard core fields and structure; extensions and available data vary

Privacy and Access Control:

  • WHOIS: Providers can redact public data, but the protocol has no standard structured redaction mechanism
  • RDAP: Supports privacy protections through redaction and access control

RDAP allows registries and registrars to express privacy controls in structured responses. WHOIS providers can also redact data in their text responses.

Internationalization (i18n):

  • WHOIS: Limited support for non-ASCII characters
  • RDAP: Defines support for internationalized names and Unicode text

Authentication and Rate Limiting:

  • WHOIS: No authentication; rate limiting is inconsistent and often absent
  • RDAP: Supports authentication and standard HTTP rate limiting through status codes

How RDAP Works

RDAP is defined by a family of IETF standards rather than a single loose convention. The query format is specified in RFC 9082 and the JSON response format in RFC 9083 (both published in 2021, obsoleting the original RFC 7482 and RFC 7483), while server discovery is defined in RFC 9224. This is a core difference from WHOIS, whose transport was only ever loosely described by RFC 3912 with no standard for the actual response content.

Bootstrapping: RDAP uses a bootstrapping mechanism to discover which RDAP server to query for a given domain or IP address. Clients consult IANA's bootstrap registries (per RFC 9224), which map TLDs and address ranges to RDAP base URLs. Follow the selected service's documented path for the object being queried.

Query: Which RDAP service covers example.com?
Response: https://rdap.verisign.com/com/v1/

Query: Which RDAP service covers 8.8.8.8?
Response: https://rdap.arin.net/registry/

Domain Queries:

https://rdap.verisign.com/com/v1/domain/example.com

Selected fields from the response (the full response contains additional fields):

{
  "objectClassName": "domain",
  "handle": "2336799_DOMAIN_COM-VRSN",
  "ldhName": "EXAMPLE.COM",
  "events": [
    {
      "eventAction": "registration",
      "eventDate": "1995-08-14T04:00:00Z"
    }
  ],
  "entities": [
    {
      "objectClassName": "entity",
      "handle": "376",
      "roles": ["registrar"]
    }
  ]
}

IP Address Queries:

https://rdap.arin.net/registry/ip/8.8.8.8

Search Capabilities: RFC 9082 defines optional search paths for domains, nameservers, and entities. Search uses plural paths, and a server may return HTTP 501 when a query type is unsupported. Check the chosen server's documentation before relying on search. These are RFC-style path examples, not guaranteed live endpoints:

<rdap-base-url>/domains?name=example*.com
<rdap-base-url>/domains?nsLdhName=ns1.example*.com
<rdap-base-url>/entities?fn=Example*

Current State of RDAP Adoption

Adoption Status: ICANN requires gTLD registries and registrars to provide RDAP services. Regional Internet Registries also publish RDAP endpoints for number resources. Availability and detail can differ for country-code TLDs and individual providers. For current coverage, check the IANA RDAP bootstrap registries and the relevant provider's documentation.

Sunset of WHOIS: The transition is no longer hypothetical. On January 28, 2025, ICANN ended the general WHOIS protocol requirement for generic top-level domains (gTLDs), with exceptions including .com, .name, and .post. Some other gTLD WHOIS services have ceased operation. WHOIS also remains available for some country-code TLDs (ccTLDs) and IP records. Organizations that depend on port-43 WHOIS should add RDAP support.

Practical Advantages of RDAP

For Security Researchers:

  • Structured data is easier to parse and analyze
  • Standard field names enable automated analysis across multiple domains
  • HTTPS encryption protects queries from eavesdropping
  • Standard search patterns where a server supports them

For Developers:

  • Standardized JSON responses simplify integration
  • Less need for provider-specific text parsers
  • Consistent error handling
  • Programmatic discovery of RDAP endpoints

For Compliance:

  • RDAP supports privacy controls and data redaction
  • HTTP-based access controls can be integrated with provider logging
  • Authentication support for regulated data access
  • Better separation of public vs. confidential information

For Organizations:

  • More secure queries (HTTPS)
  • IANA bootstrapping helps clients discover the appropriate RDAP service
  • Standardized data for better analysis
  • Aligns new tooling with RDAP requirements for gTLDs

Privacy Implications of RDAP

RDAP supports structured privacy controls. WHOIS providers can also redact public data, but its text protocol does not define equivalent structured redaction:

Privacy Objects: Providers can omit fields from a public response. RFC 9537 defines a redacted member that can describe such omissions. This simplified example illustrates its structure; a live response depends on the provider's policy:

{
  "rdapConformance": ["rdap_level_0", "redacted"],
  "objectClassName": "domain",
  "ldhName": "example.com",
  "redacted": [{
    "name": {"description": "Registry Domain ID"},
    "prePath": "$.handle",
    "pathLang": "jsonpath",
    "method": "removal"
  }]
}

Access Control: RDAP can require authentication for accessing sensitive data, with proper authorization checks.

Comparing WHOIS and RDAP Queries

Want to see real registration data for a domain right now? Run a lookup with the tool below, then compare its output with a current raw RDAP response from the appropriate registry.

WHOIS Lookup

Query domain registration information, expiration dates, and nameservers

Open the full WHOIS Lookup tool →
Loading interactive tool...

Finding Domain Registrar:

WHOIS: whois example.com | grep -i registrar
RDAP:  curl -sS https://rdap.verisign.com/com/v1/domain/example.com | jq '.entities[]? | select(.roles[]? == "registrar")'

Finding Domain Creation Date:

WHOIS: whois example.com | grep -i "creation\|created"
RDAP:  curl -sS https://rdap.verisign.com/com/v1/domain/example.com | jq '.events[]? | select(.eventAction == "registration")'

Finding IP Address Block Details:

WHOIS: whois 8.8.8.8
RDAP:  curl -sS https://rdap.arin.net/registry/ip/8.8.8.8

Challenges and Limitations of RDAP

Coverage Gaps: RDAP coverage and returned fields can vary outside the ICANN-contracted gTLD ecosystem. Check the relevant provider's current service documentation.

Privacy vs Transparency Trade-off: Public RDAP responses may omit or redact personal data under applicable rules and provider policies. The fields available to security researchers and domain investigators can differ between services.

Adoption Lag: Existing WHOIS-based tools may need changes to discover RDAP servers and parse JSON responses.

Complexity: While RDAP is more structured, it's more complex than simple WHOIS text responses. This requires more sophisticated client implementations.

Tools and Services for RDAP

Command-Line Tools:

  • rdap (Python library and CLI)
  • curl with JSON parsing for direct API queries
  • jq for processing JSON responses

Web Interfaces:

  • ICANN Lookup
  • Individual registry/registrar RDAP interfaces

Libraries:

  • Python: rdappy, rdap-python
  • JavaScript/Node.js: rdap npm package
  • Java: JDAP library

Transitioning from WHOIS to RDAP

For organizations currently using WHOIS:

  1. Assess your tools: Identify which tools rely on WHOIS queries
  2. Plan migration: Determine which tools can be updated to use RDAP
  3. Test in parallel: Use both WHOIS and RDAP initially to verify data consistency
  4. Update scripts: Rewrite shell scripts and automated tools to use RDAP
  5. Train staff: Ensure your team understands RDAP query syntax and advantages
  6. Check service availability: Track the RDAP and WHOIS services used by your workflows

Conclusion

RDAP modernizes access to registration data with structured JSON responses, HTTPS transport, standard query paths, and support for access controls. ICANN requires RDAP for gTLD registries and registrars, while WHOIS availability varies by provider and resource type. Use RDAP as the starting point for new integrations, discover the appropriate service through IANA's bootstrap registries, and account for extensions, redaction, and differences in available fields.

Don't wait for a breach to act

Get a free security assessment. Our experts will identify your vulnerabilities and create a protection plan tailored to your business.