什么是 RDAP 协议?可以替代 whois 吗?
RDAP(Registration Data Access Protocol,注册数据访问协议)是一种现代化、基于 HTTP 的协议,用于查询域名、IP 地址、AS 号码等注册信息。它是 WHOIS 协议的继任者,由 IETF 在 RFC 7480–7484 系列文档中标准化。下面是详细解释:
🧩 一、RDAP 是什么?
RDAP 的设计目标是替代传统的 WHOIS,解决后者的几个主要问题:
| 问题 | WHOIS | RDAP |
|---|---|---|
| 协议标准化 | 无标准(不同注册局实现不一致) | 基于 IETF RFC(统一标准) |
| 传输协议 | 基于 TCP(端口 43) | 基于 HTTPS(RESTful API) |
| 数据格式 | 纯文本,难以解析 | JSON,可机器解析 |
| 国际化支持 | 不支持 UTF-8 | 完全支持 UTF-8 与国际化域名 |
| 安全性 | 无加密 | 通过 HTTPS 加密 |
| 权限与认证 | 不支持 | 支持 OAuth 2.0、分级访问控制 |
| 重定向机制 | 无 | 支持自动发现和重定向(Bootstrap) |
🌐 二、RDAP 的工作原理
RDAP 使用 REST API 风格的请求,例如:
https://rdap.apnic.net/ip/1.1.1.1
https://rdap.verisign.com/com/v1/domain/example.com
https://rdap.arin.net/registry/autnum/13335
https://rdap.verisign.com/com/v1/domain/example.com
https://rdap.arin.net/registry/autnum/13335
返回结果是结构化的 JSON,示例:
{
“objectClassName”: “domain”,
“handle”: “EXAMPLE.COM”,
“ldhName”: “example.com”,
“status”: [“active”],
“entities”: [
{
“role”: [“registrant”],
“vcardArray”: [“vcard”, [[“fn”, {}, “text”, “Example, Inc.”]]]
}
]
}
“objectClassName”: “domain”,
“handle”: “EXAMPLE.COM”,
“ldhName”: “example.com”,
“status”: [“active”],
“entities”: [
{
“role”: [“registrant”],
“vcardArray”: [“vcard”, [[“fn”, {}, “text”, “Example, Inc.”]]]
}
]
}
🔒 三、RDAP 的优势
- ✅ 可自动解析与集成:机器可读 JSON 数据,非常适合 API 和自动化系统。
- ✅ 更好的安全性:使用 HTTPS,避免中间人攻击。
- ✅ 访问控制:可对不同用户提供不同级别的信息(例如公众 vs 注册商)。
- ✅ 国际化支持:支持非 ASCII 字符(中文域名、联系人等)。
- ✅ 可扩展性:可附加自定义扩展字段(如 GDPR 隐私标识)。
🔁 四、RDAP 能否替代 WHOIS?
是的,RDAP 设计就是 WHOIS 的正式替代方案。
ICANN 已要求所有 gTLD 注册局和注册商 必须提供 RDAP 服务(自 2019 年起)。
RIPE NCC、APNIC、ARIN、LACNIC、AFRINIC 等区域互联网注册机构也全面支持 RDAP。
不过:
- WHOIS 仍然广泛使用,因为很多工具(如
whois命令行)和旧系统尚未完全迁移; - 目前 RDAP 和 WHOIS 会长期共存,但未来趋势是 全面转向 RDAP。
📘 五、实用查询入口
- 域名(gTLD):https://rdap.verisign.com/com/v1/domain/example.com
- IP 地址(APNIC):https://rdap.apnic.net/ip/8.8.8.8
- ASN(RIPE):https://rdap.db.ripe.net/autnum/AS3333
数据统计
相关导航

Cloudflare
Make employees, applications and networks faster and more secure everywhere, while reducing complexity and cost.

阿里云whois查询
whois查询是阿里云企航(原万网)名下的域名查询服务,在此您可以免费查询域名whois信息,包括域名注册情况、域名当前所有者联系方式以及域名状态等信息。
NameBright Whois
Great pricing, advanced domain management tools. Get your domain today! NameBright - Whois Lookup

Domain Name Stat
When you mention domain statistics, people tend to get tense. The complex computation and analysis involved often intimidate and scare them away. Domain Name Stat is changing that with powerful yet user-friendly stats for multiple purposes.
Google Trends
Google Trends
百度指数
百度指数
DNS Zone Stats
netmeister.org






