Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
What is RDAP?
RDAP stands for Registration Data Access Protocol. It is a specification from the Internet Engineering Task Force (IETF) designed as a replacement for Whois data services for Domain Name Registries (DNRs) and Regional Internet Registries (RIRs). RDAP is specified in RFCs 7480, 7481, 7482, 7483, 7484, and 7485.
How does RDAP differ from Whois?
RDAP is an HTTP-based REST-style protocol. RDAP responses are specified in JSON. Whois is a text based protocol, utilizing a specialized protocol and port. Whois defines no queries or responses, and as a result the interaction with DNRs and RIRs can vary significantly.
Is RDAP a RESTful Protocol?
Purists can fight over the meaning of a RESTful protocol, but RDAP meets the industry-accepted definition for a web-based RESTful protocol. It serves JSON over HTTP / HTTPS using URLs to distinguish various resources. The only HTTP methods used by RDAP are HEAD and GET.
Are there RDAP clients available?
Yes. ARIN has written a command-line RDAP client called NicInfo (https://github.com/arinlabs/nicinfo). In addition, there are clients available from DNSBelgium (https://github.com/DNSBelgium/rdap/tree/master/client) and CNNIC (https://github.com/cnnic/rdap/tree/master/rdap-client/src/main/java/org/restfulwhois/rdap/client) and CentralNIC (https://github.com/gitpan/rdapper).
Do I need an RDAP client?
It depends but given scripting tools such as curl, wget, and jsawk and services such as bootstrap servers you may be able to script together what you need to get information out of an RDAP.
What is a bootstrap server?
A bootstrap server is a special type of RDAP server for aiding clients in the process finding an authoritative server to query (this is called bootstrapping). Query bootstrapping can be an expensive process for some clients, and a bootstrap server can alleviate that expense by pre-loading the bootstrapping information. To utilize a bootstrap server, an RDAP client simply sends RDAP queries and receives HTTP redirects to the authoritative server.
Can I operate my own bootstrap server?
Yes. The ARIN bootstrap server is open sourced and can be found here: https://github.com/arinlabs/rdap_bootstrap_server.