whois
TLDR
Look up domain registration info
SYNOPSIS
whois [options] object
DESCRIPTION
whois queries databases for domain name registration information, IP address allocation, and autonomous system (AS) numbers. It provides details about domain ownership, registration dates, name servers, and contact information.
For domain names, whois contacts the appropriate registry (based on TLD) to retrieve registration data. For IP addresses, it queries regional internet registries (ARIN, RIPE, APNIC, etc.).
The data returned includes registrant information (often privacy-protected), registration and expiration dates, name servers, and registrar details.
Different registries have different data formats and levels of detail. Some domains use privacy services that mask the actual registrant information.
PARAMETERS
-h host
Query specified WHOIS server-p port
Connect to specified port-H
Hide legal disclaimers-r
Disable recursive lookups-a
Search all databases (RIPE)-T type
Search for specific object type--verbose
Verbose output
CAVEATS
Many domain registrations now use privacy protection services, showing proxy information instead of actual registrant details.
Rate limits may apply. Excessive queries can result in temporary blocks from WHOIS servers.
Data format varies significantly between registries. Parsing WHOIS output programmatically is challenging.
RDAP (Registration Data Access Protocol) is gradually replacing WHOIS with a structured, standardized format.


