以 CSDN.net 的 whois 查询为例.1 在 list 里,得到 net 的whois 顶极 whois server 是 whois.crsnic.net2 telnet whois.crsnic.net 43 csdn.net\r\n 得到服务器返回信息 ...Whois Server: whois.networksolutions.com...3 telnet whois.networksolutions.com 43 csdn.net\r\n 得到 csdn.net 的whois 信息 Registrant: Be ijing midami technic ltd. No.3 North Building,LI Kang Hotel, Beijng, NO STAT E 100101 CN Domain Name: CSDN.NET ---------------------------------------- -------------------------------- Promote your business to millions of viewers for only $1 a month Learn how you can get an Enhanced Business Listing here fo r your domain name. Learn more at http://www.NetworkSolutions.com/ --------- --------------------------------------------------------------- Administrative Contact, Technical Contact: Tao, Jiang [email protected] C SDN Holdings. Co. LTD. B3 2-1,Zhaowei Industry Park No14,jiuxianqiao R oad,Chaoyang dist. Beijing 100016 CN +86 10 64351432 fax: +86 10 64348545 Record expires on 11-Mar-2011. Record created on 11-Mar-1999. Dat abase last updated on 15-May-2009 18:43:38 EDT. Domain servers in listed order : DNS2.100OK.COM 211.152.17.58 DNS5.100OK.COM 21 1.157.101.174
换个服务器地址。
以 CSDN.net 的 whois 查询为例.1 在 list 里,得到 net 的whois 顶极 whois server 是 whois.crsnic.net2 telnet whois.crsnic.net 43
csdn.net\r\n 得到服务器返回信息
...Whois Server: whois.networksolutions.com...3 telnet whois.networksolutions.com 43
csdn.net\r\n 得到 csdn.net 的whois 信息
Registrant:
Be
ijing midami technic ltd.
No.3 North Building,LI Kang Hotel,
Beijng, NO STAT
E 100101
CN Domain Name: CSDN.NET ----------------------------------------
--------------------------------
Promote your business to millions of viewers
for only $1 a month
Learn how you can get an Enhanced Business Listing here fo
r your domain name.
Learn more at http://www.NetworkSolutions.com/
---------
--------------------------------------------------------------- Administrative
Contact, Technical Contact:
Tao, Jiang [email protected]
C
SDN Holdings. Co. LTD.
B3 2-1,Zhaowei Industry Park
No14,jiuxianqiao R
oad,Chaoyang dist.
Beijing 100016
CN
+86 10 64351432 fax: +86 10
64348545
Record expires on 11-Mar-2011.
Record created on 11-Mar-1999.
Dat
abase last updated on 15-May-2009 18:43:38 EDT. Domain servers in listed order
: DNS2.100OK.COM 211.152.17.58
DNS5.100OK.COM 21
1.157.101.174
whois 协议(Client)还是蛮简单的.
就是连接 whois server 43 端口, 发送 查询域名+"\r\n" 就OK了.返回的信息,再正则处理一下即可.