
The whois command does two things. Feed it a domain name and it’ll report all the DNS record details about that domain. It’s useful to add the -H command switch, so that all the copyright text some domain registrars add is chopped off:
whois -H apress.com
Feed it an IP address and it’ll report all the details about the address and the range it belongs to, if applicable:
whois 192.168.1.1
As always, you should take a look at the whois man page to learn more about it.
Sep 26, 02:06 pm
Is it possible to do a WHOIS search by registrant instead of by domain?