1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
/*
* RIPE-like servers.
* All of them do not understand -V2.0Md with the exception of RA and RIPN.
* 6bone-derived servers will accept the flag with a warning (the flag must
* match /^V [a-zA-Z]{1,4}\d+[\d\.]{0,5}$/).
*/
/* servers which accept the new syntax (-V XXn.n) */
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 */
"whois.ripn.net",
"whois.arnes.si",
"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
};
#if 0
const char *rwhois_servers[] = {
"whois.isi.edu", /* V-1.0B9.2 */
"rwhois.rcp.net.pe", /* V-1.5.3 */
"ns.twnic.net", /* V-1.0B9 */
"dragon.seed.net.tw", /* V-1.0B9.2 */
NULL
};
#endif
const char *hide_strings[] = {
"The Data in the VeriSign", "terms at any time.", /* VERISIGN */
"The data in Register", "By submitting", /* REGISTER.COM */
"The Data in the Tucows", "RECORD DOES NOT", /* OPENSRS */
" The data contained in Dotster", "Please limit your", /* DOTSTER */
"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 owner", /* NEUSTAR */
"NOTICE: Access to .INFO WHOIS", "time. By submitting", /* info */
"Disclaimer: The Global Name Registry", "for any commercial",
"Access to America Online", "time. By accessing", /* AOL */
"% Access and use restricted", "% http://www.icann", /* GANDI */
"NeuStar, Inc., the Registry", "rules. For details", /* us */
"The data in this whois", "to abide by these terms.", /* enom */
NULL, NULL
};
const char *nic_handles[] = {
"net-", "whois.arin.net",
"netblk-", "whois.arin.net",
"lim-", "whois.ripe.net",
"coco-", "whois.corenic.net",
"coho-", "whois.corenic.net",
"core-", "whois.corenic.net",
"denic-", "whois.denic.de",
/* RPSL objects */
"as-", "whois.ripe.net",
"rs-", "whois.ripe.net",
"rtrs-", "whois.ripe.net",
"fltr-", "whois.ripe.net",
"prng-", "whois.ripe.net",
NULL, NULL
};
struct ip_del {
unsigned long net;
unsigned long mask;
const char *serv;
};
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;
};
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" },
{ 0x1200, "whois.lacnic.net" },
{ 0, NULL }
};
struct as_del {
unsigned short first;
unsigned short last;
const char *serv;
};
struct as_del as_assign[] = {
#include "as_del.h"
{ 0, 0, NULL }
};
const char *tld_serv[] = {
#include "tld_serv.h"
NULL, NULL
};
|