summaryrefslogtreecommitdiff
path: root/data.h
blob: 58ed638e1ed2bc24f022537fbdc887513751c718 (plain)
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
/*
 * RIPE-like servers.
 * All of them do not understand -V2.0Md with the exception of RA and RIPN.
 * 6bone-like servers will accept the flag with a warning (the flag must
 * match /^V [a-zA-Z]{1,4}\d+[\d\.]{0,5}$/).
 */
const char *ripe_servers[] = {
    /* will accept the new syntax (-V wp3.0) */
    "whois.ripe.net",
    "whois.apnic.net",
    "whois.6bone.net",		/* 3.0.0b1 */
    "whois.aunic.net",
    "whois.connect.com.au",	/* 3.0.0b1 */
    "whois.nic.fr",
    "whois.nic.net.sg",
    "whois.metu.edu.tr",
    /* end of servers accepting new syntax */
    "whois.nic.it",
    "whois.ans.net",
    "whois.ra.net",
    "whois.ripn.net",
    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 *gtlds[] = {
    ".com",
    ".net",
    ".org",
    ".edu",
    NULL
};

const char *arin_nets[] = {
    "net-",
    "netblk-",
    "asn-",
    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 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
};