Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
152 - 1
# This is jwhois.conf - an example configuration file for jwhois
2
#
3
# Due to the ever-changing nature of the Internet, the configuration file
4
# released with Jwhois quickly gets outdated. You can find the latest version
5
# in the Jwhois CVS repository, which is accessible via the web from
6
# http://savannah.gnu.org/cgi-bin/viewcvs/jwhois/jwhois/example/jwhois.conf
7
 
8
#
9
# Local domain registries and pointers to cidr-blocks and handles.
10
# This is where jwhois begins the search for a Whois server to query
11
#
12
whois-servers {
13
	#
14
	# The type can be either cidr or regex, the former matches using CIDR
15
	# blocks and the later using regular expressions.
16
	#
17
	type = regex;
18
 
19
	#
20
	# Catch ENUM domains
21
	#
22
	"\\([0-9]\\.\\)+e164\\.arpa" = "struct enum-blocks";
23
 
24
	#
25
	# You can use the special value `struct' to redirect the query
26
	# to another block which optionally can use another type of matching.
27
	# Here we use it to have IPv4 numbers matched using CIDR blocks instead
28
	# of regular expressions.  See below for the definition of cidr-blocks.
29
	#
30
	"\\([0-9]+\\.\\)+[0-9]+" = "struct cidr-blocks";
31
	"^[0-9A-Fa-f]+:[0-9A-Fa-f:.]*\\(/[0-9]+\\)?$" = "struct cidr6-blocks";
32
	"^CORE-[0-9]+$" = "struct handles";
33
	"^CO[CH]O-[0-9]+$" = "struct handles";
34
	".*-[A-Z]+$" = "struct handles";
35
	".*-6BONE$" = "struct handles";
36
 
37
	#
38
	# Catch AS numbers
39
	#
40
	"^[0-9]+$" = "whois.arin.net";
41
	"^ASN-.+" = "whois.arin.net";
42
	"^AS[0-9]+$" = "whois.radb.net";
43
 
44
	#
45
	# Catch ARIN nameserver records
46
	#
47
	"^NS[0-9]+-HST$" = "whois.arin.net";
48
 
49
	#
50
	# Catch ARIN netblock records
51
	#
52
	"^!?NET\\(BLK\\)?\\(-[A-Z0-9]+\\)+$" = "whois.arin.net";
53
 
54
	#
55
	# Catch Verio netblock records
56
	#
57
	"^!?NET\\(BLK\\)?-VRIO\\(-[A-Z0-9]+\\)+$" = "rwhois.verio.net";
58
 
59
	#
60
	# Catch Registro .BR ownerid records
61
	#
62
	"^[0-9]+\\.[0-9]+\\.[0-9]+/[0-9]+-[0-9]+$" = "whois.nic.br";
63
 
64
	#
65
	# Japanese NIC handles
66
	#
67
	"^[A-Z]+[0-9]+JP$" = "whois.nic.ad.jp";
68
	#
69
	# If your host and network supports it, you can also specify IPv6
70
	# addresses in the server field.
71
	#
72
	# ".*:.*" = "::1"
73
	#
74
 
75
	#
76
	# This is a special construct designed with the whois-servers.net
77
        # service in mind. If you use this, jwhois will query whois-servers.net
78
        # for which whois server to use for each domain query.
79
	#
80
	# default = "whois-servers";
81
 
82
	#
83
	# Sub-TLA Assignments
84
	#
85
 
86
	#
87
	# Pseudo-ccTLDs must be listed above gTLDs
88
	#
89
 	"\\.ae\\.org$" = "whois.centralnic.net";
90
	"\\.ar\\.com$" = "whois.centralnic.com";
91
	"\\.br\\.com$" = "whois.centralnic.net";
92
	"\\.cn\\.com$" = "whois.centralnic.net";
93
	"\\.de\\.com$" = "whois.centralnic.net";
94
	"\\.eu\\.com$" = "whois.centralnic.net";
95
	"\\.eu\\.org$" = "whois.eu.org";
96
	"\\.gb\\.com$" = "whois.centralnic.net";
97
	"\\.gb\\.net$" = "whois.centralnic.net";
98
	"\\.hu\\.com$" = "whois.centralnic.net";
99
	"\\.jpn\\.com$" = "whois.centralnic.net";
100
 	"\\.kr\\.com$" = "whois.centralnic.net";
101
	"\\.no\\.com$" = "whois.centralnic.net";
102
	"\\.qc\\.com$" = "whois.centralnic.net";
103
	"\\.ru\\.com$" = "whois.centralnic.net";
104
	"\\.sa\\.com$" = "whois.centralnic.net";
105
	"\\.se\\.com$" = "whois.centralnic.net";
106
	"\\.se\\.net$" = "whois.centralnic.net";
107
	"\\.uk\\.com$" = "whois.centralnic.net";
108
	"\\.uk\\.net$" = "whois.centralnic.net";
109
	"\\.us\\.com$" = "whois.centralnic.net";
110
	"\\.uy\\.com$" = "whois.centralnic.net";
111
	"\\.web\\.com$" = "whois.centralnic.net";
112
	"\\.za\\.com$" = "whois.centralnic.net";
113
	"\\.za\\.net$" = "whois.za.net";
114
        "\\.za\\.org$" = "whois.za.org";
115
 
116
	"\\.ac$" = "whois.nic.ac";
117
	"\\.ae$" = "whois.aeda.net.ae";
118
	"\\.aero$" = "whois.aero";
119
	"\\.af$" = "whois.cocca.cx";
120
	"\\.ag$" = "whois.nic.ag";
121
	"\\.ai$" = "whois.ai";
122
	"\\.al$" = "www.ert.gov.al";
123
	"\\.am$" = "whois.amnic.net";
124
	"\\.edu\\.ar$" = "www.riu.edu.ar";
125
	"\\.ar$" = "www.nic.ar";
126
	"\\.arpa$" = "whois.iana.org";
127
	"\\.as$" = "whois.nic.as";
128
	"\\.asia$" = "whois.nic.asia";
129
	"\\.at$" = "whois.nic.at";
130
	"\\.asn\\.au$" = "whois.ausregistry.net.au";
131
	"\\.com\\.au$" = "whois.ausregistry.net.au";
132
	"\\.id\\.au$" = "whois.ausregistry.net.au";
133
	"\\.net\\.au$" = "whois.ausregistry.net.au";
134
	"\\.org\\.au$" = "whois.ausregistry.net.au";
135
	"\\.au$" = "whois.aunic.net";
136
	"\\.az$" = "whois.ripe.net";
137
	"\\.ba$" = "whois.ripe.net";
138
	"\\.be$" = "whois.dns.be";
139
	"\\.bg$" = "whois.register.bg";
140
	"\\.bi$" = "whois.nic.bi";
141
	"\\.biz$" = "whois.biz";
142
	"\\.bj$" = "whois.nic.bj";
143
	"\\.bm$" = "rwhois.ibl.bm 4321";
144
	"\\.bo$" = "whois.nic.bo";
145
	"\\.br$" = "whois.nic.br";
146
	"\\.bs$" = "www.register.bs";
147
	"\\.bv$" = "whois.ripe.net";
148
	"\\.by$" = "www.domain.by";
149
	"\\.bz$" = "whois.belizenic.bz";
150
	"\\.co\\.ca$" = "whois.co.ca";
151
	"\\.ca$" = "whois.cira.ca";
152
	"\\.cat$" = "whois.cat";
153
	"\\.cc$" {
154
		whois-server = "ccwhois.verisign-grs.com";
155
		query-format = "domain $*";
156
	}
157
	"\\.cd$" = "whois.nic.cd";
158
	"\\.cg$" = "www.nic.cg";
159
	"\\.ch$" = "whois.nic.ch";
160
	"\\.ci$" = "whois.nic.ci";
161
	"\\.ck$" = "whois.nic.ck";
162
	"\\.cl$" = "whois.nic.cl";
163
	"\\.co\\.cm$" = "whois.netcom.cm";
164
	"\\.com\\.cm$" = "whois.netcom.cm";
165
	"\\.net\\.cm$" = "whois.netcom.cm";
166
	"\\.edu\\.cn$" = "whois.edu.cn";
167
	"\\.cn$" = "whois.cnnic.cn";
168
	"\\.com$" {
169
		whois-server = "whois.verisign-grs.com";
170
		query-format = "domain $*";
171
	}
172
	"\\.coop$" = "whois.nic.coop";
173
	"\\.cu$" = "www.nic.cu";
174
	"\\.cx$" = "whois.nic.cx";
175
	"\\.cy$" = "whois.ripe.net";
176
	"\\.cz$" = "whois.nic.cz";
177
	"\\.de$" {
178
		whois-server = "whois.denic.de";
179
		query-format = "-C UTF-8 -T dn,ace $*";
180
	}
181
	"\\.dk$" {
182
		whois-server = "whois.dk-hostmaster.dk";
183
		query-format = "--show-handles $*";
184
	}
185
	"\\.dm$" = "whois.nic.dm";
186
	"\\.do$" = "whois.nic.do";
187
	"\\.dz$" = "www.nic.dz";
188
	"\\.ec$" = "www.nic.ec";
189
	"\\.edu$" = "whois.educause.edu";
190
	"\\.ee$" = "whois.eenet.ee";
191
	"\\.eg$" = "whois.ripe.net";
192
	"\\.es$" = "www.nic.es";
193
	"\\.eu$" = "whois.eu";
194
	"\\.fi$" = "whois.ficora.fi";
195
	"\\.fj$" = "whois.usp.ac.fj";
196
	"\\.fm$" = "www.dot.fm";
197
	"\\.fo$" = "whois.ripe.net";
198
	"\\.fr$" = "whois.nic.fr";
199
	"\\.gd$" = "whois.adamsnames.com";
200
	"\\.gi$" = "whois2.afilias-grs.net";
201
	"\\.gov$" = "whois.nic.gov";
202
	"\\.gg$" = "whois.gg";
203
	"\\.gm$" = "whois.ripe.net";
204
	"\\.gp$" = "whois.nic.gp";
205
	"\\.gr$" = "whois.ripe.net";
206
	"\\.gs$" = "whois.nic.gs";
207
	"\\.gt$" = "www.gt";
208
	"\\.hk$" = "whois.hkirc.hk";
209
	"\\.hm$" = "whois.registry.hm";
210
	"\\.hn$" = "whois2.afilias-grs.net";
211
	"\\.hr$" = "www.dns.hr";
212
	"\\.ht$" = "whois.nic.ht";
213
	"\\.hu$" = "whois.nic.hu";
214
	"\\.id$" = "whois.idnic.net.id";
215
	"\\.ie$" = "whois.domainregistry.ie";
216
	"\\.il$" = "whois.isoc.org.il";
217
	"\\.in$" = "whois.inregistry.in";
218
	"\\.info$" = "whois.afilias.info";
219
	"\\.int$" = "whois.iana.org";
220
	"\\.io$" = "www.io.io";
221
	"\\.ir$" = "whois.nic.ir";
222
	"\\.im$" = "whois.nic.im";
223
	"\\.is$" = "whois.isnic.is";
224
	"\\.it$" = "whois.nic.it";
225
	"\\.je$" = "whois.isles.net";
226
	"\\.jobs$" {
227
                whois-server = "jobswhois.verisign-grs.com";
228
                query-format = "domain $*";
229
	}
230
	"\\.jp$" {
231
		whois-server = "whois.jprs.jp";
232
		query-format = "$* /e";
233
	}
234
	"\\.ke$" = "whois.kenic.or.ke";
235
	"\\.kp$" = "whois.kcce.kp";
236
	"\\.kg$" = "whois.domain.kg";
237
	"\\.ki$" = "whois.cocca.cx";
238
	"\\.kr$" = "whois.krnic.net";
239
	"\\.kz$" = "whois.nic.kz";
240
	"\\.la$" = "whois.nic.la";
241
	"\\.lb$" = "cgi.aub.edu.lb";
242
	"\\.lc$" = "whois2.afilias-grs.net";
243
	"\\.li$" = "whois.nic.li";
244
	"\\.lk$" = "whois.nic.lk";
245
	"\\.lt$" = "whois.domreg.lt";
246
	"\\.lu$" = "whois.dns.lu";
247
	"\\.lv$" = "whois.nic.lv";
248
	"\\.ly$" = "whois.nic.ly";
249
	"\\.ma$" = "whois.iam.net.ma";
250
	"\\.md$" = "whois.nic.md";
251
	"\\.me$" = "whois.nic.me";
252
	"\\.mil$" = "whois.nic.mil";
253
	"\\.mk$" = "whois.ripe.net";
254
	"\\.mm$" = "whois.nic.mm";
255
	"\\.mn$" = "whois2.afilias-grs.net";
256
	"\\.mobi$" = "whois.dotmobiregistry.net";
257
	"\\.ms$" = "whois.nic.ms";
258
	"\\.mt$" = "whois.nic.org.mt";
259
	"\\.mu$" = "whois.nic.mu";
260
	"\\.museum$" = "whois.museum";
261
	"\\.mw$" = "www.tarsus.net";
262
	"\\.mx$" = "whois.nic.mx";
263
	"\\.my$" = "whois.domainregistry.my";
264
	"\\.na$" = "whois.na-nic.com.na";
265
	"\\.name$" {
266
		whois-server = "whois.nic.name";
267
		query-format = "domain = $*";
268
		}
269
	"\\.net$" {
270
		whois-server = "whois.verisign-grs.com";
271
		query-format = "domain $*";
272
	}
273
	"\\.nf$" = "whois.cocca.cx";
274
	"\\.ng$" = "whois.nic.net.ng";
275
	"\\.nl$" = "whois.domain-registry.nl";
276
	"\\.no$" = "whois.norid.no";
277
	"\\.nu$" = "whois.nic.nu";
278
	"\\.nz$" = "whois.srs.net.nz";
279
	"\\.org$" = "whois.publicinterestregistry.net";
280
	"\\.pa$" = "www.nic.pa";
281
	"\\.pe$" = "kero.yachay.pe";
282
	"\\.pk$" = "pknic.net.pk";
283
	"\\.pl$" = "whois.dns.pl";
284
	"\\.pm$" = "whois.nic.pm";
285
	"\\.pr$" = "whois.nic.pr";
286
	"\\.pro$" = "whois.registrypro.pro";
287
	"\\.ps$" = "www.nic.ps";
288
	"\\.pt$" = "whois.dns.pt";
289
	"\\.pw$" = "whois.nic.pw";
290
	"\\.re$" = "whois.nic.re";
291
	"\\.ro$" = "whois.rotld.ro";
292
	"\\.edu\.ru$" = "whois.informika.ru";
293
	"\\.ru$" = "whois.ripn.net";
294
	"\\.rw$" = "www.nic.rw";
295
	"\\.sa$" = "saudinic.net.sa";
296
	"\\.sb$" = "whois.nic.sb";
297
	"\\.sc$" = "whois2.afilias-grs.net";
298
	"\\.se$" = "whois.iis.se";
299
	"\\.sg$" = "whois.sgnic.sg";
300
	"\\.sh$" = "whois.nic.sh";
301
	"\\.si$" = "whois.arnes.si";
302
	"\\.sj$" = "whois.ripe.net";
303
	"\\.sk$" = "whois.sk-nic.sk";
304
	"\\.sl$" = "whois.nic.sl";
305
	"\\.sm$" = "whois.ripe.net";
306
	"\\.sn$" = "whois.nic.sn";
307
	"\\.so$" = "whois.nic.so";
308
	"\\.sr$" = "whois.register.sr";
309
	"\\.st$" = "whois.nic.st";
310
	"\\.su$" = "whois.ripn.net";
311
	"\\.sv$" = "www.svnet.org.sv";
312
	"\\.tc$" = "whois.adamsnames.tc";
313
	"\\.tel$" = "whois.nic.tel";
314
	"\\.tf$" = "whois.afnic.fr";
315
	"\\.tg$" = "www.nic.tg";
316
	"\\.th$" = "whois.thnic.net";
317
	"\\.tj$" = "whois.nic.tj";
318
	"\\.tk$" = "whois.dot.tk";
319
	"\\.tl$" = "whois.nic.tl";
320
	"\\.tm$" = "whois.nic.tm";
321
	"\\.tn$" = "whois.ripe.net";
322
	"\\.to$" = "whois.tonic.to";
323
	"\\.tr$" = "whois.nic.tr";
324
	"\\.travel$" = "whois.nic.travel";
325
	"\\.tt$" = "www.nic.tt";
326
	"\\.tv$" {
327
		whois-server = "tvwhois.verisign-grs.com";
328
		query-format = "domain $*";
329
        }
330
	"\\.tw$" = "whois.twnic.net";
331
	"\\.ua$" = "whois.com.ua";
332
	"\\.ug$" = "whois.co.ug";
333
	"\\.ac\\.uk$" = "whois.ja.net";
334
	"\\.gov\\.uk$" = "whois.ja.net";
335
	"\\.uk$" = "whois.nic.uk";
336
	"\\.fed\\.us$" = "whois.nic.gov";
337
	"\\.us$" = "whois.nic.us";
338
	"\\.com\\.uy$" = "dns.antel.net.uy";
339
	"\\.uy$" = "whois.nic.org.uy";
340
	"\\.co\\.uz$" = "whois.reg.uz";
341
	"\\.com\\.uz$" = "whois.reg.uz";
342
	"\\.uz$" = "whois.cctld.uz";
343
	"\\.va$" = "whois.ripe.net";
344
	"\\.vc$" = "whois2.afilias-grs.net";
345
	"\\.ve$" = "whois.nic.ve";
346
	"\\.vi$" = "www.nic.vi";
347
	"\\.vg$" = "whois.adamsnames.tc";
348
	"\\.vn$" = "www.vnnic.net.vn";
349
	"\\.vu$" = "www.vunic.vu";
350
	"\\.wf$" = "whois.nic.wf";
351
	"\\.ws$" = "whois.worldsite.ws";
352
	"\\.xn--mgbaam7a8h$" = "whois.aeda.net.ae";
353
	"\\.yt$" = "whois.nic.yt";
354
	"\\.yu$" = "www.nic.yu";
355
	"\\.ac\\.za$" = "whois.ac.za";
356
	"\\.org\\.za$" = "rwhois.org.za 4321";
357
	"\\.co\\.za$" = "whois.co.za";
358
	"\\.nom\\.za$" = "www.nom.za";
359
	# "\\.za$" = "whois.frd.ac.za";
360
	"\\.co\\.zw$" = "www.zispa.co.zw";
361
 
362
	#
363
	# Specify different port numbers to connect to by postfixing the IP
364
	# number or host with a space and the designated port. Default is to
365
	# use the whois port from /etc/services.
366
	#
367
	# ".*" = "whois.internic.net 666";
368
 
369
	default {
370
		whois-server = "whois.internic.net";
371
		# Make sure we only match on domain names
372
		query-format = "domain $*";
373
	}
374
}
375
 
376
#
377
# enum-blocks
378
#
379
enum-blocks {
380
	type = regex;
381
 
382
	"\\.9\\.4\\.e164\\.arpa$" = "whois.enum.denic.de";
383
	"\\.1\\.6\\.e164\\.arpa$" = "whois-check.enum.com.au";
384
}
385
 
386
#
387
# cidr-blocks contains a list of all known CIDR blocks assigned to
388
# RIPE or APNIC. Default all queries to ARIN which has most other blocks.
389
#
390
# see http://www.iana.org/assignments/ipv4-address-space
391
#
392
cidr-blocks {
393
	type = cidr;
394
 
395
# Note: JPNIC doesn't appear to publish lists of netblocks on their
396
#       website - this data was derived by searching for "Japan Network
397
#       Information Center" in the ARIN and APNIC databases.  It may
398
#       not be complete.
399
 
400
	"61.112.0.0/12" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
401
	"61.192.0.0/12" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
402
	"61.208.0.0/13" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
403
	"133.0.0.0/8" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPANB-INET
404
	"150.100.0.0/16" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
405
	"150.1.0.0/16" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
406
	"150.16.0.0/12" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
407
	"150.2.0.0/15" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
408
	"150.32.0.0/11" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
409
	"150.4.0.0/14" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
410
	"150.64.0.0/11" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
411
	"150.8.0.0/13" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
412
	"150.96.0.0/14" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN2
413
	"158.198.0.0/15" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET-1
414
	"158.200.0.0/13" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET-1
415
	"158.208.0.0/13" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET-1
416
	"158.216.0.0/15" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET-1
417
	"163.130.0.0/15" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET
418
	"163.132.0.0/14" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET
419
	"163.136.0.0/13" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET
420
	"163.144.0.0/14" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET
421
	"163.148.0.0/15" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-NET
422
	"192.218.0.0/16" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPANC-INET-BLOCK1
423
	"192.244.0.0/16" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPAN-INET-C
424
	"192.41.192.0/24" = "whois.nic.ad.jp";	# ARIN NET-UTOKYO-CON1
425
	"192.47.0.0/17" = "whois.nic.ad.jp";	# ARIN NETBLK-KIT-BLOCK
426
	"192.47.128.0/18" = "whois.nic.ad.jp";	# ARIN NETBLK-KIT-BLOCK
427
	"192.47.142.0/24" = "whois.nic.ad.jp";	# ARIN ITC-JP2
428
	"192.47.192.0/19" = "whois.nic.ad.jp";	# ARIN NETBLK-KIT-BLOCK
429
	"192.47.224.0/20" = "whois.nic.ad.jp";	# ARIN NETBLK-KIT-BLOCK
430
	"192.47.240.0/23" = "whois.nic.ad.jp";	# ARIN NETBLK-KIT-BLOCK
431
	"192.51.128.0/17" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPANC-INET4
432
	"192.51.16.0/20" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPANC-INET4
433
	"192.51.32.0/19" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPANC-INET4
434
	"192.51.64.0/18" = "whois.nic.ad.jp";	# ARIN NETBLK-JAPANC-INET4
435
	"202.11.0.0/16" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
436
	"202.13.0.0/16" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
437
	"202.15.0.0/16" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
438
	"202.16.0.0/14" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
439
	"202.23.0.0/16" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
440
	"202.24.0.0/15" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
441
	"202.26.0.0/16" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
442
	"202.32.0.0/14" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
443
	"202.48.0.0/16" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
444
	"202.208.0.0/12" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
445
	"202.224.0.0/11" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
446
	"203.136.0.0/14" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
447
	"203.140.0.0/15" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
448
	"203.178.0.0/15" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
449
	"203.180.0.0/14" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
450
	"210.128.0.0/11" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
451
	"210.136.0.0/13" = "whois.nic.ad.jp";
452
	"210.160.0.0/12" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
453
	"210.188.0.0/14" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
454
	"210.196.0.0/14" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
455
	"210.224.0.0/12" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
456
	"210.248.0.0/13" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
457
	"211.0.0.0/12" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
458
	"211.16.0.0/14" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
459
	"211.52.0.0/14" = "whois.nic.or.kr";
460
	"211.56.0.0/13" = "whois.nic.or.kr";
461
	"211.104.0.0/13" = "whois.nic.or.kr";
462
	"211.112.0.0/13" = "whois.nic.or.kr";
463
	"211.120.0.0/13" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
464
	"211.128.0.0/13" = "whois.nic.ad.jp";	# APNIC JPNIC-NET-JP
465
	"211.172.0.0/14" = "whois.nic.or.kr";
466
	"211.176.0.0/12" = "whois.nic.or.kr";
467
	"211.192.0.0/13" = "whois.nic.or.kr";
468
	"219.96.0.0/11" = "whois.nic.ad.jp";
469
	"220.104.0.0/13" = "whois.nic.ad.jp";
470
	"220.208.0.0/12" = "whois.nic.ad.jp";
471
	"221.112.0.0/13" = "whois.nic.ad.jp";
472
 
473
	"24.132.0.0/16" = "whois.ripe.net";
474
	"24.232.0.0/16" = "whois.lacnic.net";
475
        "41.0.0.0/8" = "whois.afrinic.net";
476
	"43.0.0.0/8" = "whois.v6nic.net";
477
	"58.0.0.0/8" = "whois.apnic.net";
478
	"59.0.0.0/8" = "whois.apnic.net";
479
	"60.0.0.0/8" = "whois.apnic.net";
480
	"61.0.0.0/8" = "whois.apnic.net";
481
	"62.135.36.0/17" = "whois.afrinic.net";
482
	"62.0.0.0/8" = "whois.ripe.net";
483
	"80.87.64.0/19" = "whois.afrinic.net";
484
	"80.0.0.0/8" = "whois.ripe.net";
485
	"81.91.224.0/20" = "whois.afrinic.net";
486
	"81.192.0.0/16" = "whois.afrinic.net";
487
	"81.0.0.0/8" = "whois.ripe.net";
488
	"82.101.128.0/18" = "whois.afrinic.net";
489
        "82.201.128.0/17" = "whois.afrinic.net";
490
        "82.201.160.0/19" = "whois.afrinic.net";
491
        "82.201.224.0/19" = "whois.afrinic.net";
492
	"82.0.0.0/8" = "whois.ripe.net";
493
	"83.0.0.0/8" = "whois.ripe.net";
494
	"84.36.0.0/17" = "whois.afrinic.net";
495
	"84.0.0.0/8" = "whois.ripe.net";
496
	"85.0.0.0/8" = "whois.ripe.net";
497
	"86.0.0.0/8" = "whois.ripe.net";
498
	"87.0.0.0/8" = "whois.ripe.net";
499
	"88.0.0.0/8" = "whois.ripe.net";
500
        "89.0.0.0/8" = "whois.ripe.net";
501
        "90.0.0.0/8" = "whois.ripe.net";
502
        "91.0.0.0/8" = "whois.ripe.net";
503
        "121.0.0.0/8" = "whois.apnic.net";
504
        "122.0.0.0/8" = "whois.apnic.net";
505
        "123.0.0.0/8" = "whois.apnic.net";
506
        "124.0.0.0/8" = "whois.apnic.net";
507
        "125.0.0.0/8" = "whois.apnic.net";
508
        "126.0.0.0/8" = "whois.apnic.net";
509
	"129.132.0.0/16" = "whois.ripe.net";
510
	"129.177.0.0/16" = "whois.ripe.net";
511
	"129.187.0.0/16" = "whois.ripe.net";
512
	"130.225.0.0/16" = "whois.ripe.net";
513
	"130.226.0.0/15" = "whois.ripe.net";
514
	"130.227.0.0/16" = "whois.ripe.net";
515
	"130.228.0.0/14" = "whois.ripe.net";
516
	"130.232.0.0/13" = "whois.ripe.net";
517
	"130.240.0.0/14" = "whois.ripe.net";
518
	"130.244.0.0/16" = "whois.ripe.net";
519
	"130.244.0.0/16" = "whois.ripe.net";
520
	"132.64.0.0/13" = "whois.ripe.net";
521
	"132.72.0.0/14" = "whois.ripe.net";
522
	"132.76.0.0/15" = "whois.ripe.net";
523
	"132.78.0.0/16" = "whois.ripe.net";
524
	"137.138.0.0/16" = "whois.ripe.net";
525
	"138.130.0.0/16" = "whois.apnic.net";
526
	"140.109.0.0/16" = "whois.apnic.net";
527
	"140.110.0.0/15" = "whois.apnic.net";
528
	"140.112.0.0/12" = "whois.apnic.net";
529
	"140.116.0.0/14" = "whois.apnic.net";
530
	"140.120.0.0/13" = "whois.apnic.net";
531
	"140.128.0.0/13" = "whois.apnic.net";
532
	"140.136.0.0/15" = "whois.apnic.net";
533
	"140.138.0.0/16" = "whois.apnic.net";
534
	"141.223.0.0/16" = "whois.apnic.net";
535
	"143.89.0.0/16" = "whois.apnic.net";
536
	"143.90.0.0/16" = "whois.apnic.net";
537
	"144.130.0.0/15" = "whois.apnic.net";
538
	"144.132.0.0/14" = "whois.apnic.net";
539
	"144.136.0.0/14" = "whois.apnic.net";
540
	"144.140.0.0/16" = "whois.apnic.net";
541
	"145.0.0.0/8" = "whois.ripe.net";
542
	"147.46.0.0/15" = "whois.apnic.net";
543
	"150.1.0.0/16" = "whois.apnic.net";
544
	"150.2.0.0/15" = "whois.apnic.net";
545
	"150.4.0.0/14" = "whois.apnic.net";
546
	"150.8.0.0/13" = "whois.apnic.net";
547
	"150.16.0.0/12" = "whois.apnic.net";
548
	"150.32.0.0/11" = "whois.apnic.net";
549
	"150.64.0.0/11" = "whois.apnic.net";
550
	"150.96.0.0/14" = "whois.apnic.net";
551
	"150.100.0.0/15" = "whois.apnic.net";
552
	"150.217.0.0/16" = "whois.ripe.net";
553
	"151.3.0.0/16" = "whois.ripe.net";
554
	"151.4.0.0/15" = "whois.ripe.net";
555
	"151.10.0.0/15" = "whois.ripe.net";
556
	"151.12.0.0/14" = "whois.ripe.net";
557
	"151.16.0.0/12" = "whois.ripe.net";
558
	"151.32.0.0/11" = "whois.ripe.net";
559
	"151.64.0.0/11" = "whois.ripe.net";
560
	"151.96.0.0/14" = "whois.ripe.net";
561
	"151.100.0.0/16" = "whois.ripe.net";
562
	"155.230.0.0/16" = "whois.apnic.net";
563
	"158.190.0.0/15" = "whois.ripe.net";
564
	"158.192.0.0/14" = "whois.ripe.net";
565
	"158.196.0.0/15" = "whois.ripe.net";
566
	"159.147.0.0/16" = "whois.ripe.net";
567
	"159.148.0.0/15" = "whois.ripe.net";
568
	"160.216.0.0/14" = "whois.ripe.net";
569
	"160.220.0.0/16" = "whois.ripe.net";
570
	"161.110.0.0/15" = "whois.ripe.net";
571
	"161.112.0.0/16" = "whois.ripe.net";
572
	"163.13.0.0/16" = "whois.apnic.net";
573
	"163.14.0.0/15" = "whois.apnic.net";
574
	"163.16.0.0/12" = "whois.apnic.net";
575
	"163.32.0.0/16" = "whois.apnic.net";
576
	"163.156.0.0/14" = "whois.ripe.net";
577
	"163.160.0.0/12" = "whois.ripe.net";
578
	"164.0.0.0/11" = "whois.ripe.net";
579
	"164.32.0.0/13" = "whois.ripe.net";
580
	"164.40.0.0/16" = "whois.ripe.net";
581
	"164.100.0.0/16" = "whois.apnic.net";
582
	"164.128.0.0/12" = "whois.ripe.net";
583
	"164.160.0.0/14" = "whois.apnic.net";
584
	"164.164.0.0/16" = "whois.apnic.net";
585
	"165.21.0.0/16" = "whois.apnic.net";
586
	"165.76.0.0/16" = "whois.apnic.net";
587
	"165.165.0.0/16" = "whois.afrinic.net";
588
	"165.228.0.0/15" = "whois.apnic.net";
589
	"168.95.0.0/16" = "whois.apnic.net";
590
	"168.126.0.0/16" = "whois.apnic.net";
591
	"168.187.0.0/16" = "whois.ripe.net";
592
	"169.208.0.0/16" = "whois.apnic.net";
593
	"171.16.0.0/12" = "whois.ripe.net";
594
	"171.32.0.0/15" = "whois.ripe.net";
595
        "189.0.0.0/8" = "whois.lacnic.net";
596
        "190.0.0.0/8" = "whois.lacnic.net";
597
        "196.0.0.0/8" = "whois.afrinic.net";
598
	"192.16.192.0/24" = "whois.ripe.net";
599
	"192.114.0.0/15" = "whois.ripe.net";
600
	"192.116.0.0/15" = "whois.ripe.net";
601
	"192.118.0.0/16" = "whois.ripe.net";
602
	"192.140.1.0/24" = "whois.ripe.net";
603
	"192.140.2.0/23" = "whois.ripe.net";
604
	"192.140.4.0/22" = "whois.ripe.net";
605
	"192.140.8.0/21" = "whois.ripe.net";
606
	"192.140.16.0/20" = "whois.ripe.net";
607
	"192.140.32.0/19" = "whois.ripe.net";
608
	"192.140.64.0/18" = "whois.ripe.net";
609
	"192.140.128.0/17" = "whois.ripe.net";
610
	"192.141.0.0/16" = "whois.ripe.net";
611
	"192.142.0.0/15" = "whois.ripe.net";
612
	"192.144.0.0/16" = "whois.ripe.net";
613
	"192.145.0.0/17" = "whois.ripe.net";
614
	"192.145.128.0/18" = "whois.ripe.net";
615
	"192.145.192.0/19" = "whois.ripe.net";
616
	"192.145.224.0/22" = "whois.ripe.net";
617
	"192.145.228.0/23" = "whois.ripe.net";
618
	"192.145.230.0/24" = "whois.ripe.net";
619
	"192.164.0.0/16" = "whois.ripe.net";
620
	"193.0.0.0/8" = "whois.ripe.net";
621
	"194.0.0.0/8" = "whois.ripe.net";
622
	"195.166.224.0/19" = "whois.afrinic.net";
623
	"195.0.0.0/8" = "whois.ripe.net";
624
	"196.2.96.0/19" = "whois.afrinic.net";
625
	"196.2.128.0/17" = "whois.afrinic.net";
626
	"196.200.0.0/13" = "whois.afrinic.net";
627
	"200.17.0.0/16" = "whois.nic.br";
628
	"200.128.0.0/9" = "whois.nic.br";
629
	"200.0.0.0/8" = "whois.lacnic.net";
630
	"201.0.0.0/8" = "whois.lacnic.net";
631
	"202.0.0.0/8" = "whois.apnic.net";
632
	"203.0.0.0/8" = "whois.apnic.net";
633
	"210.0.0.0/8" = "whois.apnic.net";
634
	"211.0.0.0/8" = "whois.apnic.net";
635
	"212.22.160.0/19" = "whois.afrinic.net";
636
	"212.0.0.0/8" = "whois.ripe.net";
637
	"213.136.96.0/19" = "whois.afrinic.net";
638
	"213.154.64.0/19" = "whois.afrinic.net";
639
	"213.0.0.0/8" = "whois.ripe.net";
640
	"217.0.0.0/8" = "whois.ripe.net";
641
	"218.0.0.0/8" = "whois.apnic.net";
642
	"219.0.0.0/8" = "whois.apnic.net";
643
	"220.0.0.0/8" = "whois.apnic.net";
644
	"221.0.0.0/8" = "whois.apnic.net";
645
	"222.0.0.0/8" = "whois.apnic.net";
646
 
647
	default = "whois.arin.net";
648
}
649
 
650
#
651
# See http://www.iana.org/assignments/ipv6-unicast-address-assignments
652
#
653
cidr6-blocks {
654
	type = cidr6;
655
 
656
	"2001:0000::/23" = "whois.iana.org"; # correct, but nothing usable is returned
657
	"2001:0200::/23" = "whois.apnic.net";
658
	"2001:0400::/23" = "whois.arin.net";
659
	"2001:0600::/23" = "whois.ripe.net";
660
	"2001:0800::/23" = "whois.ripe.net";
661
	"2001:0A00::/23" = "whois.ripe.net";
662
	"2001:0C00::/23" = "whois.apnic.net";
663
	"2001:0E00::/23" = "whois.apnic.net";
664
	"2001:1200::/23" = "whois.lacnic.net";
665
	"2001:1400::/23" = "whois.ripe.net";
666
	"2001:1600::/23" = "whois.ripe.net";
667
	"2001:1800::/23" = "whois.arin.net";
668
	"2001:1A00::/23" = "whois.ripe.net";
669
	"2001:1C00::/22" = "whois.ripe.net";
670
	"2001:2000::/20" = "whois.ripe.net";
671
	"2001:3000::/21" = "whois.ripe.net";
672
	"2001:3800::/22" = "whois.ripe.net";
673
	"2001:3C00::/22" = "whois.arin.net"; # not correct, but shows better information
674
	"2001:4000::/23" = "whois.ripe.net";
675
	"2001:4200::/23" = "whois.afrinic.net";
676
	"2001:4400::/23" = "whois.apnic.net";
677
	"2001:4600::/23" = "whois.ripe.net";
678
	"2001:4800::/23" = "whois.arin.net";
679
	"2001:4A00::/23" = "whois.ripe.net";
680
	"2001:4C00::/23" = "whois.ripe.net";
681
	"2001:5000::/20" = "whois.ripe.net";
682
	"2001:8000::/19" = "whois.apnic.net";
683
	"2001:A000::/20" = "whois.apnic.net";
684
	"2001:B000::/20" = "whois.apnic.net";
685
 
686
	"2002:0000::/16" = "whois.arin.net"; # not correct, but shows better information
687
 
688
	"2003:0000::/18" = "whois.ripe.net";
689
 
690
	"2400:0000::/12" = "whois.apnic.net";
691
 
692
	"2600:0000::/12" = "whois.arin.net";
693
	"2610:0000::/23" = "whois.arin.net";
694
	"2620:0000::/23" = "whois.arin.net";
695
 
696
	"2800:0000::/12" = "whois.lacnic.net";
697
 
698
	"2C00:0000::/12" = "whois.afrinic.net";
699
 
700
	#
701
	# IPv6 blocks by carriers used for SixXS;
702
	# see e.g. http://www.sixxs.net/pops/
703
	#
704
	"2001:0610::/32" = "whois.sixxs.net";
705
	"2001:06A0::/32" = "whois.sixxs.net";
706
	"2001:06A8::/32" = "whois.sixxs.net";
707
	"2001:06F8::/32" = "whois.sixxs.net";
708
	"2001:0770::/32" = "whois.sixxs.net";
709
	"2001:07B8::/32" = "whois.sixxs.net";
710
	"2001:0808::/32" = "whois.sixxs.net";
711
	"2001:0838::/32" = "whois.sixxs.net";
712
	"2001:0960::/32" = "whois.sixxs.net";
713
	"2001:0A60::/32" = "whois.sixxs.net";
714
	"2001:0AD0::/32" = "whois.sixxs.net";
715
	"2001:0B18::/32" = "whois.sixxs.net";
716
	"2001:1418::/32" = "whois.sixxs.net";
717
	"2001:14B8::/32" = "whois.sixxs.net";
718
	"2001:15C0::/32" = "whois.sixxs.net";
719
	"2001:16D8::/32" = "whois.sixxs.net";
720
	"2001:1938::/32" = "whois.sixxs.net";
721
	"2001:4830::/32" = "whois.sixxs.net";
722
	"2001:4978::/32" = "whois.sixxs.net";
723
	"2001:41E0::/32" = "whois.sixxs.net";
724
	"2001:4428::/32" = "whois.sixxs.net";
725
	"2A01:0198::/32" = "whois.sixxs.net";
726
	"2A01:0348::/32" = "whois.sixxs.net";
727
 
728
	#
729
	# Experimental IPv6 network 6bone (RFC2471)
730
	# Phaseout at Jun, 6 2006 (RFC3701)
731
	#
732
	"3FFE::/16" = "whois.6bone.net";
733
}
734
 
735
#
736
# Handles for the various registries.
737
#
738
handles {
739
	type = regex;
740
 
741
	"^!?NET\\(BLK\\)?\\(-[A-Z0-9]+\\)+$" = "whois.arin.net";
742
 
743
	"^COCO-[0-9]+$" = "whois.corenic.net";
744
	"^CORE-[0-9]+$" = "whois.corenic.net";
745
	"^COHO-[0-9]+$" = "whois.corenic.net";
746
 
747
	".*-RIPE$" = "whois.ripe.net";
748
	".*-MNT$" = "whois.ripe.net";
749
	".*-ARIN$" = "whois.arin.net";
750
	".*-AP$" = "whois.apnic.net";
751
	".*-ORG$" = "whois.internic.net";
752
	".*-DOM$" = "whois.internic.net";
753
	".*-NORID$" = "whois.norid.no";
754
	".*-GANDI$" = "whois.gandi.net";
755
	".*-AU$" = "whois.aunic.net";
756
	".*-CKNIC" = "whois.nic.ck";
757
	".*-IDNIC$" = "whois.idnic.net.id";
758
	".*-KG$" = "whois.domain.kg";
759
	".*-NICAT$" = "whois.nic.at";
760
	".*-CZ$" = "whois.nic.cz";
761
	".*-NICIR$" = "whois.nic.ir";
762
	".*-UYNIC$" = "whois.nic.org.uy";
763
	".*-ITNIC$" = "whois.nic.it";
764
	".*-FRNIC$" = "whois.nic.fr";
765
	".*-LACNIC$" = "whois.lacnic.net";
766
	".*-DK$" = "whois.dk-hostmaster.dk";
767
	".*-SA$" {
768
		whois-server = "saudinic.net.sa";
769
		query-format = "PERSON $*";
770
	}
771
	".*-SIXXS$" = "whois.sixxs.net";
772
	".*-6BONE$" = "whois.6bone.net";
773
	".*-IRNIC$" = "whois.nic.ir";
774
	".*-RIPN$" = "whois.ripn.net";
775
	".*-AFRINIC$" = "whois.afrinic.net";
776
	"^C[0-9]+-LRMS$" {
777
		whois-server = "whois.afilias.info";
778
		query-format = "CONTACT ID $*";
779
	}
780
	"^D[0-9]+-LRMS$" {
781
		whois-server = "whois.afilias.info";
782
		query-format = "DOMAIN ID $*";
783
	}
784
	"^H[0-9]+-LRMS$" {
785
		whois-server = "whois.afilias.info";
786
		query-format = "HOST ID $*";
787
	}
788
	"^R[0-9]+-LRMS$" {
789
		whois-server = "whois.afilias.info";
790
		query-format = "REGISTRAR ID $*";
791
	}
792
	".*-KENIC$" = "whois.kenic.or.ke";
793
	".*-UANIC$" = "whois.com.ua";
794
	".*-COOP$" {
795
		whois-server = "whois.nic.coop";
796
		query-format = "CONTACT $*";
797
	}
798
	".*CONTACT-NAME$" {
799
		whois-server = "whois.nic.name";
800
		query-format = "contact = $*";
801
	}
802
	".*REGISTRAR-NAME$" {
803
		whois-server = "whois.nic.name";
804
		query-format = "registrar = $*";
805
	}
806
	"^C[0-9]+-AERO$" {
807
		whois-server = "whois.aero";
808
		query-format = "CONTACT ID $*";
809
	}
810
	"^D[0-9]+-AERO$" {
811
		whois-server = "whois.aero";
812
		query-format = "DOMAIN ID $*";
813
	}
814
}
815
 
816
#
817
# The server-options block defines a number of options specific for
818
# each host.
819
#
820
server-options {
821
	"rwhois\\.exodus\\.net" {
822
		rwhois = true;
823
	}
824
	"whois\\.publicinterestregistry\\.net" {
825
		whois-redirect = ".*Whois Server:\\(.*\\)";
826
	}
827
	".*\\.internic\\.net" {
828
		#
829
		# This will match output from whois.internic.net. The
830
		# parenteses must be escaped and should enclose the hostname
831
		# to which to redirect the search.
832
		#
833
		whois-redirect = ".*Whois Server: \\(.*\\)";
834
	}
835
 
836
	"whois\\.crsnic\\.net" {
837
		whois-redirect = ".*Whois Server: \\(.*\\)";
838
	}
839
 
840
	"whois\\.apnic\\.net" {
841
		whois-redirect = ".*http://\\(whois\\.nic\\.or\\.kr\\)/";
842
		whois-redirect = ".*at \\([Ww][Hh][Oo][Ii][Ss]\\.[A-Za-z]*\\.[Nn][Ee][Tt]\\)";
843
	}
844
 
845
	"whois\\.arin\\.net" {
846
		#
847
		# Content redirection for whois.arin.net - allows redirection
848
		# of European and Asia-Pacific addresses to the appropriate
849
		# servers.
850
		#
851
		whois-redirect = ".*at \\([Ww][Hh][Oo][Ii][Ss]\\.[A-Za-z]*\\.[Nn][Ee][Tt]\\)";
852
		whois-redirect = ".* \\([Rr]+[Ww][Hh][Oo][Ii][Ss]\\.[A-Za-z]*\\.[Nn][Ee][Tt]\\) \\([0-9]*\\)";
853
		whois-redirect = ".* r?whois://\\([^:]*\\):?\\([0-9]*\\)?/?";
854
	}
855
 
856
	"whois\\.ncst\\.ernet\\.in" {
857
		# query-format defines how to format a whois query.
858
		# The special variable $* will be replaced by
859
		# the query as specified by the user.
860
		query-format = "domain $*";
861
	}
862
 
863
	".*\\.connect\\.com\\.au" {
864
		#
865
		# Referals from the net.au whois server.
866
		#
867
		whois-redirect =  ".*referto: whois -h \\([^ ]*\\) -p \\([0-9]*\\)";
868
	}
869
 
870
	"whois\\.co\\.za" {
871
		http = "true";
872
		http-method = "GET";
873
		http-action = "/cgi-bin/whois.sh";
874
		form-element = "Domain";			# <input> element
875
	}
876
 
877
	"www\\.nic\\.es" {
878
		http = "true";
879
		http-method = "POST";
880
		http-action = "/cgi-bin/consulta.whois";
881
		form-element = "key";
882
		form-extra = "list=Dominios&tipo=procesar";	# Other <input> elements
883
	}
884
 
885
	"www\\.nic\\.tt" {
886
		http = "true";
887
		http-method = "POST";
888
		http-action = "/cgi-bin/search.pl";
889
		form-element = "name";
890
	}
891
 
892
	"www\\.gt" {
893
		http = "true";
894
		http-method = "GET";
895
		http-action = "/cgi-bin/whois.cgi";
896
		form-element = "domain";
897
	}
898
 
899
	# This uses an advanced query using the query-format syntax.
900
	# query-format cannot be combined with form-element or form-extra.
901
	"www\\.dns\\.hr" {
902
		http = "true";
903
		http-method = "POST";
904
		http-action = "/asp/trazidomenu.asp";
905
		query-format = "Upit=${+2}"; # All but last domain segment
906
	}
907
 
908
	"www\\.io\\.io" {
909
		http = "true";
910
		http-method = "GET";
911
		http-action = "/cgi-bin/whois";
912
		form-element = "query";
913
	}
914
 
915
	"www\\.nic\\.ec" {
916
		http = "true";
917
		http-method = "GET";
918
		http-action = "/consulta/whois.asp";
919
		form-element = "dominio";
920
	}
921
 
922
	"www\\.nic\\.gi" {
923
		http = "true";  # At least, I can't connect on port 43
924
		http-method = "POST";
925
		http-action = "/whois/";
926
		form-element = "lookup";
927
	}
928
 
929
	"www\\.nic\\.kz" {
930
		# whois.nic.kz exists but wasn't checkable
931
		http = "true";
932
		http-method = "GET";
933
		http-action = "/cgi-bin/whois";
934
		form-element = "query";
935
	}
936
 
937
	"whois\\.nic\\.bi" {
938
		http = "true"; # I can't connect on port 43
939
		http-method = "GET";
940
		http-action = "/register/whois.hei";
941
		form-element = "query";
942
		form-extra = "type=domain";
943
	}
944
 
945
	"www\\.nic\\.cg" {
946
		http = "true";
947
		http-method = "POST";
948
		http-action = "/cgi-bin/whoiscg.pl"; # Formatting problems in Lynx
949
		form-element = "DOMAINWHOIS";
950
	}
951
 
952
	"www\\.nic\\.rw" {
953
		http = "true";
954
		http-method = "POST";
955
		http-action = "/cgi-bin/whoisrw.pl"; # Formatting problems in Lynx
956
		form-element = "DOMAINWHOIS";
957
	}
958
 
959
	"www\\.tarsus\\.net" {
960
		http = "true";
961
		http-method = "POST";
962
		http-action = "/whois/NameSearch.asp";
963
		form-element = "searchfor";
964
	}
965
 
966
	"pknic\\.net\\.pk" {
967
		http = "true";
968
		http-method = "POST";
969
		http-action = "/cgi-bin/pknic-db/display.html";
970
		form-element = "name";
971
	}
972
 
973
	"www\\.nic\\.vi" {
974
		http = "true";
975
		http-method = "POST";
976
		http-action = "/whois.asp";
977
		form-element = "text1";
978
	}
979
 
980
	"www\\.vnnic\\.net\\.vn" {
981
		http = "true";
982
		http-method = "GET";
983
		http-action = "/dk_tenmien/jsp/whois/whoisdomain_detail.jsp";
984
		form-element = "type";
985
	}
986
 
987
	"dns\\.antel\\.net\\.uy" {
988
		http = "true";
989
		http-method = "POST";
990
		http-action = "/public-servlets/buscarDominio";
991
		form-element = "nomReg";
992
	}
993
 
994
	"www\\.nic\\.tg" {
995
		http = "true";
996
		http-method = "POST";
997
		http-action = "/nictg/indexplus.php?pg=verifdom&op=whois";
998
		query-format = "tosearch=${+2}&typedom=.tg";
999
	}
1000
 
1001
	"cgi\\.aub\\.edu\\.lb" {
1002
		http = "true";
1003
		http-method = "GET";
1004
		http-action = "/cgi-bin/lbdr.pl";
1005
		form-element = "cn";
1006
	}
1007
 
1008
	"www\\.vunic\\.vu" {
1009
		http = "true";
1010
		http-method = "POST";
1011
		http-action = "/whois";
1012
		form-element = "whois";
1013
	}
1014
 
1015
	"whois\\.lacnic\\.net" {
1016
		whois-redirect = ".*\\(whois.nic.br\\)";
1017
		whois-redirect = ".*\\(whois.registro.br\\)";
1018
		whois-redirect = ".* \\([Rr]+[Ww][Hh][Oo][Ii][Ss]\\.[A-Za-z]*\\.[Nn][Ee][Tt]\\) port \\([0-9]*\\)";
1019
	}
1020
 
1021
	"www\\.nic\\.ar" {
1022
		http = "true";
1023
		http-method = "POST";
1024
		http-action = "/consultas/consdom.html";
1025
		form-element = "nombre";
1026
	}
1027
 
1028
	"whois\\.denic\\.de" {
1029
		whois-server = "whois.denic.de";
1030
		query-format = "-C UTF-8 -T dn,ace $*";
1031
		answer-charset = "UTF-8";
1032
	}
1033
 
1034
	"whois\\.enum\\.denic\\.de" {
1035
		whois-server = "whois.enum.denic.de";
1036
		query-format = "-C UTF-8 -T dn $*";
1037
		answer-charset = "UTF-8";
1038
	}
1039
 
1040
	"whois\\.nic\\.ad\\.jp" {
1041
		query-format = "$*/e";
1042
	}
1043
 
1044
	"whois\\.nic\\.ch" {
1045
		answer-charset = "UTF-8";
1046
	}
1047
 
1048
	"whois\\.nic\\.li" {
1049
		answer-charset = "UTF-8";
1050
	}
1051
 
1052
	"whois\\.centralnic\\.*" {
1053
                whois-redirect = ".*Whois Server: \\(.*\\)";
1054
        }
1055
 
1056
	".*\\.verisign-grs\\.com" {
1057
		whois-redirect = ".*Whois Server: \\(.*\\)";
1058
	}
1059
 
1060
	"whois\\.sixxs\\.net" {
1061
		whois-redirect = ".*ReferralServer: whois:\/\/\\(.*\\)";
1062
        }
1063
 
1064
	"whois2\\.afilias-grs\\.net" {
1065
		whois-redirect = "Whois Server:\\(.*\\)";
1066
	}
1067
 
1068
	"whois\\.registrar\\.telekom\\.de" {
1069
		query-format = "full $*";
1070
	}
1071
 
1072
	"whois\\.rrpproxy\\.net" {
1073
		answer-charset = "UTF-8";
1074
	}
1075
 
1076
	"www\\.nom\\.za" {
1077
		http = "true";
1078
		http-method = "POST";
1079
		http-action = "/do.php";
1080
		query-format = "chkDomain=${+3}&chkAvail=Check";
1081
	}
1082
 
1083
	"www\\.nic\\.pa" {
1084
		http = "true";
1085
		http-method = "GET";
1086
		http-action = "/egh/whois.php";
1087
		form-element = "nombre_d";
1088
	}
1089
 
1090
	"www\\.nic\\.dz" {
1091
		http = "true";
1092
		http-method = "POST";
1093
		http-action = "/index.php?option=com_content&task=view&id=37&Itemid=51";
1094
		form-element = "domain_name";
1095
	}
1096
 
1097
	"www\\.nic\\.yu" {
1098
		http = "true";
1099
		http-method = "GET";
1100
		http-action = "/cgi-bin/checkavail.cgi";
1101
		form-element = "domain";
1102
	}
1103
 
1104
	"whois\\.dotster\\.com" {
1105
		answer-charset = "UTF-8";
1106
	}
1107
 
1108
	"www\\.ert\\.gov\\.al" {
1109
		http = "true";
1110
		http-method = "POST";
1111
		http-action = "/ert_eng/domain_res.html";
1112
		query-format = "Domain=${+2}";
1113
	}
1114
 
1115
	"www\\.nic\\.cu" {
1116
		http = "true";
1117
		http-method = "GET";
1118
		http-action = "/dom_det.php";
1119
		form-element = "domsrch";
1120
	}
1121
 
1122
	"www\\.nic\\.ps" {
1123
		http = "true";
1124
		http-method = "GET";
1125
		http-action = "/whois/domain_whois.php";
1126
		form-element = "dname";
1127
	}
1128
 
1129
	"www\\.svnet\\.org\\.sv" {
1130
		http = "true";
1131
		http-method = "POST";
1132
		http-action = "/registro/consultas/whois.php";
1133
		form-element = "subdominio";
1134
	}
1135
 
1136
	"www\\.zispa\\.co\\.zw" {
1137
		http = "true";
1138
		http-method = "GET";
1139
		http-action = "/cgi-bin/search";
1140
		form-element = "domain";
1141
	}
1142
 
1143
	"www\\.riu\\.edu\\.ar" {
1144
		http = "true";
1145
		http-method = "POST";
1146
		http-action = "/cgi-bin/verdom.pl.nuevo";
1147
		query-format = "username=${+3}";
1148
	}
1149
 
1150
	"www\\.register\\.bs" {
1151
		http = "true";
1152
		http-method = "POST";
1153
		http-action = "/cgi-bin/search.pl";
1154
		form-element = "name";
1155
	}
1156
 
1157
	"www\\.domain\\.by" {
1158
		http = "true";
1159
		http-method = "POST";
1160
		http-action = "/cgi-bin/registry.cgi";
1161
		query-format = "domain=${+2}&lang=e&mode=slquest";
1162
	}
1163
 
1164
	"www\\.nic\\.ac" {
1165
		http = "true";
1166
		http-method = "GET";
1167
		http-action = "/cgi-bin/whois";
1168
		form-element = "textfield";
1169
	}
1170
}
1171
 
1172
#
1173
# The cache feature is used to provide a local cache with Whois information.
1174
# Note that the cache feature might have been disabled at compile time and
1175
# thus not be available on this system.
1176
#
1177
# By default, the location of the database is /usr/local/var/jwhois.db and the
1178
# default expire time is 7 days, but you can change those below.
1179
#
1180
#cachefile = "/var/lib/jwhois.db";
1181
 
1182
#
1183
# This is the time after which an entry expires from the cache in hours.
1184
#
1185
#cacheexpire = 168;
1186
 
1187
#
1188
# If you're using the whois-servers support, you can specify this option
1189
# to override the compiled in domain for that service.
1190
#
1191
#whois-servers-domain = "whois-servers.net";
1192
 
1193
#
1194
# Path to the browser to use for HTTP servers.
1195
#
1196
browser-pathname = "/usr/bin/lynx";
1197
 
1198
#
1199
# Command line argument to browser to get output on stdout.
1200
#
1201
browser-stdarg = "-dump";
1202
 
1203
#
1204
# Command line argument to browser to perform a POST operation.
1205
# Jwhois currently supports the format used by Lynx and W3M.
1206
#
1207
browser-postarg = "-post_data";
1208
 
1209
#
1210
# Select the method for which Jwhois sends POST data to the browser.
1211
# If post-as-file is false, Jwhois will send the data on stdin
1212
# terminated with three dashes on an empty line, i.e the format that
1213
# Lynx expects.
1214
# If post-as-file is true, Jwhois will create a temporary file with
1215
# the post data and send the file name after the browser-postarg
1216
# parameter, i.e the format that W3M expects.
1217
#
1218
post-as-file = "false";
1219
 
1220
#
1221
# To use w3m instead of Lynx, use this configuration:
1222
#
1223
# browser-pathname = "/usr/bin/w3m";
1224
# browser-stdarg = "-dump";
1225
# browser-postarg = "-post";
1226
# post-as-file = "true";
1227
#
1228
 
1229
#
1230
# Set connect-timeout to a positive integer to make the connection to
1231
# remote hosts timeout after the specified number of seconds, if the
1232
# remote host doesn't reply. By default, the timeout is 75 seconds.
1233
#
1234
#connect-timeout = 3;