jwhois是linux下面内置的一个whois客户端。

jwhois在查询dot cc(.cc)域名的时候,如果dot cc域名是二级注册商,那么jwhois无法获取到这个域名的whois信息。问题的原因出在jwhois不会自动跟进whois.nic.cc返回的下级whois server。

解决的办法:
编辑jwhois.conf(自己编译的在/usr/local/etc/jwhois.conf,系统自带的在/etc/jwhois.cc),找到server-options段,在末尾加上以下内容

        "whois\\.nic\\.cc" {
                whois-redirect = ".*Whois Server: \\(.*\\)";
        }

其他域名也可以如法泡制

update:
增加.vc域名支持的办法,同样是相同的文件,增加.vc的whois服务器就可以了

        "\\.va$" = "whois.ripe.net";
        "\\.vc$" = "whois2.afilias-grs.net";
        "\\.ve$" = "whois.nic.ve";

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.