二十五岁时我们都一样愚蠢、多愁善感,喜欢故弄玄虚,可如果不那样的话,五十岁时也就不会如此明智。
标题:Linux shell whois 命令
Linux shell whois 命令用于查找并显示用户信息。
whois 指令会去查找并显示指定帐号的用户相关信息,因为它是到
Network Solutions
的WHOIS
数据库去查找,所以该帐号名称必须在上面注册方能寻获,且名称没有大小写的差别。whois 命令语法格式
whois [帐号名称]示例
显示指定用户信息
查找root用户信息
[root@localhost ~]# whois root No whois server is known for this kind of object.查询域名描述信息
[root@localhost ~]# whois .lx138.com Domain Name: LX138.COM Registry Domain ID: 1598783532_DOMAIN_COM-VRSN Registrar WHOIS Server: grs-whois.hichina.com Registrar URL: http://www.net.cn Updated Date: 2017-05-19T06:00:16Z Creation Date: 2010-05-24T12:04:58Z Registry Expiry Date: 2018-05-24T12:04:58Z Registrar: HiChina Zhicheng Technology Ltd. Registrar IANA ID: 420 Registrar Abuse Contact Email: DomainAbuse@service.aliyun.com Registrar Abuse Contact Phone: +86.95187 ...省略部分内容查询域名信息
[root@localhost ~]# whois lx138.com Domain Name: LX138.COM Registry Domain ID: 1598783532_DOMAIN_COM-VRSN Registrar WHOIS Server: grs-whois.hichina.com Registrar URL: http://www.net.cn Updated Date: 2017-05-19T06:00:16Z Creation Date: 2010-05-24T12:04:58Z Registry Expiry Date: 2018-05-24T12:04:58Z Registrar: HiChina Zhicheng Technology Ltd. Registrar IANA ID: 420 Registrar Abuse Contact Email: DomainAbuse@service.aliyun.com Registrar Abuse Contact Phone: +86.95187 ...省略部分内容查询域名信息省略法律声明
[root@localhost ~]# whois -H lx138.com Domain Name: LX138.COM Registry Domain ID: 1598783532_DOMAIN_COM-VRSN Registrar WHOIS Server: grs-whois.hichina.com Registrar URL: http://www.net.cn Updated Date: 2017-05-19T06:00:16Z Creation Date: 2010-05-24T12:04:58Z Registry Expiry Date: 2018-05-24T12:04:58Z Registrar: HiChina Zhicheng Technology Ltd. Registrar IANA ID: 420 Registrar Abuse Contact Email: DomainAbuse@service.aliyun.com Registrar Abuse Contact Phone: +86.95187 ...省略内容指定端口查询
[root@localhost ~]# whois -p 80 lx138.com Domain Name: LX138.COM Registry Domain ID: 1598783532_DOMAIN_COM-VRSN Registrar WHOIS Server: grs-whois.hichina.com Registrar URL: http://www.net.cn Updated Date: 2017-05-19T06:00:16Z Creation Date: 2010-05-24T12:04:58Z Registry Expiry Date: 2018-05-24T12:04:58Z Registrar: HiChina Zhicheng Technology Ltd. Registrar IANA ID: 420 Registrar Abuse Contact Email: DomainAbuse@service.aliyun.com Registrar Abuse Contact Phone: +86.95187 Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Name Server: DNS15.HICHINA.COM Name Server: DNS16.HICHINA.COM DNSSEC: unsigned ...省略内容