Package: whois
Version: 5.0.0ubuntu3
Severity: normal
Tags: patch

Trying to `whois` a .co domain results in a redirect to a broken
website.

$ whois test.co
This TLD has no whois server, but you can access the whois database at
https://www.nic.co/

Actually visiting https://www.nic.co/ results in an SSL error due to
a self-signed certificate for 'plesk'. I eventually found out that
www.whois.co is where online lookups can be made. However, in that
process, I actually found a working whois server for .co!

According to http://www.iana.org/domains/root/db/co.html, the whois
server for .co is 'whois.nic.co'. Using `whois -h whois.nic.co test.co`
indeed works just fine. tld_serv_list just needs the entry for .co to
be updated to use the actual 'whois.nic.co' nameserver rather than link
to a broken website.

I've included a tested patch against the whois 5.0.6 source to update
tld_serv_list.

I also noticed that tld_serv_list has a broken entry for uk.co pointing
to a nonexistent 'whois.uk.co'. I took the liberty of removing it, as
well.

Hope this helps!

~reed

-- 
Reed Loden - <[email protected]>

--- whois-5.0.6/tld_serv_list	2010-07-10 19:33:43.000000000 -0500
+++ whois-5.0.6~co-tld/tld_serv_list	2010-07-26 01:29:05.000000000 -0500
@@ -101,18 +101,17 @@
 .cg	WEB http://www.nic.cg/cgi-bin/whois.pl
 .ch	whois.nic.ch
 .ci	www.nic.ci
 .ck	whois.nic.ck
 .cl	whois.nic.cl
 .cm	WEB http://netcom.cm/whois.php
 .edu.cn	whois.edu.cn
 .cn	whois.cnnic.cn
-.uk.co	whois.uk.co
-.co	WEB https://www.nic.co/
+.co	whois.nic.co
 .cr	WEB http://www.nic.cr/niccr_publico/showRegistroDominiosScreen.do
 .cu	WEB http://www.nic.cu/consult.html
 .cv	NONE		# www.dns.cv?
 .cx	whois.nic.cx
 .cy	WEB http://www.nic.cy/nslookup/online_database.php
 .cz	whois.nic.cz
 .de	whois.denic.de
 .dj	WEB http://www.nic.dj/whois.php	# BROKEN 2010-05-06

Reply via email to