Copied to clipboard

whois

The whois command line is used to query the registration information of a domain name, including domain name owners and registrars.

Example

  • Query domain registration information: whois example.com
  • Display more complete information: whois -a example.com
  • Simplify output format: whois -q example.com
  • Display server information: whois -s example.com
  • Display routing information: whois -r example.com
  • Specify port number: whois -p 43 example.com
  • Use template file to replace query result: whois -t template.txt example.com