rdp is a lightweight command-line tool for performing modern WHOIS lookups using the RDAP protocol.
It provides clean and structured output including registrar details, registration dates, domain status, and nameservers.
- Fetches official RDAP registry data (the modern replacement for WHOIS)
- Displays:
- Domain Status
- Registrar Name + Abuse Contact
- Registration / Expiration / Last Update Dates
- Nameservers
- Supports:
- Raw JSON (
--raw) - Pretty JSON (
--json)
- Raw JSON (
- No external dependencies (pure Python standard library)
- Works on macOS + Linux
nano rdpchmod +x rdpsudo mv rdp /usr/local/bin/rdpsudo mv rdp /opt/homebrew/bin/rdpsudo mv rdp /usr/bin/rdprdp example.comrdp example.com --jsonrdp example.com --rawDomain: example.com
Status: client transfer prohibited
Registrar: Register name, Inc.
Abuse Email: abuse@example.com
Registration Lifecycle:
Registered : 2025-02-11T01:30:30Z
Expires : 2026-02-11T01:30:30Z
Updated : 2025-09-20T14:55:02Z
Nameservers:
- ns1.example.com
- ns2.example.com
MIT — Free to use, modify, and distribute.