你的位置:首页 > Java教程

[Java教程]Linux Whois命令安装与使用


大家都知道查看域名的详细信息,
都是跑去whois服务器去查询,
如 http://whois.chinaz.com

其实在Linux下直接有一个whois的命令,
不过需要安装jwhois才可以,以CentOS为例:

安装:

[root@centos ~]# yum install jwhois -y

使用:

root@centos ~]# whois le23.com[Querying whois.verisign-grs.com][Redirected to whois.dns.com.cn][Querying whois.dns.com.cn][whois.dns.com.cn] Domain Name.......... le23.com Creation Date........ 2010-05-14 01:37:32 Registration Date.... 2010-05-14 01:37:32 Expiry Date.......... 2012-05-14 01:37:32 Organisation Name.... Chen Jinle Organisation Address. Baoan District Longhua Mingzhi Street Organisation Address. Organisation Address. Shenzhen Organisation Address. 518000 Organisation Address. GD Organisation Address. CN Admin Name........... Chen Jinle Admin Address........ Baoan District Longhua Mingzhi Street Admin Address........ Admin Address........ Shenzhen Admin Address........ 518000 Admin Address........ GD Admin Address........ CN Admin Email.......... cjinle@gmail.com Admin Phone.......... +86.75529677336 Admin Fax............ +86.75529677336 Tech Name............ wang xuehai Tech Address......... shanghai Tech Address......... Tech Address......... Shanghai Tech Address......... 123456 Tech Address......... SH Tech Address......... CN Tech Email........... isoidc@126.com Tech Phone........... +86.13681791671 Tech Fax............. +86.13681791671 Bill Name............ wang xuehai Bill Address......... shanghai Bill Address......... Bill Address......... Shanghai    Bill Address......... 123456   Bill Address......... SH    Bill Address......... CN   Bill Email........... isoidc@126.com Bill Phone........... +86.13681791671 Bill Fax............. +86.13681791671 Name Server.......... ns14.dns.com.cn Name Server.......... ns13.dns.com.cn