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

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 standardized field names, full internationalization, secure server discovery, and support for tiered access to redacted data. Developed under ICANN's direction and defined by RFC 9082 (query format) and RFC 9083 (JSON responses), RDAP became the official successor to WHOIS when ICANN sunset the WHOIS protocol requirement for generic top-level domains on January 28, 2025.

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 onlyFully standardized: RFC 9082 (queries), RFC 9083 (JSON)
InternationalizationPoor; largely ASCII-orientedNative i18n and IDN/Unicode support
Access controlAll-or-nothing public access, no authTiered/authenticated access; field-level 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

WHOIS connections are unencrypted and unauthenticated. Anyone can connect to a WHOIS server and pull all data without authentication. 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 requires custom logic for each registrar because formats differ significantly. RDAP provides consistent JSON that can be processed programmatically.

WHOIS Response (unstructured):
Domain Name: EXAMPLE.COM
Registry Domain ID: 2138514_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.verisign-grs.com
Updated Date: 2024-01-15T12:00:00Z
Creation Date: 1995-03-17T05:00:00Z

RDAP Response (structured JSON):
{
  "objectClassName": "domain",
  "handle": "example.com",
  "ldhName": "example.com",
  "links": [...],
  "events": [
    {
      "eventAction": "registration",
      "eventDate": "1995-03-17T05:00:00Z"
    },
    {
      "eventAction": "last update of RDAP database",
      "eventDate": "2024-01-15T12: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.icann.org/domain/example.com
https://rdap.arin.net/rest/ip/192.0.2.0

Data Consistency:

  • WHOIS: Highly inconsistent formatting across registries and registrars
  • RDAP: Standardized field names and structure across all registries

Privacy and Access Control:

  • WHOIS: Limited privacy features, full public access to all data
  • RDAP: Supports privacy protections through redaction and access control

RDAP allows registries and registrars to implement privacy controls at a technical level, rather than relying on registrant-side privacy services like WHOIS privacy does.

Internationalization (i18n):

  • WHOIS: Limited support for non-ASCII characters
  • RDAP: Full internationalization support with proper handling of non-Latin scripts

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
Advertisement

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 each TLD and IP block to the RDAP base URL of the responsible registry.

Query: What RDAP server has data for example.com?
Response: https://rdap.verisign.com/

Query: What RDAP server has data for 192.0.2.0?
Response: https://rdap.arin.net/

Domain Queries:

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

Returns:

{
  "rdapConformance": ["rdap_level_0"],
  "objectClassName": "domain",
  "handle": "example.com",
  "ldhName": "example.com",
  "punycodeName": "example.com",
  "links": [
    {
      "value": "https://rdap.verisign.com/com/v1/domain/example.com",
      "rel": "self",
      "href": "https://rdap.verisign.com/com/v1/domain/example.com",
      "type": "application/rdap+json"
    }
  ],
  "events": [
    {
      "eventAction": "registration",
      "eventDate": "1995-03-17T05:00:00Z"
    }
  ],
  "status": ["active"],
  "entities": [
    {
      "objectClassName": "entity",
      "handle": "vrsn-57936",
      "roles": ["registrar"]
    }
  ]
}

IP Address Queries:

https://rdap.arin.net/rest/ip/192.0.2.0

Search Capabilities: RDAP supports structured searching (domains, registrars, entities) with specific query parameters:

https://rdap.icann.org/domain?name=example*
https://rdap.icann.org/domain?nsLdhName=ns.example.com
https://rdap.icann.org/entity?fn=John*

Current State of RDAP Adoption

Adoption Status: As of 2024, RDAP adoption is increasing but incomplete. Most major domain registries have implemented RDAP:

  • VeriSign (.com, .net): Full RDAP support
  • ARIN (North American IP addresses): Full RDAP support
  • APNIC (Asia-Pacific IP addresses): Full RDAP support
  • RIPE NCC (European IP addresses): Full RDAP support
  • Most new registries: RDAP support required

However, some registrars still provide better WHOIS support than RDAP support. This is changing, but WHOIS remains necessary for complete coverage.

Sunset of WHOIS: The transition is no longer hypothetical. On January 28, 2025, ICANN officially sunset the WHOIS protocol requirement for generic top-level domains (gTLDs). Registries and registrars are no longer contractually obligated to operate WHOIS (port 43) servers, and by late 2025 several hundred gTLDs had already disabled their WHOIS service entirely. WHOIS still lingers for some country-code TLDs (ccTLDs) and legacy IP records, but for gTLDs RDAP is now the authoritative source. Organizations that still depend on port-43 WHOIS should migrate to RDAP now.

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
  • Better search capabilities for investigating campaigns

For Developers:

  • Standardized JSON responses simplify integration
  • No need for custom parsers for different registrars
  • Consistent error handling
  • Programmatic discovery of RDAP endpoints

For Compliance:

  • RDAP supports privacy controls and data redaction
  • Audit trails for access to sensitive data
  • Authentication support for regulated data access
  • Better separation of public vs. confidential information

For Organizations:

  • More secure queries (HTTPS)
  • Less infrastructure overhead (no need to query dozens of different WHOIS servers)
  • Standardized data for better analysis
  • Future-proof (WHOIS will eventually be deprecated)

Privacy Implications of RDAP

RDAP provides better privacy protections than WHOIS:

Privacy Objects: Registrars can mark certain fields as private, redacting them from public RDAP queries:

{
  "objectClassName": "domain",
  "handle": "example.com",
  "registrant": {
    "handle": "REDACTED FOR PRIVACY",
    "objectClassName": "entity"
  },
  "adminContact": {
    "handle": "REDACTED FOR PRIVACY",
    "objectClassName": "entity"
  }
}

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 the parsed output against the raw RDAP JSON in the examples that follow.

Loading interactive tool...

Finding Domain Registrar:

WHOIS: whois example.com | grep -i registrar
RDAP:  curl https://rdap.icann.org/domain/example.com | jq '.entities[] | select(.roles[] | contains("registrar"))'

Finding Domain Creation Date:

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

Finding IP Address Block Details:

WHOIS: whois 192.0.2.0
RDAP:  curl https://rdap.arin.net/rest/ip/192.0.2.0

Challenges and Limitations of RDAP

Coverage Gaps: Not all registries and registrars have fully implemented RDAP. Some still have better WHOIS coverage.

Privacy vs Transparency Trade-off: RDAP's better privacy controls mean some data that was previously public (under WHOIS) is now redacted. This affects security researchers and domain investigators.

Adoption Lag: Many tools still use WHOIS because it's more widely available. Transitioning all tools to RDAP is a gradual process.

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 RDAP web interface
  • 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. Monitor sunset: Stay aware of ICANN's WHOIS sunset timeline

Conclusion

RDAP represents a significant modernization of how registration data is queried and accessed. With structured JSON responses, HTTPS encryption, standardized data formats, and better privacy controls, RDAP is superior to WHOIS in almost every technical dimension. While WHOIS adoption remains necessary today due to incomplete RDAP coverage, organizations should plan for RDAP adoption as it becomes more widely available. The transition from WHOIS to RDAP represents an opportunity to modernize your domain and IP address investigation processes, enabling better automation, security, and compliance with evolving data privacy requirements.

Frequently Asked Questions

What is the difference between RDAP and WHOIS?

WHOIS is a 1980s text protocol that returns free-form, human-readable text over an unencrypted port 43 connection, with formatting that varies by every registry and registrar. RDAP (Registration Data Access Protocol) is a modern REST API that returns structured JSON over HTTPS (port 443), with standardized field names, built-in internationalization, and support for tiered, authenticated access. RDAP is the official ICANN-mandated successor to WHOIS.

Which RFCs define RDAP?

RDAP is defined by a suite of IETF standards. The core query format is RFC 9082 and the JSON response format is RFC 9083 (both published in 2021, obsoleting the original RFC 7482 and RFC 7483). Server discovery ("bootstrapping") is defined by RFC 9224, which points clients to IANA bootstrap registries. Together these make RDAP a fully standardized protocol, unlike WHOIS.

Is WHOIS being deprecated?

Yes. ICANN officially sunset the WHOIS protocol for generic top-level domains (gTLDs) on January 28, 2025. Registries and registrars are no longer contractually required to run WHOIS (port 43) servers, and hundreds have already shut theirs down in favor of RDAP. WHOIS still exists for some ccTLDs and legacy IP records, but the direction of travel is clearly toward RDAP.

How do I query RDAP for a domain?

RDAP queries are simple HTTPS URLs. You can query ICANN's aggregator at https://rdap.org/domain/example.com or the authoritative registry directly, e.g. https://rdap.verisign.com/com/v1/domain/example.com. Any HTTP client works: curl https://rdap.org/domain/example.com | jq returns clean JSON you can parse programmatically without registrar-specific logic.

What is RDAP bootstrapping?

Bootstrapping is how an RDAP client discovers which server holds authoritative data for a given domain or IP. The client consults IANA's bootstrap registries (per RFC 9224), which map each TLD and IP block to its responsible RDAP base URL. This means one client can query any domain or IP without hard-coding dozens of registry endpoints, unlike WHOIS where you had to know the right server in advance.

Does RDAP support privacy redaction?

Yes. RDAP was designed with privacy in mind. Registries and registrars can redact sensitive fields (such as registrant name, email, and address) at the protocol level, returning "REDACTED FOR PRIVACY" placeholders in the JSON. RDAP also supports tiered/authenticated access, so vetted requesters can be granted more data than anonymous public queries, something WHOIS could never do cleanly.

Can I still use WHOIS in 2026?

For now, yes, but with shrinking coverage. Many ccTLD registries and some IP registries still offer WHOIS, and legacy tooling continues to rely on it. However, because ICANN dropped the WHOIS requirement for gTLDs in January 2025, an increasing number of .com, .net, and new-gTLD lookups return nothing over port 43 and must be done via RDAP. New tooling should default to RDAP and fall back to WHOIS only where necessary.

Does RDAP work for IP addresses too?

Yes. RDAP covers both domain names and IP address/ASN registration data held by the Regional Internet Registries (ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC). For example, https://rdap.arin.net/registry/ip/192.0.2.0 returns structured JSON about that IP block. This unifies domain and IP lookups under one protocol and one response format.

Why is RDAP better for automation than WHOIS?

Because RDAP returns consistent, standardized JSON, a single parser works across every registry. WHOIS forced developers to maintain brittle, per-registrar text parsers that broke whenever a registry tweaked its output. RDAP's predictable field names (events, entities, status, ldhName), standard HTTP status codes, and machine-readable rate-limit responses make it far more reliable for scripts, SIEMs, and threat-intelligence pipelines.

RDAPWHOISdomain registrationIP lookupDNSnetwork security