Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Sync definitions with Debian whois 5.0.7:

    * Added new IPv4 allocations.
    * Updated the .bd, .bo, .cm, .cu, .dz, .gr, .lb, .ni, .rw, .tw, and .tz TLD servers.
  • Loading branch information...
commit 3a3aa2c2eb550959ce43f8616ffe2ce9bdfb0269 1 parent 9a03e15
@weppos authored
View
4 CHANGELOG.rdoc
@@ -15,6 +15,10 @@
* .xn--xkc2al3hye2a (.இலங்கை, Sri Lanka)
* .xn--ygbi2ammx (.فلسطين, Palestinian Territory, Occupied)
+* SERVER: Sync definitions with Debian whois 5.0.7:
+ * Added new IPv4 allocations.
+ * Updated the .bd, .bo, .cm, .cu, .dz, .gr, .lb, .ni, .rw, .tw, and .tz TLD servers.
+
* REMOVED: Deprecated Whois::Answer::Parser.properties method.
View
13 data/c/ip_del_list
@@ -6,15 +6,23 @@
#
# http://www.iana.org/assignments/ipv4-address-space
#
+0.0.0.0/8 UNKNOWN
1.0.0.0/8 apnic
2.0.0.0/8 ripe
+5.0.0.0/8 UNALLOCATED
14.0.0.0/8 apnic
+23.0.0.0/8 UNALLOCATED
24.132.0.0/14 ripe
27.0.0.0/8 apnic
31.0.0.0/8 ripe
+36.0.0.0/8 UNALLOCATED
+37.0.0.0/8 UNALLOCATED
+39.0.0.0/8 UNALLOCATED
41.0.0.0/8 afrinic
-43.0.0.0/8 v6nic
+42.0.0.0/8 UNALLOCATED
+43.0.0.0/8 whois.nic.ad.jp
46.0.0.0/8 ripe
+49.0.0.0/8 apnic
51.0.0.0/8 ripe
# whois -r -K -h whois.apnic.net -i admin-c IM76-AP
59.0.0.0/11 whois.nic.or.kr
@@ -31,6 +39,7 @@
78.0.0.0/7 ripe
80.0.0.0/4 ripe # => 95.255.255.255
96.0.0.0/6 arin # => 99.255.255.255
+101.0.0.0/8 apnic
107.0.0.0/8 arin
108.0.0.0/8 arin
109.0.0.0/8 ripe
@@ -109,10 +118,12 @@
176.0.0.0/8 ripe
177.0.0.0/8 lacnic
178.0.0.0/8 ripe
+179.0.0.0/8 UNALLOCATED
180.0.0.0/8 apnic
181.0.0.0/8 lacnic
183.96.0.0/11 whois.nic.or.kr
182.0.0.0/7 apnic
+185.0.0.0/8 UNALLOCATED
186.0.0.0/7 lacnic
188.0.0.0/8 ripe # transferred from ARIN to to RIPE
189.0.0.0/8 lacnic
View
2  data/c/make_ip_del.pl
@@ -15,6 +15,8 @@
((~(0xffffffff >> $m)) & 0xffffffff) . 'UL, "';
if ($s =~ /\./) {
print $s;
+ } elsif ($s eq 'UNKNOWN') {
+ print "\\005";
} elsif ($s eq 'UNALLOCATED') {
print "\\006";
} else {
View
4 data/c/servers_charset_list
@@ -17,7 +17,7 @@ whois.eenet.ee iso-8859-1
whois.eu utf-8
whois.ficora.fi iso-8859-1
whois.nic.fr iso-8859-1
-whois.hkdnr.net.hk utf-8
+whois.hkirc.hk utf-8
whois.nic.hu iso-8859-1
whois.isnic.is iso-8859-1
whois.jprs.jp iso-2022-jp
@@ -32,7 +32,7 @@ whois.nic.nu utf-8
whois.dns.pt iso-8859-1
whois.nic-se.se utf-8
whois.nic.tr utf-8
-whois.twnic.net utf-8
+whois.twnic.net.tw utf-8
whois.net.ua koi8-u
whois.nic.org.uy utf-8
View
33 data/c/tld_serv_list
@@ -75,7 +75,7 @@
.az WEB http://www.nic.az/AzCheck.htm
.ba WEB http://www.nic.ba/stream/whois/
.bb WEB http://www.barbadosdomains.net/search_domain.php
-.bd WEB http://www.whois.com.bd/ # http://www.btcl.net.bd/faq_dotbd.php www.register.com.bd FIXME APPARENTLY NOT OFFICIAL!
+.bd WEB http://whois.btcl.net.bd/
.be whois.dns.be
.bf NONE # http://www.artel.bf/ http://www.onatel.bf/internet/domaine.htm
.bg whois.register.bg
@@ -85,7 +85,7 @@
#.bl
.bm WEB http://207.228.133.14/cgi-bin/lansaweb?procfun+BMWHO+BMWHO2+WHO
.bn NONE # www.brunet.bn
-.bo WEB http://www.nic.bo/
+.bo whois.nic.bo
.br whois.nic.br
.bs WEB http://www.nic.bs/cgi-bin/search.pl
.bt WEB http://www.nic.bt/
@@ -103,13 +103,13 @@
.ci www.nic.ci
.ck whois.nic.ck
.cl whois.nic.cl
-.cm WEB http://netcom.cm/whois.php
+.cm whois.netcom.cm
.edu.cn whois.edu.cn
.cn whois.cnnic.cn
.uk.co whois.uk.co
-.co WEB https://www.nic.co/
+.co WEB http://www.whois.co/
.cr WEB http://www.nic.cr/niccr_publico/showRegistroDominiosScreen.do
-.cu WEB http://www.nic.cu/consult.html
+.cu WEB http://www.nic.cu/
.cv NONE # www.dns.cv?
.cx whois.nic.cx
.cy WEB http://www.nic.cy/nslookup/online_database.php
@@ -119,7 +119,7 @@
.dk whois.dk-hostmaster.dk
.dm whois.nic.dm
.do WEB http://www.nic.do/whois-h.php3
-.dz WEB https://www.nic.dz/
+.dz whois.nic.dz
.ec WEB http://www.nic.ec/whois/eng/whois.asp # whois.nic.ec is restricted
.ee whois.eenet.ee
.eg NONE # http://lookup.egregistry.eg/english.aspx
@@ -147,13 +147,13 @@
.gn NONE # http://www.psg.com/dns/gn/
.gp whois.nic.gp
.gq NONE # NO NIC http://www.getesa.gq/
-.gr WEB https://grweb.ics.forth.gr/Whois?lang=en
+.gr WEB https://grweb.ics.forth.gr/whois_en.jsp
.gs whois.nic.gs
.gt WEB http://www.gt/whois.html
.gu WEB http://gadao.gov.gu/domainsearch.htm
.gw NONE # www.gwregister.com
.gy whois.registry.gy
-.hk whois.hkdnr.net.hk
+.hk whois.hkirc.hk
.hm whois.registry.hm
.hn AFILIAS # www.nic.hn
.hr WEB http://www.dns.hr/pretrazivanje.html
@@ -185,7 +185,7 @@
.ky WEB http://kynseweb.messagesecure.com/kywebadmin/ # http://www.icta.ky/
.kz whois.nic.kz
.la whois.nic.la
-.lb WEB http://www.aub.edu.lb/lbdr/search.html
+.lb WEB http://www.aub.edu.lb/lbdr/
.lc AFILIAS
.li whois.nic.li
.lk whois.nic.lk
@@ -223,7 +223,7 @@
.ne NONE # NIC? http://www.intnet.ne
.nf whois.nic.nf
.ng whois.register.net.ng
-.ni WEB http://www.nic.ni/consulta.htm
+.ni WEB http://www.nic.ni/
.nl whois.domain-registry.nl
.no whois.norid.no
.np WEB http://register.mos.com.np/userSearchInc.asp
@@ -252,7 +252,7 @@
.rs WEB http://www.nic.rs/en/whois
.edu.ru whois.informika.ru
.ru whois.ripn.net
-.rw WEB http://www.nic.rw/cgi-bin/whoisrw.pl
+.rw WEB http://www.nic.rw/cgi-bin/whois.pl
.sa whois.nic.net.sa
.sb whois.coccaregistry.net
.sc AFILIAS # www.nic.sc
@@ -288,8 +288,8 @@
.tr whois.nic.tr
.tt WEB http://www.nic.tt/cgi-bin/search.pl
.tv VERISIGN whois.nic.tv
-.tw whois.twnic.net
-.tz WEB http://whois.tznic.or.tz/
+.tw whois.twnic.net.tw
+.tz whois.tznic.or.tz
.ua whois.net.ua
.ug www.registry.co.ug # this is a whois server too
.ac.uk whois.ja.net
@@ -332,10 +332,13 @@
.xn--fiqs8s cwhois.cnnic.cn # China
.xn--fiqz9s cwhois.cnnic.cn # China
+.xn--j6w193g whois.hkirc.hk # Hong Kong
+.xn--kprw13d whois.twnic.net.tw # Taiwan
+.xn--kpry57d whois.twnic.net.tw # Taiwan
.xn--mgbaam7a8h whois.aeda.net.ae # United Arab Emirates
.xn--mgberp4a5d4ar whois.nic.net.sa # Saudi Arabia
-.xn--wgbh1c whois.dotmasr.eg # Egypt
.xn--p1ai whois.ripn.net # Russian Federation
+.xn--wgbh1c whois.dotmasr.eg # Egypt
-dom whois.networksolutions.com
-org whois.networksolutions.com
@@ -354,7 +357,7 @@
-is whois.isnic.is
-kg whois.domain.kg
-ti whois.telstra.net
--tw whois.twnic.net
+-tw whois.twnic.net.tw
-6bone whois.6bone.net
-coop whois.nic.coop
-cknic whois.nic.ck
View
13 lib/whois/definitions/ipv4.rb
@@ -1,12 +1,20 @@
+Whois::Server.define :ipv4, "0.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :ipv4, "1.0.0.0/8", "whois.apnic.net"
Whois::Server.define :ipv4, "2.0.0.0/8", "whois.ripe.net"
+Whois::Server.define :ipv4, "5.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :ipv4, "14.0.0.0/8", "whois.apnic.net"
+Whois::Server.define :ipv4, "23.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :ipv4, "24.132.0.0/14", "whois.ripe.net"
Whois::Server.define :ipv4, "27.0.0.0/8", "whois.apnic.net"
Whois::Server.define :ipv4, "31.0.0.0/8", "whois.ripe.net"
+Whois::Server.define :ipv4, "36.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
+Whois::Server.define :ipv4, "37.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
+Whois::Server.define :ipv4, "39.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :ipv4, "41.0.0.0/8", "whois.afrinic.net"
-Whois::Server.define :ipv4, "43.0.0.0/8", "whois.v6nic.net"
+Whois::Server.define :ipv4, "42.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
+Whois::Server.define :ipv4, "43.0.0.0/8", "whois.nic.ad.jp"
Whois::Server.define :ipv4, "46.0.0.0/8", "whois.ripe.net"
+Whois::Server.define :ipv4, "49.0.0.0/8", "whois.apnic.net"
Whois::Server.define :ipv4, "51.0.0.0/8", "whois.ripe.net"
Whois::Server.define :ipv4, "59.0.0.0/11", "whois.nic.or.kr"
Whois::Server.define :ipv4, "58.0.0.0/7", "whois.apnic.net"
@@ -22,6 +30,7 @@
Whois::Server.define :ipv4, "78.0.0.0/7", "whois.ripe.net"
Whois::Server.define :ipv4, "80.0.0.0/4", "whois.ripe.net"
Whois::Server.define :ipv4, "96.0.0.0/6", "whois.arin.net"
+Whois::Server.define :ipv4, "101.0.0.0/8", "whois.apnic.net"
Whois::Server.define :ipv4, "107.0.0.0/8", "whois.arin.net"
Whois::Server.define :ipv4, "108.0.0.0/8", "whois.arin.net"
Whois::Server.define :ipv4, "109.0.0.0/8", "whois.ripe.net"
@@ -97,10 +106,12 @@
Whois::Server.define :ipv4, "176.0.0.0/8", "whois.ripe.net"
Whois::Server.define :ipv4, "177.0.0.0/8", "whois.lacnic.net"
Whois::Server.define :ipv4, "178.0.0.0/8", "whois.ripe.net"
+Whois::Server.define :ipv4, "179.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :ipv4, "180.0.0.0/8", "whois.apnic.net"
Whois::Server.define :ipv4, "181.0.0.0/8", "whois.lacnic.net"
Whois::Server.define :ipv4, "183.96.0.0/11", "whois.nic.or.kr"
Whois::Server.define :ipv4, "182.0.0.0/7", "whois.apnic.net"
+Whois::Server.define :ipv4, "185.0.0.0/8", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :ipv4, "186.0.0.0/7", "whois.lacnic.net"
Whois::Server.define :ipv4, "188.0.0.0/8", "whois.ripe.net"
Whois::Server.define :ipv4, "189.0.0.0/8", "whois.lacnic.net"
View
20 lib/whois/definitions/tlds.rb
@@ -65,7 +65,7 @@
Whois::Server.define :tld, ".az", nil, {:web=>"http://www.nic.az/AzCheck.htm", :adapter=>Whois::Server::Adapters::Web}
Whois::Server.define :tld, ".ba", nil, {:web=>"http://www.nic.ba/stream/whois/", :adapter=>Whois::Server::Adapters::Web}
Whois::Server.define :tld, ".bb", nil, {:web=>"http://www.barbadosdomains.net/search_domain.php", :adapter=>Whois::Server::Adapters::Web}
-Whois::Server.define :tld, ".bd", nil, {:web=>"http://www.whois.com.bd/", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".bd", nil, {:adapter=>Whois::Server::Adapters::Web, :web=>"http://whois.btcl.net.bd/"}
Whois::Server.define :tld, ".be", "whois.dns.be"
Whois::Server.define :tld, ".bf", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :tld, ".bg", "whois.register.bg"
@@ -74,7 +74,7 @@
Whois::Server.define :tld, ".bj", "whois.nic.bj"
Whois::Server.define :tld, ".bm", nil, {:web=>"http://207.228.133.14/cgi-bin/lansaweb?procfun+BMWHO+BMWHO2+WHO", :adapter=>Whois::Server::Adapters::Web}
Whois::Server.define :tld, ".bn", nil, {:adapter=>Whois::Server::Adapters::None}
-Whois::Server.define :tld, ".bo", nil, {:web=>"http://www.nic.bo/", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".bo", "whois.nic.bo"
Whois::Server.define :tld, ".br", "whois.registro.br"
Whois::Server.define :tld, ".bs", nil, {:web=>"http://www.nic.bs/cgi-bin/search.pl", :adapter=>Whois::Server::Adapters::Web}
Whois::Server.define :tld, ".bt", nil, {:web=>"http://www.nic.bt/", :adapter=>Whois::Server::Adapters::Web}
@@ -92,13 +92,13 @@
Whois::Server.define :tld, ".ci", "www.nic.ci"
Whois::Server.define :tld, ".ck", "whois.nic.ck"
Whois::Server.define :tld, ".cl", "whois.nic.cl"
-Whois::Server.define :tld, ".cm", nil, {:web=>"http://netcom.cm/whois.php", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".cm", "whois.netcom.cm"
Whois::Server.define :tld, ".edu.cn", "whois.edu.cn"
Whois::Server.define :tld, ".cn", "whois.cnnic.cn"
Whois::Server.define :tld, ".uk.co", "whois.uk.co"
Whois::Server.define :tld, ".co", "whois.nic.co"
Whois::Server.define :tld, ".cr", nil, {:web=>"http://www.nic.cr/niccr_publico/showRegistroDominiosScreen.do", :adapter=>Whois::Server::Adapters::Web}
-Whois::Server.define :tld, ".cu", nil, {:web=>"http://www.nic.cu/consult.html", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".cu", nil, {:adapter=>Whois::Server::Adapters::Web, :web=>"http://www.nic.cu/"}
Whois::Server.define :tld, ".cv", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :tld, ".cx", "whois.nic.cx"
Whois::Server.define :tld, ".cy", nil, {:web=>"http://www.nic.cy/nslookup/online_database.php", :adapter=>Whois::Server::Adapters::Web}
@@ -108,7 +108,7 @@
Whois::Server.define :tld, ".dk", "whois.dk-hostmaster.dk", {:adapter=>Whois::Server::Adapters::Formatted, :format => "--show-handles %s"}
Whois::Server.define :tld, ".dm", "whois.nic.dm"
Whois::Server.define :tld, ".do", nil, {:web=>"http://www.nic.do/whois-h.php3", :adapter=>Whois::Server::Adapters::Web}
-Whois::Server.define :tld, ".dz", nil, {:web=>"https://www.nic.dz/", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".dz", "whois.nic.dz"
Whois::Server.define :tld, ".ec", "whois.nic.ec"
Whois::Server.define :tld, ".ee", "whois.eenet.ee"
Whois::Server.define :tld, ".eg", nil, {:web=>"http://lookup.egregistry.eg/english.aspx", :adapter=>Whois::Server::Adapters::Web}
@@ -135,7 +135,7 @@
Whois::Server.define :tld, ".gn", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :tld, ".gp", "whois.nic.gp"
Whois::Server.define :tld, ".gq", nil, {:adapter=>Whois::Server::Adapters::None}
-Whois::Server.define :tld, ".gr", nil, {:web=>"https://grweb.ics.forth.gr/Whois?lang=en", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".gr", nil, {:adapter=>Whois::Server::Adapters::Web, :web=>"https://grweb.ics.forth.gr/whois_en.jsp"}
Whois::Server.define :tld, ".gs", "whois.nic.gs"
Whois::Server.define :tld, ".gt", nil, {:adapter=>Whois::Server::Adapters::Web, :web=>"http://www.gt/whois.html"}
Whois::Server.define :tld, ".gu", nil, {:adapter=>Whois::Server::Adapters::Web, :web=>"http://gadao.gov.gu/domainsearch.htm"}
@@ -173,7 +173,7 @@
Whois::Server.define :tld, ".ky", nil, {:web=>"http://kynseweb.messagesecure.com/kywebadmin/", :adapter=>Whois::Server::Adapters::Web}
Whois::Server.define :tld, ".kz", "whois.nic.kz"
Whois::Server.define :tld, ".la", "whois.nic.la"
-Whois::Server.define :tld, ".lb", nil, {:web=>"http://www.aub.edu.lb/lbdr/search.html", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".lb", nil, {:adapter=>Whois::Server::Adapters::Web, :web=>"http://www.aub.edu.lb/lbdr/"}
Whois::Server.define :tld, ".lc", "whois.afilias-grs.info", {:adapter=>Whois::Server::Adapters::Afilias}
Whois::Server.define :tld, ".li", "whois.nic.li"
Whois::Server.define :tld, ".lk", "whois.nic.lk"
@@ -210,7 +210,7 @@
Whois::Server.define :tld, ".ne", nil, {:adapter=>Whois::Server::Adapters::None}
Whois::Server.define :tld, ".nf", "whois.nic.nf"
Whois::Server.define :tld, ".ng", "whois.register.net.ng"
-Whois::Server.define :tld, ".ni", nil, {:web=>"http://www.nic.ni/consulta.htm", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".ni", nil, {:adapter=>Whois::Server::Adapters::Web, :web=>"http://www.nic.ni/"}
Whois::Server.define :tld, ".nl", "whois.domain-registry.nl"
Whois::Server.define :tld, ".no", "whois.norid.no"
Whois::Server.define :tld, ".np", nil, {:web=>"http://register.mos.com.np/userSearchInc.asp", :adapter=>Whois::Server::Adapters::Web}
@@ -239,7 +239,7 @@
Whois::Server.define :tld, ".rs", nil, {:web=>"http://www.nic.rs/en/whois", :adapter=>Whois::Server::Adapters::Web}
Whois::Server.define :tld, ".edu.ru", "whois.informika.ru"
Whois::Server.define :tld, ".ru", "whois.ripn.net"
-Whois::Server.define :tld, ".rw", nil, {:web=>"http://www.nic.rw/cgi-bin/whoisrw.pl", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".rw", nil, {:adapter=>Whois::Server::Adapters::Web, :web=>"http://www.nic.rw/cgi-bin/whois.pl"}
Whois::Server.define :tld, ".sa", "saudinic.net.sa"
Whois::Server.define :tld, ".sb", "whois.coccaregistry.net"
Whois::Server.define :tld, ".sc", "whois.afilias-grs.info", {:adapter=>Whois::Server::Adapters::Afilias}
@@ -276,7 +276,7 @@
Whois::Server.define :tld, ".tt", nil, {:web=>"http://www.nic.tt/cgi-bin/search.pl", :adapter=>Whois::Server::Adapters::Web}
Whois::Server.define :tld, ".tv", "whois.nic.tv", {:adapter=>Whois::Server::Adapters::Verisign}
Whois::Server.define :tld, ".tw", "whois.twnic.net"
-Whois::Server.define :tld, ".tz", nil, {:web=>"http://whois.tznic.or.tz/", :adapter=>Whois::Server::Adapters::Web}
+Whois::Server.define :tld, ".tz", "whois.tznic.or.tz"
Whois::Server.define :tld, ".in.ua", "whois.in.ua"
Whois::Server.define :tld, ".ua", "whois.net.ua"
Whois::Server.define :tld, ".ug", "www.registry.co.ug"
View
1  tasks/server.rake
@@ -69,6 +69,7 @@ Whois::Server.define :tld, #{extension.inspect}, \
server, options = case server
when /\./ then [server]
when "UNALLOCATED" then [nil, { :adapter => Whois::Server::Adapters::None }]
+ when "UNKNOWN" then [nil, { :adapter => Whois::Server::Adapters::None }]
else ["whois.#{server}.net"]
end
Please sign in to comment.
Something went wrong with that request. Please try again.