LinuxCommandLibrary

rdap

TLDR

Query domain

$ rdap [example.com]
copy
Query IP address
$ rdap [192.0.2.1]
copy
Query ASN
$ rdap [AS15169]
copy
JSON output
$ rdap -j [example.com]
copy
Verbose output
$ rdap -v [example.com]
copy

SYNOPSIS

rdap [options] query

DESCRIPTION

rdap queries Registration Data Access Protocol servers for domain, IP, and ASN registration information. RDAP is the modern replacement for WHOIS with structured data and authentication support.

PARAMETERS

-j, --json

JSON output.
-v, --verbose
Verbose mode.
-s server
Use specific RDAP server.
-t type
Query type (domain, ip, autnum).
--raw
Raw response.

EXAMPLES

$ # Domain lookup
rdap example.com

# IP address lookup
rdap 8.8.8.8

# ASN lookup
rdap AS15169

# JSON output
rdap -j google.com

# Specific server
rdap -s https://rdap.verisign.com/com/v1 example.com

# IPv6 address
rdap 2001:4860:4860::8888
copy

QUERY TYPES

$ domain   - Domain registration
ip       - IP address/network
autnum   - Autonomous System Number
entity   - Registrant entity
nameserver - Name server
copy

CAVEATS

Not all TLDs support RDAP. Some data may require authentication. Successor to WHOIS.

HISTORY

RDAP was developed by the IETF starting in 2012 as a structured, secure replacement for the WHOIS protocol.

SEE ALSO

whois(1), dig(1), host(1)

Copied to clipboard