Linux shell whois 命令

返回上一级

Linux shell whois 命令用于查找并显示用户信息。

whois 指令会去查找并显示指定帐号的用户相关信息,因为它是到 Network SolutionsWHOIS 数据库去查找,所以该帐号名称必须在上面注册方能寻获,且名称没有大小写的差别。

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

...省略内容

返回上一级

Linux Shell 命令大全

关于   |   FAQ   |   我们的愿景   |   广告投放   |  博客

  简单教程,简单编程 - IT 入门首选站

Copyright © 2013-2022 简单教程 twle.cn All Rights Reserved.