A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
-bash: whois: command not found #Debian apt-get install whois #Ubuntu apt-get install whois #Alpine apk add whois #Arch Linux pacman -S whois #Kali Linux apt-get install whois #CentOS yum install whois #Fedora dnf install whois #OS X brew install whois #Raspbian apt-get install whois #OpenSUSE zypper in whois #Docker docker run cmd.cat/whois whois
whois 命令会去查找并显示指定帐号的用户相关信息,因为它是到 Network Solutions 的 WHOIS 数据库去查找,所以该帐号名称必须在上面注册方能寻获,且名称没有大小写的差别。
whois 在 WHOIS 数据库中搜索对象。 WHOIS 是一种查询和响应协议,广泛用于查询存储 Internet 资源(例如域名或 IP 地址块)的注册用户的数据库,但也可用于更广泛的其他信息。
whois [ -h HOST ] [ -p PORT ] [ -aCFHlLMmrRSVx ] [ -g SOURCE:FIRST-LAST ] [ -i ATTR ] [ -S SOURCE ] [ -T TYPE ] object whois -t TYPE whois -v TYPE whois -q keyword
-h HOST 连接到 WHOIS 数据库主机 HOST。 -H 禁止显示法律免责声明。 -p PORT 连接时,连接到网络端口PORT。 --verbose 详细操作。 --help 显示帮助消息,然后退出。
whois 配置文件默认位于 /etc/whois.conf
用 whois 命令查询域名信息
$ whois hexun.com Domain Name: HEXUN.COM Registry Domain ID: 102556895_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.35.com Registrar URL: http://www.35.com Updated Date: 2017-04-25T11:25:29Z Creation Date: 2003-08-24T18:34:48Z Registry Expiry Date: 2025-08-24T18:34:48Z Registrar: Xiamen 35.Com Technology Co., Ltd. Registrar IANA ID: 1316 Registrar Abuse Contact Email: abuse@35.cn Registrar Abuse Contact Phone: +86.5925391800 Domain Status: ok https://icann.org/epp#ok Name Server: NS.HEXUN.COM Name Server: NS2.HEXUN.COM Name Server: NS3.HEXUN.COM Name Server: NS4.HEXUN.COM DNSSEC: unsigned URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ >>> Last update of whois database: 2020-02-11T09:09:21Z <<< For more information on Whois status codes, please visit https://icann.org/epp NOTICE: The expiration date displayed in this record is the date the registrar's sponsorship of the domain name registration in the registry is currently set to expire. This date does not necessarily reflect the expiration date of the domain name registrant's agreement with the sponsoring registrar. Users may consult the sponsoring registrar's Whois database to view the registrar's reported date of expiration for this registration. TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' ("VeriSign") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time. The Registry database contains ONLY .COM, .NET, .EDU domains and Registrars.
加上 -H 选项,忽略法律条文
$ whois -H hexun.com Domain Name: HEXUN.COM Registry Domain ID: 102556895_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.35.com Registrar URL: http://www.35.com Updated Date: 2017-04-25T11:25:29Z Creation Date: 2003-08-24T18:34:48Z Registry Expiry Date: 2025-08-24T18:34:48Z Registrar: Xiamen 35.Com Technology Co., Ltd. Registrar IANA ID: 1316 Registrar Abuse Contact Email: abuse@35.cn Registrar Abuse Contact Phone: +86.5925391800 Domain Status: ok https://icann.org/epp#ok Name Server: NS.HEXUN.COM Name Server: NS2.HEXUN.COM Name Server: NS3.HEXUN.COM Name Server: NS4.HEXUN.COM DNSSEC: unsigned URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ >>> Last update of whois database: 2020-02-11T09:09:52Z <<< For more information on Whois status codes, please visit https://icann.org/epp NOTICE: The expiration date displayed in this record is the date the registrar's sponsorship of the domain name registration in the registry is currently set to expire. This date does not necessarily reflect the expiration date of the domain name registrant's agreement with the sponsoring registrar. Users may consult the sponsoring registrar's Whois database to view the registrar's reported date of expiration for this registration. The Registry database contains ONLY .COM, .NET, .EDU domains and Registrars.