Introduction
RDAP CLI is a fast, modern command-line tool for querying RDAP (Registration Data Access Protocol) servers. Built for developers, sysadmins, and security researchers.
🌐 Domain Queries
Retrieve registration information including nameservers, status, and registrar details.
📡 IP Lookups
Query IP address allocation from regional internet registries.
🔢 ASN Information
Look up Autonomous System Number registration and routing info.
🚀 Auto-Discovery
Automatically discovers appropriate RDAP servers using bootstrap.
Installation
RDAP CLI is distributed as self-contained executables with no runtime dependencies. Download the latest release for your platform:
Download the binary
Download rdap-win-x64.zip from the latest release.
Extract and install
Expand-Archive rdap-win-x64.zip -DestinationPath C:\Tools\rdap
$env:Path += ";C:\Tools\rdap"Verify installation
rdap --versionDownload the binary
Download rdap-linux-x64.tar.gz from the latest release.
Extract and install
sudo tar -xzf rdap-linux-x64.tar.gz -C /usr/local/bin/
sudo chmod +x /usr/local/bin/rdapVerify installation
rdap --versionDownload the binary
Download rdap-osx-x64.tar.gz (Intel) or rdap-osx-arm64.tar.gz (Apple Silicon) from the latest release.
Extract and install
sudo tar -xzf rdap-osx-*.tar.gz -C /usr/local/bin/
sudo chmod +x /usr/local/bin/rdap
sudo xattr -d com.apple.quarantine /usr/local/bin/rdapVerify installation
rdap --versionAll binaries are self-contained with Native AOT compilation. No .NET runtime installation needed.
Quick Start
Once installed, you can immediately start querying RDAP servers:
Domain Lookup
Query domain registration information:
rdap domain example.comReturns information including:
- Domain status and registration dates
- Nameserver configuration
- Registrar details
- DNSSEC status
IP Address Lookup
Query IP address allocation:
rdap ip 8.8.8.8Returns information including:
- IP range and CIDR notation
- Network name and type
- Organization details
- Geographic location
ASN Lookup
Query Autonomous System Number information:
rdap asn 15169Returns information including:
- AS name and description
- Registration details
- Organization information
Advanced Usage
JSON Output
Get raw JSON output for scripting:
rdap domain example.com --jsonCustom Server
Query a specific RDAP server directly:
rdap domain example.com --server https://rdap.verisign.com/com/v1/Verbose Output
Enable detailed logging:
rdap domain example.com --verboseLicense
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format
Under the following terms:
- Attribution — You must give appropriate credit
- NonCommercial — You may not use the material for commercial purposes
- NoDerivatives — If you remix, transform, or build upon the material, you may not distribute the modified material