]> git.ipfire.org Git - ipfire-3.x.git/blob - jwhois/patches/jwhois-4.0-conf_update.patch
Move all packages to root.
[ipfire-3.x.git] / jwhois / patches / jwhois-4.0-conf_update.patch
1 diff -up jwhois-4.0/example/jwhois.conf.conf_update jwhois-4.0/example/jwhois.conf
2 --- jwhois-4.0/example/jwhois.conf.conf_update 2009-02-27 10:17:01.000000000 +0100
3 +++ jwhois-4.0/example/jwhois.conf 2009-02-27 10:57:26.000000000 +0100
4 @@ -32,6 +32,7 @@ whois-servers {
5 "^CORE-[0-9]+$" = "struct handles";
6 "^CO[CH]O-[0-9]+$" = "struct handles";
7 ".*-[A-Z]+$" = "struct handles";
8 + ".*-6BONE$" = "struct handles";
9
10 #
11 # Catch AS numbers
12 @@ -86,6 +87,7 @@ whois-servers {
13 # Pseudo-ccTLDs must be listed above gTLDs
14 #
15 "\\.ae\\.org$" = "whois.centralnic.net";
16 + "\\.ar\\.com$" = "whois.centralnic.com";
17 "\\.br\\.com$" = "whois.centralnic.net";
18 "\\.cn\\.com$" = "whois.centralnic.net";
19 "\\.de\\.com$" = "whois.centralnic.net";
20 @@ -108,17 +110,21 @@ whois-servers {
21 "\\.uy\\.com$" = "whois.centralnic.net";
22 "\\.web\\.com$" = "whois.centralnic.net";
23 "\\.za\\.com$" = "whois.centralnic.net";
24 + "\\.za\\.net$" = "whois.za.net";
25 + "\\.za\\.org$" = "whois.za.org";
26
27 "\\.ac$" = "whois.nic.ac";
28 - "\\.ae$" = "whois.uaenic.ae";
29 + "\\.ae$" = "whois.aeda.net.ae";
30 "\\.aero$" = "whois.aero";
31 - "\\.af$" = "whois.nic.af";
32 + "\\.af$" = "whois.cocca.cx";
33 "\\.ag$" = "whois.nic.ag";
34 - "\\.ai$" = "whois.offshore.ai";
35 + "\\.ai$" = "whois.ai";
36 "\\.al$" = "whois.ripe.net";
37 "\\.am$" = "whois.amnic.net";
38 "\\.ar$" = "www.nic.ar";
39 + "\\.arpa$" = "whois.iana.org";
40 "\\.as$" = "whois.nic.as";
41 + "\\.asia$" = "whois.nic.asia";
42 "\\.at$" = "whois.nic.at";
43 "\\.asn\\.au$" = "whois.ausregistry.net.au";
44 "\\.com\\.au$" = "whois.ausregistry.net.au";
45 @@ -130,25 +136,33 @@ whois-servers {
46 "\\.ba$" = "whois.ripe.net";
47 "\\.be$" = "whois.dns.be";
48 "\\.bg$" = "whois.register.bg";
49 - "\\.bi$" = "www.nic.bi";
50 - "\\.biz$" = "whois.neulevel.biz";
51 + "\\.bi$" = "whois.nic.bi";
52 + "\\.biz$" = "whois.biz";
53 "\\.bj$" = "whois.nic.bj";
54 "\\.bm$" = "rwhois.ibl.bm 4321";
55 + "\\.bo$" = "whois.nic.bo";
56 "\\.br$" = "whois.nic.br";
57 "\\.bv$" = "whois.ripe.net";
58 "\\.by$" = "whois.ripe.net";
59 "\\.bz$" = "whois.belizenic.bz";
60 + "\\.co\\.ca$" = "whois.co.ca";
61 "\\.ca$" = "whois.cira.ca";
62 "\\.cat$" = "whois.cat";
63 - "\\.cc$" = "whois.nic.cc";
64 + "\\.cc$" {
65 + whois-server = "ccwhois.verisign-grs.com";
66 + query-format = "domain $*";
67 + }
68 "\\.cd$" = "whois.nic.cd";
69 "\\.cg$" = "www.nic.cg";
70 "\\.ch$" = "whois.nic.ch";
71 "\\.ci$" = "whois.nic.ci";
72 "\\.ck$" = "whois.nic.ck";
73 "\\.cl$" = "whois.nic.cl";
74 + "\\.co\\.cm$" = "whois.netcom.cm";
75 + "\\.com\\.cm$" = "whois.netcom.cm";
76 + "\\.net\\.cm$" = "whois.netcom.cm";
77 "\\.edu\\.cn$" = "whois.edu.cn";
78 - "\\.cn$" = "whois.cnnic.net.cn";
79 + "\\.cn$" = "whois.cnnic.cn";
80 "\\.com$" {
81 whois-server = "whois.verisign-grs.com";
82 query-format = "domain $*";
83 @@ -166,7 +180,7 @@ whois-servers {
84 "\\.do$" = "whois.nic.do";
85 "\\.dz$" = "whois.ripe.net";
86 "\\.ec$" = "www.nic.ec";
87 - "\\.edu$" = "whois.educause.net";
88 + "\\.edu$" = "whois.educause.edu";
89 "\\.ee$" = "whois.eenet.ee";
90 "\\.eg$" = "whois.ripe.net";
91 "\\.es$" = "www.nic.es";
92 @@ -176,17 +190,20 @@ whois-servers {
93 "\\.fm$" = "www.dot.fm";
94 "\\.fo$" = "whois.ripe.net";
95 "\\.fr$" = "whois.nic.fr";
96 + "\\.gd$" = "whois.adamsnames.com";
97 "\\.gi$" = "whois2.afilias-grs.net";
98 "\\.gov$" = "whois.nic.gov";
99 - "\\.gg$" = "whois.isles.net";
100 + "\\.gg$" = "whois.gg";
101 "\\.gm$" = "whois.ripe.net";
102 "\\.gp$" = "whois.nic.gp";
103 "\\.gr$" = "whois.ripe.net";
104 - "\\.gs$" = "203.119.12.22";
105 + "\\.gs$" = "whois.nic.gs";
106 "\\.gt$" = "www.gt";
107 - "\\.hk$" = "whois.hkdnr.net.hk";
108 + "\\.hk$" = "whois.hkirc.hk";
109 "\\.hm$" = "whois.registry.hm";
110 + "\\.hn$" = "whois2.afilias-grs.net";
111 "\\.hr$" = "www.dns.hr";
112 + "\\.ht$" = "whois.nic.ht";
113 "\\.hu$" = "whois.nic.hu";
114 "\\.id$" = "whois.idnic.net.id";
115 "\\.ie$" = "whois.domainregistry.ie";
116 @@ -200,29 +217,39 @@ whois-servers {
117 "\\.is$" = "whois.isnic.is";
118 "\\.it$" = "whois.nic.it";
119 "\\.je$" = "whois.isles.net";
120 + "\\.jobs$" {
121 + whois-server = "jobswhois.verisign-grs.com";
122 + query-format = "domain $*";
123 + }
124 "\\.jp$" {
125 whois-server = "whois.jprs.jp";
126 query-format = "$* /e";
127 }
128 + "\\.ke$" = "whois.kenic.or.ke";
129 + "\\.kp$" = "whois.kcce.kp";
130 "\\.kg$" = "whois.domain.kg";
131 - "\\.ki$" = "whois.nic.ki";
132 + "\\.ki$" = "whois.cocca.cx";
133 "\\.kr$" = "whois.krnic.net";
134 "\\.kz$" = "whois.nic.kz";
135 "\\.la$" = "whois.nic.la";
136 "\\.lb$" = "cgi.aub.edu.lb";
137 + "\\.lc$" = "whois2.afilias-grs.net";
138 "\\.li$" = "whois.nic.li";
139 "\\.lk$" = "whois.nic.lk";
140 "\\.lt$" = "whois.domreg.lt";
141 "\\.lu$" = "whois.dns.lu";
142 "\\.lv$" = "whois.nic.lv";
143 "\\.ly$" = "whois.nic.ly";
144 - "\\.ma$" = "whois.ripe.net";
145 + "\\.ma$" = "whois.iam.net.ma";
146 + "\\.md$" = "whois.nic.md";
147 + "\\.me$" = "whois.nic.me";
148 "\\.mil$" = "whois.nic.mil";
149 "\\.mk$" = "whois.ripe.net";
150 "\\.mm$" = "whois.nic.mm";
151 + "\\.mn$" = "whois2.afilias-grs.net";
152 "\\.mobi$" = "whois.dotmobiregistry.net";
153 - "\\.ms$" = "whois.adamsnames.tc";
154 - "\\.mt$" = "www.um.edu.mt";
155 + "\\.ms$" = "whois.nic.ms";
156 + "\\.mt$" = "whois.nic.org.mt";
157 "\\.mu$" = "whois.nic.mu";
158 "\\.museum$" = "whois.museum";
159 "\\.mw$" = "www.tarsus.net";
160 @@ -234,31 +261,37 @@ whois-servers {
161 whois-server = "whois.verisign-grs.com";
162 query-format = "domain $*";
163 }
164 + "\\.nf$" = "whois.cocca.cx";
165 "\\.ng$" = "whois.rg.net";
166 "\\.nl$" = "whois.domain-registry.nl";
167 "\\.no$" = "whois.norid.no";
168 "\\.nu$" = "whois.nic.nu";
169 "\\.nz$" = "whois.srs.net.nz";
170 "\\.org$" = "whois.publicinterestregistry.net";
171 - "\\.pe$" = "whois.nic.pe";
172 + "\\.pe$" = "kero.yachay.pe";
173 "\\.pk$" = "pknic.net.pk";
174 "\\.pl$" = "whois.dns.pl";
175 "\\.pm$" = "whois.nic.pm";
176 + "\\.pr$" = "whois.nic.pr";
177 "\\.pro$" = "whois.registrypro.pro";
178 "\\.pt$" = "whois.dns.pt";
179 "\\.pw$" = "whois.nic.pw";
180 "\\.re$" = "whois.nic.re";
181 "\\.ro$" = "whois.rotld.ro";
182 + "\\.edu\.ru$" = "whois.informika.ru";
183 "\\.ru$" = "whois.ripn.net";
184 "\\.rw$" = "www.nic.rw";
185 "\\.sa$" = "saudinic.net.sa";
186 + "\\.sb$" = "whois.nic.sb";
187 + "\\.sc$" = "whois2.afilias-grs.net";
188 "\\.se$" = "whois.iis.se";
189 "\\.sg$" = "whois.nic.net.sg";
190 "\\.sh$" = "whois.nic.sh";
191 "\\.si$" = "whois.arnes.si";
192 "\\.sj$" = "whois.ripe.net";
193 - "\\.sk$" = "whois.ripe.net";
194 + "\\.sk$" = "whois.sk-nic.sk";
195 "\\.sm$" = "whois.ripe.net";
196 + "\\.sn$" = "whois.nic.sn";
197 "\\.sr$" = "whois.register.sr";
198 "\\.st$" = "whois.nic.st";
199 "\\.su$" = "whois.ripn.net";
200 @@ -273,8 +306,12 @@ whois-servers {
201 "\\.tn$" = "whois.ripe.net";
202 "\\.to$" = "whois.tonic.to";
203 "\\.tr$" = "whois.nic.tr";
204 + "\\.travel$" = "whois.nic.travel";
205 "\\.tt$" = "www.nic.tt";
206 - "\\.tv$" = "whois.nic.tv";
207 + "\\.tv$" {
208 + whois-server = "tvwhois.verisign-grs.com";
209 + query-format = "domain $*";
210 + }
211 "\\.tw$" = "whois.twnic.net";
212 "\\.ua$" = "whois.com.ua";
213 "\\.ug$" = "whois.co.ug";
214 @@ -285,8 +322,11 @@ whois-servers {
215 "\\.us$" = "whois.nic.us";
216 "\\.com\\.uy$" = "dns.antel.net.uy";
217 "\\.uy$" = "www.rau.edu.uy"; # is a whois server
218 - "\\.uz$" = "www.noc.uz";
219 + "\\.co\\.uz$" = "whois.reg.uz";
220 + "\\.com\\.uz$" = "whois.reg.uz";
221 + "\\.uz$" = "whois.cctld.uz";
222 "\\.va$" = "whois.ripe.net";
223 + "\\.vc$" = "whois2.afilias-grs.net";
224 "\\.ve$" = "whois.nic.ve";
225 "\\.vi$" = "www.nic.vi";
226 "\\.vg$" = "whois.adamsnames.tc";
227 @@ -299,6 +339,7 @@ whois-servers {
228 "\\.ac\\.za$" = "whois.ac.za";
229 "\\.org\\.za$" = "rwhois.org.za 4321";
230 "\\.co\\.za$" = "whois.co.za";
231 + "\\.nom\\.za$" = "www.nom.za";
232 # "\\.za$" = "whois.frd.ac.za";
233
234 #
235 @@ -594,7 +635,7 @@ cidr-blocks {
236 cidr6-blocks {
237 type = cidr6;
238
239 - "2001:0000::/23" = "whois.iana.org";
240 + "2001:0000::/23" = "whois.iana.org"; # correct, but nothing usable is returned
241 "2001:0200::/23" = "whois.apnic.net";
242 "2001:0400::/23" = "whois.arin.net";
243 "2001:0600::/23" = "whois.ripe.net";
244 @@ -611,6 +652,7 @@ cidr6-blocks {
245 "2001:2000::/20" = "whois.ripe.net";
246 "2001:3000::/21" = "whois.ripe.net";
247 "2001:3800::/22" = "whois.ripe.net";
248 + "2001:3C00::/22" = "whois.arin.net"; # not correct, but shows better information
249 "2001:4000::/23" = "whois.ripe.net";
250 "2001:4200::/23" = "whois.afrinic.net";
251 "2001:4400::/23" = "whois.apnic.net";
252 @@ -623,6 +665,8 @@ cidr6-blocks {
253 "2001:A000::/20" = "whois.apnic.net";
254 "2001:B000::/20" = "whois.apnic.net";
255
256 + "2002:0000::/16" = "whois.arin.net"; # not correct, but shows better information
257 +
258 "2003:0000::/18" = "whois.ripe.net";
259
260 "2400:0000::/12" = "whois.apnic.net";
261 @@ -636,6 +680,34 @@ cidr6-blocks {
262 "2C00:0000::/12" = "whois.afrinic.net";
263
264 #
265 + # IPv6 blocks by carriers used for SixXS;
266 + # see e.g. http://www.sixxs.net/pops/
267 + #
268 + "2001:0610::/32" = "whois.sixxs.net";
269 + "2001:06A0::/32" = "whois.sixxs.net";
270 + "2001:06A8::/32" = "whois.sixxs.net";
271 + "2001:06F8::/32" = "whois.sixxs.net";
272 + "2001:0770::/32" = "whois.sixxs.net";
273 + "2001:07B8::/32" = "whois.sixxs.net";
274 + "2001:0808::/32" = "whois.sixxs.net";
275 + "2001:0838::/32" = "whois.sixxs.net";
276 + "2001:0960::/32" = "whois.sixxs.net";
277 + "2001:0A60::/32" = "whois.sixxs.net";
278 + "2001:0AD0::/32" = "whois.sixxs.net";
279 + "2001:0B18::/32" = "whois.sixxs.net";
280 + "2001:1418::/32" = "whois.sixxs.net";
281 + "2001:14B8::/32" = "whois.sixxs.net";
282 + "2001:15C0::/32" = "whois.sixxs.net";
283 + "2001:16D8::/32" = "whois.sixxs.net";
284 + "2001:1938::/32" = "whois.sixxs.net";
285 + "2001:4830::/32" = "whois.sixxs.net";
286 + "2001:4978::/32" = "whois.sixxs.net";
287 + "2001:41E0::/32" = "whois.sixxs.net";
288 + "2001:4428::/32" = "whois.sixxs.net";
289 + "2A01:0198::/32" = "whois.sixxs.net";
290 + "2A01:0348::/32" = "whois.sixxs.net";
291 +
292 + #
293 # Experimental IPv6 network 6bone (RFC2471)
294 # Phaseout at Jun, 6 2006 (RFC3701)
295 #
296 @@ -678,6 +750,33 @@ handles {
297 whois-server = "saudinic.net.sa";
298 query-format = "PERSON $*";
299 }
300 + ".*-SIXXS$" = "whois.sixxs.net";
301 + ".*-6BONE$" = "whois.6bone.net";
302 + ".*-IRNIC$" = "whois.nic.ir";
303 + ".*-RIPN$" = "whois.ripn.net";
304 + ".*-AFRINIC$" = "whois.afrinic.net";
305 + "^C[0-9]+-LRMS$" {
306 + whois-server = "whois.afilias.info";
307 + query-format = "CONTACT ID $*";
308 + }
309 + "^D[0-9]+-LRMS$" {
310 + whois-server = "whois.afilias.info";
311 + query-format = "DOMAIN ID $*";
312 + }
313 + "^H[0-9]+-LRMS$" {
314 + whois-server = "whois.afilias.info";
315 + query-format = "HOST ID $*";
316 + }
317 + "^R[0-9]+-LRMS$" {
318 + whois-server = "whois.afilias.info";
319 + query-format = "REGISTRAR ID $*";
320 + }
321 + ".*-KENIC$" = "whois.kenic.or.ke";
322 + ".*-UANIC$" = "whois.com.ua";
323 + ".*-COOP$" {
324 + whois-server = "whois.nic.coop";
325 + query-format = "CONTACT $*";
326 + }
327 }
328
329 #
330 @@ -685,11 +784,6 @@ handles {
331 # each host.
332 #
333 server-options {
334 - "rwhois\\.nic\\.ve" {
335 - rwhois = true;
336 - rwhois-display = "dump";
337 - rwhois-limit = 10;
338 - }
339 "rwhois\\.exodus\\.net" {
340 rwhois = true;
341 }
342 @@ -761,13 +855,6 @@ server-options {
343 form-element = "name";
344 }
345
346 - "www\\.um\\.edu\\.mt" {
347 - http = "true";
348 - http-method = "GET";
349 - http-action = "/cgi-bin/nic/whois";
350 - form-element = "domain";
351 - }
352 -
353 "www\\.gt" {
354 http = "true";
355 http-method = "GET";
356 @@ -784,13 +871,6 @@ server-options {
357 query-format = "Upit=${+2}"; # All but last domain segment
358 }
359
360 - "whois\\.offshore\\.ai" {
361 - http = "true";
362 - http-method = "POST";
363 - http-action = "/cgi-bin/whois.pl";
364 - form-element = "domain-name";
365 - }
366 -
367 "www\\.io\\.io" {
368 http = "true";
369 http-method = "GET";
370 @@ -820,11 +900,12 @@ server-options {
371 form-element = "query";
372 }
373
374 - "www\\.nic\\.bi" {
375 - http = "true";
376 - http-method = "POST";
377 - http-action = "/cgi-bin/whoisbi.pl"; # Formatting problems in Lynx
378 - form-element = "DOMAINWHOIS";
379 + "whois\\.nic\\.bi" {
380 + http = "true"; # I can't connect on port 43
381 + http-method = "GET";
382 + http-action = "/register/whois.hei";
383 + form-element = "query";
384 + form-extra = "type=domain";
385 }
386
387 "www\\.nic\\.cg" {
388 @@ -855,13 +936,6 @@ server-options {
389 form-element = "name";
390 }
391
392 - "www\\.noc\\.uz" {
393 - http = "true";
394 - http-method = "POST";
395 - http-action = "/whois.php4";
396 - form-element = "dname";
397 - }
398 -
399 "www\\.nic\\.vi" {
400 http = "true";
401 http-method = "POST";
402 @@ -885,9 +959,9 @@ server-options {
403
404 "www\\.nic\\.tg" {
405 http = "true";
406 - http-method = "GET";
407 - http-action = "/moteur/info_dom.php";
408 - form-element = "domaine";
409 + http-method = "POST";
410 + http-action = "/nictg/indexplus.php?pg=verifdom&op=whois";
411 + query-format = "tosearch=${+2}&typedom=.tg";
412 }
413
414 "cgi\\.aub\\.edu\\.lb" {
415 @@ -917,38 +991,60 @@ server-options {
416 form-element = "nombre";
417 }
418
419 - "www\\.denic\\.de" {
420 - http = "true";
421 - http-method = "POST";
422 - http-action = "/en/whois/data.jsp";
423 - form-element = "domainname";
424 - form-extra = "service=WhoisData&lang=en&submit=Accept";
425 - }
426 "whois\\.denic\\.de" {
427 whois-server = "whois.denic.de";
428 query-format = "-C UTF-8 -T dn,ace $*";
429 answer-charset = "UTF-8";
430 }
431 +
432 "whois\\.enum\\.denic\\.de" {
433 whois-server = "whois.enum.denic.de";
434 query-format = "-C UTF-8 -T dn $*";
435 answer-charset = "UTF-8";
436 }
437 +
438 "whois\\.nic\\.ad\\.jp" {
439 query-format = "$*/e";
440 }
441 +
442 "whois\\.nic\\.ch" {
443 answer-charset = "UTF-8";
444 }
445 +
446 "whois\\.nic\\.li" {
447 answer-charset = "UTF-8";
448 }
449 +
450 "whois\\.centralnic\\.*" {
451 whois-redirect = ".*Whois Server: \\(.*\\)";
452 }
453 +
454 ".*\\.verisign-grs\\.com" {
455 whois-redirect = ".*Whois Server: \\(.*\\)";
456 }
457 +
458 + "whois\\.sixxs\\.net" {
459 + whois-redirect = ".*ReferralServer: whois:\/\/\\(.*\\)";
460 + }
461 +
462 + "whois2\\.afilias-grs\\.net" {
463 + whois-redirect = "Whois Server:\\(.*\\)";
464 + }
465 +
466 + "whois\\.registrar\\.telekom\\.de" {
467 + query-format = "full $*";
468 + }
469 +
470 + "whois\\.rrpproxy\\.net" {
471 + answer-charset = "UTF-8";
472 + }
473 +
474 + "www\\.nom\\.za" {
475 + http = "true";
476 + http-method = "POST";
477 + http-action = "/do.php";
478 + query-format = "chkDomain=${+3}&chkAvail=Check";
479 + }
480 }
481
482 #