diff options
Diffstat (limited to 'data.h')
-rw-r--r-- | data.h | 135 |
1 files changed, 97 insertions, 38 deletions
@@ -9,17 +9,13 @@ const char *ripe_servers[] = { "whois.ripe.net", "whois.apnic.net", - "whois.oleane.net", "whois.denic.de", "rr.arin.net", /* does not accept the old syntax */ "whois.6bone.net", /* 3.0.0b1 */ - "whois.aunic.net", "whois.connect.com.au", /* 3.0.0b1 */ "whois.nic.fr", "whois.nic.it", - "whois.cw.net", "whois.telstra.net", - "whois.nic.net.sg", "whois.metu.edu.tr", "whois.restena.lu", "rr.level3.net", /* 3.0.0a13 */ @@ -28,14 +24,7 @@ const char *ripe_servers[] = { "www.registry.co.ug", "whois.nic.ir", "whois.nic.ck", - NULL -}; - -/* servers which do not accept the new syntax */ -const char *ripe_servers_old[] = { "whois.ra.net", - "whois.domain.kg", - "whois.nic.ch", NULL }; @@ -51,7 +40,6 @@ const char *hide_strings[] = { "This whois service currently only", "top-level domains.", "Signature Domains' Whois Service", "agree to abide by the above", "Access to ASNIC", "by this policy.", /* as */ - "**************", "**************", /* sg */ "The Data in Gabia", "you agree to abide", "The data contained in Go Daddy", "is not the registrant", /* Go Daddy */ "Disclaimer: The Global Name Registry", "for any commercial", @@ -62,11 +50,14 @@ const char *hide_strings[] = { // This must be disabled because whois.bizcn.com uses a similar text "The data in this whois", "using our Whois information", /* enom */ #endif - "By submitting a WHOIS query,", "LACK OF A DOMAIN", /* directNIC */ - "The Data in OnlineNIC", "\tBy starting this query", /* OnlineNIC */ + "By submitting a WHOIS query, you agree you will", "LACK OF A DOMAIN", /* directNIC */ + "The Data in Moniker.com", "this query, you agree", + "The Data in OnlineNIC", " By starting this query", /* OnlineNIC */ "The data in Bulkregister.com", "you agree to abide", /* bulkregister */ "The Data in Alldomains.com's", "By submitting this query,",/*alldomains*/ "Interdomain's WHOIS", "DOES NOT SIGNIFY", + "The Data provided by Stargate.com", "(2) enable any", + "; This data is provided by dd24", "; By submitting this query", NULL, NULL }; @@ -91,46 +82,114 @@ const char *nic_handles[] = { }; struct ip_del { - unsigned long net; - unsigned long mask; - const char *serv; + const unsigned long net; + const unsigned long mask; + const char *serv; }; -struct ip_del ip_assign[] = { +const struct ip_del ip_assign[] = { #include "ip_del.h" { 0, 0, NULL } }; struct ip6_del { - unsigned long net; /* bits 16-22 of the address */ - const char *serv; + const unsigned char net; /* bits 16-21 of the address */ + const char *serv; +}; + +/* http://www.ripe.net/ripe/draft-documents/ipv6.html */ +/* address bits 0-6 */ +const struct ip6_del ip6_assign_rirs[] = { + { 0x24, "whois.apnic.net" }, + { 0x28, "whois.afrinic.net" }, + { 0x2A, "whois.arin.net" }, + { 0x30, "whois.lacnic.net" }, + { 0x34, "whois.ripe.net" }, + { 0, NULL } }; /* http://www.iana.org./assignments/ipv6-tla-assignments */ -struct ip6_del ip6_assign[] = { - { 0x0200, "whois.apnic.net" }, - { 0x0400, "whois.arin.net" }, - { 0x0600, "whois.ripe.net" }, - { 0x0800, "whois.ripe.net" }, - { 0x0A00, "whois.ripe.net" }, - { 0x0C00, "whois.apnic.net" }, - { 0x0E00, "whois.apnic.net" }, -/* { 0x1000, "" }, */ - { 0x1200, "whois.lacnic.net" }, - { 0x1400, "whois.ripe.net" }, - { 0x1600, "whois.ripe.net" }, - { 0x1800, "whois.arin.net" }, - { 0x1A00, "whois.ripe.net" }, +/* address bits 16 + 0-7 */ +const struct ip6_del ip6_assign_misc[] = { + { 0x02, "whois.apnic.net" }, + { 0x04, "whois.arin.net" }, + { 0x06, "whois.ripe.net" }, + { 0x08, "whois.ripe.net" }, + { 0x0A, "whois.ripe.net" }, + { 0x0C, "whois.apnic.net" }, + { 0x0E, "whois.apnic.net" }, +/* { 0x10, "" }, */ + { 0x12, "whois.lacnic.net" }, + { 0x14, "whois.ripe.net" }, + { 0x16, "whois.ripe.net" }, + { 0x18, "whois.arin.net" }, + { 0x1A, "whois.ripe.net" }, + { 0x1C, "whois.ripe.net" }, + { 0x1E, "whois.ripe.net" }, + { 0x20, "whois.ripe.net" }, + { 0x22, "whois.ripe.net" }, + { 0x24, "whois.ripe.net" }, + { 0x26, "whois.ripe.net" }, + { 0x28, "whois.ripe.net" }, + { 0x2A, "whois.ripe.net" }, + { 0x2C, "whois.ripe.net" }, + { 0x2E, "whois.ripe.net" }, + { 0x30, "whois.ripe.net" }, + { 0x32, "whois.ripe.net" }, + { 0x34, "whois.ripe.net" }, + { 0x36, "whois.ripe.net" }, + { 0x38, "whois.ripe.net" }, + { 0x3A, "whois.ripe.net" }, + { 0x40, "whois.ripe.net" }, + { 0x42, "whois.arin.net" }, + { 0x44, "whois.apnic.net" }, + { 0x46, "whois.ripe.net" }, + { 0x48, "whois.arin.net" }, + { 0x4A, "whois.ripe.net" }, + + { 0x50, "whois.ripe.net" }, + { 0x52, "whois.ripe.net" }, + { 0x54, "whois.ripe.net" }, + { 0x56, "whois.ripe.net" }, + { 0x58, "whois.ripe.net" }, + { 0x5A, "whois.ripe.net" }, + { 0x5C, "whois.ripe.net" }, + { 0x5E, "whois.ripe.net" }, + + { 0x80, "whois.apnic.net" }, + { 0x82, "whois.apnic.net" }, + { 0x84, "whois.apnic.net" }, + { 0x86, "whois.apnic.net" }, + { 0x88, "whois.apnic.net" }, + { 0x8A, "whois.apnic.net" }, + { 0x8C, "whois.apnic.net" }, + { 0x8E, "whois.apnic.net" }, + { 0x90, "whois.apnic.net" }, + { 0x92, "whois.apnic.net" }, + { 0x94, "whois.apnic.net" }, + { 0x96, "whois.apnic.net" }, + { 0x98, "whois.apnic.net" }, + { 0x9A, "whois.apnic.net" }, + { 0x9C, "whois.apnic.net" }, + { 0x9E, "whois.apnic.net" }, + { 0xA0, "whois.apnic.net" }, + { 0xA2, "whois.apnic.net" }, + { 0xA4, "whois.apnic.net" }, + { 0xA6, "whois.apnic.net" }, + { 0xA8, "whois.apnic.net" }, + { 0xAA, "whois.apnic.net" }, + { 0xAC, "whois.apnic.net" }, + { 0xAE, "whois.apnic.net" }, { 0, NULL } }; struct as_del { - unsigned short first; - unsigned short last; - const char *serv; + const unsigned short first; + const unsigned short last; + const char *serv; }; -struct as_del as_assign[] = { +const struct as_del as_assign[] = { #include "as_del.h" { 0, 0, NULL } }; |