Copied to clipboard


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


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