whois
Linux · Network · reference only
What it does
Queries the registration data of a domain or an IP address: holder, dates, name servers and registrar.
Syntax
whois [opciones] objeto
Options and parameters
objetoDomain or IP address being queried.
-h servidorUses that whois server instead of choosing automatically.
-p puertoUses that port on the whois server.
-HHides the legal notices from the response.
--verboseShows information about the servers queried.
Usage examples
whois example.comShows the domain's registration data.
whois -H example.comSame, but without the legal notices.
whois -h whois.iana.org comAsks IANA directly about the com top-level domain.
whois 8.8.8.8Shows who an IP address belongs to.
Notes and common mistakes
- On Debian it is installed with sudo apt install whois.
- Many registrars hide holders' personal data for privacy.