In operation and maintenance work, sometimes need to query some domain name registration information (domain name NS, registered users, registered mailbox, etc.), you can use the WHOIS command.
The WHOIS command is used to find and display user-related information for a specified account (or domain name), because it is located in the WHOIS database of network solutions, so the account name must be found on the above registry, and the name is not case-sensitive.
That is, the WHOIS command lists information about the domain name owner of the given domain name.
If there is no WHOIS installed in the system, you can install it with the following command
[email protected] ~]# Yum search whois
[[email protected] ~]# yum install-y jwhois //CENTOS6 version System
[[email protected] ~]# yum install-y whois //centos7 version System
The two most commonly used commands for WHOIS queries:
1) note in the Linux command terminal to query a domain name registration information, the front of the WWW to remove.
such as query www.huanqiu.com domain name, www.fangfull.com
[email protected] ~]# whois huanqiu.com
[email protected] ~]# whois fangfull.com
2) Query IP registration information
[email protected] ~]# whois 103.110.186.115
can also go to some of the implementation of the WHOIS command function of the network management site domain name query system to query:
Http://whois.hichina.com
Https://whois.aliyun.com
Http://whois.chinaz.com
Http://who.is
http://ewhois.cnnic.cn
Http://www.whois-search.com
Http://www.whois.com
Http://whois.domaintools.com
Operational records for querying domain names or IP registration information under Linux (WHOIS)