import Net::Whois::Raw into install/5.005 directory *sigh*
[freeside.git] / install / 5.005 / Net-Whois-Raw / lib / Net / Whois / Raw / Data.pm
1 package Net::Whois::Raw::Data;
2
3 use strict;
4 use vars qw(%notfound %strip);
5
6 our %servers = qw(
7     COM    whois.crsnic.net
8     NET    whois.crsnic.net
9     EDU    whois.educause.net
10     ORG    whois.publicinterestregistry.net
11     ARPA   whois.arin.net
12     RIPE   whois.ripe.net
13     MIL    whois.nic.mil
14     COOP   whois.nic.coop
15     MUSEUM whois.museum
16
17     BIZ    whois.neulevel.biz
18     INFO   whois.afilias.net
19     NAME   whois.nic.name
20     GOV    whois.nic.gov
21     AERO   whois.information.aero
22     NS     whois.internic.net
23     IP     whois.ripe.net
24
25     AD  whois.ripe.net
26     AL  whois.ripe.net
27     AM  whois.ripe.net
28     AS  whois.gdns.net
29     AT  whois.nic.at
30     AU  box2.aunic.net
31     AZ  whois.ripe.net
32     BA  whois.ripe.net
33     BE  whois.dns.be
34     BG  whois.ripe.net
35     BR  whois.nic.br
36     BY  whois.ripe.net
37     CA  eider.cira.ca
38     CC  whois.nic.cc
39     CH  domex.switch.ch
40     CK  whois.ck-nic.org.ck
41     CL  nic.cl
42     CN  log.cnnic.net.cn
43     CX  whois.nic.cx
44     CY  whois.ripe.net
45     CZ  dc1.eunet.cz
46     DE  whois.denic.de
47     DK  whois.dk-hostmaster.dk
48     DO  ns.nic.do
49     DZ  whois.ripe.net
50     EE  whois.ripe.net
51     EG  whois.ripe.net
52     ES  whois.ripe.net
53     FI  whois.ripe.net
54     FO  whois.ripe.net
55     FR  winter.nic.fr
56     GA  whois.ripe.net
57     GB  whois.ripe.net
58     GE  whois.ripe.net
59     GL  whois.ripe.net
60     GM  whois.ripe.net
61     GR  whois.ripe.net
62     GS  whois.adamsnames.tc
63     HK  whois.hkdnr.net.hk
64     HR  whois.ripe.net
65     HU  whois.nic.hu
66     ID  muara.idnic.net.id
67     IE  whois.domainregistry.ie
68     IL  whois.isoc.org.il
69     IN  whois.ncst.ernet.in
70     IS  horus.isnic.is
71     IT  whois.nic.it
72     JO  whois.ripe.net
73     JP  whois.nic.ad.jp
74     KG  whois.domain.kg
75     KH  whois.nic.net.kh
76     KR  whois.krnic.net
77     LA  whois.nic.la
78     LI  domex.switch.ch
79     LK  arisen.nic.lk
80     LT  ns.litnet.lt
81     LU  whois.dns.lu
82     LV  whois.ripe.net
83     MA  whois.ripe.net
84     MC  whois.ripe.net
85     MD  whois.ripe.net
86     MM  whois.nic.mm
87     MS  whois.adamsnames.tc
88     MT  whois.ripe.net
89     MX  whois.nic.mx
90     NL  gw.domain-registry.nl
91     NO  ask.norid.no
92     NU  whois.worldnames.net
93     NZ  akl-iis.domainz.net.nz
94     PL  nazgul.nask.waw.pl
95     PT  whois.ripe.net
96     RO  whois.rotld.ro
97     RU  whois.ripn.net
98     SE  ear.nic-se.se
99     SG  qs.nic.net.sg
100     SH  whois.nic.sh
101     SI  whois.arnes.si
102     SK  whois.ripe.net
103     SM  whois.ripe.net
104     ST  whois.nic.st
105     SU  whois.ripn.net
106     TC  whois.adamsnames.tc
107     TF  whois.adamsnames.tc
108     TH  whois.thnic.net
109     TJ  whois.nic.tj
110     TN  whois.ripe.net
111     TO  whois.tonic.to
112     TR  whois.ripe.net
113     TW  whois.twnic.net
114     UA  whois.net.ua
115     UK  whois.nic.uk
116     US  whois.nic.us
117     VA  whois.ripe.net
118     VG  whois.adamsnames.tc
119     WS  whois.worldsite.ws
120     YU  whois.ripe.net
121     ZA  apies.frd.ac.za
122
123     RA--AQ5D4PA whois.i-dns.net
124     RA--AQ6TKQQ whois.i-dns.net
125     RA--AQ7EAMY whois.i-dns.net
126     XN--P1AG    ru.whois.i-dns.net
127     XN--P1AG    ru.whois.i-dns.net
128     XN--J1AEF   whois.i-dns.net
129     XN--E1APQ   whois.i-dns.net
130     XN--C1AVG   whois.i-dns.net
131
132     NET.RU      whois.ripn.net
133     ORG.RU      whois.ripn.net
134     PP.RU       whois.ripn.net
135     SPB.RU      whois.relcom.ru
136     MSK.RU      whois.relcom.ru
137     RU.NET      whois.relcom.ru
138 );
139
140 # These do not seem to work
141 #         CN  log.cnnic.net.cn
142 #         DK  whois.dk-hostmaster.dk
143 #         US  whois.isi.edu
144 # These serve only several subdomains
145 #         ZA  apies.frd.ac.za
146
147
148 %notfound = (
149     'whois.nic.cc' => '^No match for',
150     'whois.arin.net' => '^No match for',
151     'whois.nic.br' => 'No match for',
152     'ear.nic-se.se' => 'No data found',
153     'whois.nic.sh' => '^No match for',
154     'whois.nic.mx' => '^Nombre del Dominio:',
155     'whois.domainregistry.ie' => 'There was no match',
156     'domex.switch.ch' => '^We do not have an entry in our database matching your',
157     'whois.dns.lu' => 'No entries found',
158     'whois.worldsite.ws' => 'No match for',
159     'whois.nic.it' => '^No entries found',
160     'whois.nic.coop' => 'No Objects Found',
161     'whois.nic.at' => 'nothing found',
162     'ask.norid.no' => 'no matches',
163     'whois.nic.uk' => '^\\s*No match for',
164     'whois.nic.ad.jp' => 'No match',
165     'whois.arnes.si' => 'No entries found',
166     'whois.tonic.to' => 'No match for',
167     'whois.hkdnr.net.hk' => '^No Match for',
168     'whois.worldnames.net' => 'NO MATCH for domain',
169     'whois.rotld.ro' => 'No entries found',
170     'whois.nic.st' => '^No entries found',
171     'whois.isoc.org.il' => 'No data was found',
172     'eider.cira.ca' => 'Status:\\s*UNAV',
173     'whois.nic.tj' => '^No match for',
174     'aardvark.dns.be' => 'No such domain',
175     'nazgul.nask.waw.pl' => '^Domain name .* does not exists',
176     'whois.ncst.ernet.in' => '^No matches',
177     'whois.krnic.net' => 'Above domain name is not registered',
178     'whois.museum' => '^No information for',
179     'whois.net.ua' => 'No entries found',
180     'apies.frd.ac.za' => 'No information is available',
181     'gw.domain-registry.nl' => 'invalid query',
182     'whois.denic.de' => 'No entries found',
183     'whois.nic.mil' => '^No match for',
184     'horus.isnic.is' => 'No entries found',
185     'winter.nic.fr' => 'No entries found',
186     'whois.ripe.net' => 'No entries found',
187     'whois.ripn.net' => 'No entries found',
188     'qs.nic.net.sg' => 'NO entry found',
189     'whois.twnic.net' => '^NO MATCH: This domain is',
190     'nic.cl' => 'Invalid domain name',
191     'whois.gdns.net' => '^Domain Not Found',
192     'box2.aunic.net' => 'No entries found',
193     'whois.nic.cx' => '^No match for',
194     'dc1.eunet.cz' => 'No data found',
195     'akl-iis.domainz.net.nz' => 'domain_name_status: 00 Not Listed',
196     'ns.litnet.lt' => 'No matches found',
197     'whois.adamsnames.tc' => 'is not a domain controlled by',
198     'whois.nic.la' => '^NO MATCH for',
199     'whois.networksolutions.com' => '(?i)no match',
200     'whois.thnic.net' => 'No entries found',
201     'whois.neulevel.biz' => '^Not found:',
202     'whois.afilias.net' => '^NOT FOUND',
203 );
204
205 %strip = (
206     'whois.crsnic.net' => [
207         '^TERMS OF USE:',
208         '^database through',
209         '^automated except',
210         '^modify existing',
211         '^Services\' \(\"VeriSign\"\)',
212         '^information purposes only',
213         '^about or related to a',
214         '^guarantee its accuracy\.',
215         '^by the following terms',
216         '^for lawful purposes and',
217         '^to: (1) allow, enable,',
218         '^unsolicited, commercial',
219         '^or facsimile; or \(2\)',
220         '^that apply to VeriSign',
221         '^repackaging, dissemination',
222         '^prohibited without the',
223         '^use electronic processes',
224         '^query the Whois database',
225         '^domain names or modify',
226         '^to restrict your access',
227         '^operational stability\.',
228         '^Whois database for',
229         '^reserves the right',
230
231         '^NOTICE AND TERMS OF USE:',
232         '^Data in Network Solutions',
233         '^purposes only, and to assist',
234         '^to a domain name registration',
235         '^By submitting a WHOIS query,',
236         '^You agree that you may use',
237         '^circumstances will you use',
238         '^the transmission of mass',
239         '^via e-mail, telephone, or',
240         '^electronic processes that',
241         '^compilation, repackaging,',
242         '^high-volume, automated,',
243         '^database. Network Solutions',
244         '^database in its sole discretion,',
245         '^querying of the WHOIS database',
246         '^Network Solutions reserves the',
247
248         '^NOTICE: The expiration date',
249         '^registrar\'s sponsorship of',
250         '^currently set to expire\.',
251         '^date of the domain name',
252         '^registrar.  Users may',
253         '^view the registrar\'s',
254         '^to: \(1\) allow, enable,',
255         '^The Registry database',
256         '^Registrars\.',
257         '^Domain not found locally,',
258         '^Local WHOIS DB must be out',
259
260         '^Whois Server Version',
261         '^Domain names in the .com',
262         '^with many different',
263         '^for detailed information\.',
264
265         '^>>> Last update of whois database',
266         '^$',
267     ],
268     'whois.tonic.to' => [
269         '^Tonic whoisd',
270     ],
271     'whois.net.ua' => [
272         '^%',
273     ],
274     'whois.nic.cx' => [
275         '^ Registrar: Christmas Island',
276         '^ Whois Server: whois.nic.cx',
277     ],
278     'gw.domain-registry.nl' => [
279         'Rights restricted by copyright',
280         'http://www.domain-registry.nl',
281     ],
282     'whois.denic.de' => [
283         '^%',
284     ],
285     'whois.gdns.net' => [
286         '^\\w+ Whois Server',
287         '^Access to .* WHOIS information is provided to',
288         '^determining the contents of a domain name',
289         '^registrar database.  The data in',
290         '^informational purposes only, and',
291         '^Compilation, repackaging, dissemination,',
292         '^in its entirety, or a substantial portion',
293         'prior written permission.  By',
294         '^by this policy.  All rights reserved.',
295     ],
296     'whois.isoc.org.il' => [
297         '^%',
298     ],
299     'whois.dns.lu' => [
300         '^%',
301     ],
302     'whois.worldnames.net' => [
303         '^----------------------------------',
304         '^.\\w+ Domain .* Whois service',
305         '^Copyright by .* Domain LTD',
306         '^----------------------------------',
307         '^Database last updated',
308     ],
309     'whois.nic.sh' => [
310         '^NIC Whois Server',
311     ],
312     'whois.nic.coop' => [
313         '^%',
314         '^ The .COOP Registration',
315         '^ Please use the',
316     ],
317     'domex.switch.ch' => [
318         '^whois: This information is subject',
319         '^See http',
320     ],
321     'whois.twnic.net' => [
322         '^Registrar:',
323         '^URL: http://rs.twnic.net.tw',
324     ],
325     'nic.cl' => [
326         '^cl.cl:',
327         '^Más información: http://www.nic.cl/',
328     ],
329     'whois.nic.mx' => [
330         '^------------------',
331         '^La información que ha',
332         '^relacionados con la',
333         '^DNS administrado por el NIC-México.',
334         '^Queda absolutamente prohibido',
335         '^envío de e-mail no solicitado',
336         '^productos y servicios',
337         '^del NIC-México.',
338         '^La base de datos generada',
339         '^protegida por las leyes de',
340         '^internacionales sobre la materia.',
341     ],
342     'whois.domainregistry.ie' => [
343         '^%',
344     ],
345     'ns.litnet.lt' => [
346         '^%',
347     ],
348     'dc1.eunet.cz' => [
349         '^%',
350     ],
351     'whois.ripn.net' => [
352         '^%',
353     ],
354     'whois.nic.uk' => [
355         '^The .* Registration Host contains information',
356         '^registrations in the .*co.uk',
357         'and .*\\.uk second-level domains.',
358     ],
359     'whois.nic.br' => [
360         '^%',
361     ],
362     'whois.krnic.net' => [
363         '^Korea Internet Information Service',
364         '^20\\d\\d³â 7¿ù 2ÀϺÎÅʹ °³¼±µÈ Whois',
365         '^.com, .net, .org',
366     ],
367     'whois.arnes.si' => [
368         '^\\*',
369     ],
370     'nazgul.nask.waw.pl' => [
371         '^%',
372     ],
373     'whois.nic.la' => [
374         '^   WHOIS server',
375         '^   The Data in the',
376         'for information purposes,',
377         '^   and to assist persons in obtaining',
378         '^   domain name registration record. Sterling Holdings, Limited,',
379         '^   does not guarantee its accuracy.',
380         '^   you will use this Data only for lawful',
381         '^   circumstances will you use this Data',
382         '^   \\(1\\) allow, enable, or otherwise s',
383         '^   unsolicited, commercial advertising',
384         '^   \\(spam\\); or',
385         '^   that apply to Sterling Holdings',
386         '^   Sterling Holdings .* reserves the right to modify',
387         '^   terms at any time. By submitting this',
388         '^   policy.',
389     ],
390     'horus.isnic.is' => [
391         '^%',
392     ],
393     'whois.rotld.ro' => [
394         '^%',
395     ],
396     'whois.nic.st' => [
397         '^The data in the .* database is provided',
398         '^The .* Registry does not guarantee',
399         '^The data in the .* database is protected',
400         '^By submitting a .* query, you agree that you will',
401         '^The Domain Council of .* reserves the right',
402     ],
403     'ask.norid.no' => [
404         '^%',
405     ],
406     'whois.hkdnr.net.hk' => [
407         '^Whois server',
408         '^Domain names in the',
409         '^and .* can now be registered',
410         '^Go to http://www.hkdnr.net.hk',
411         '^---------',
412         '^The Registry contains ONLY',
413         '^.* and .*\\.HK domains.',
414     ],
415     'whois.arin.net' => [
416         '^The ARIN Registration Services Host contains',
417         '^Network Information:.*Networks',
418         '^Please use the whois server at',
419         '^Information and .* for .* Information.',
420     ],
421     'qs.nic.net.sg' => [
422         '^\\*',
423     ],
424     'akl-iis.domainz.net.nz' => [
425         '^%',
426     ],
427     'whois.nic.hu' => [
428         '^%',
429     ],
430     'whois.worldsite.ws' => [
431         '^Welcome to the .* Whois Server',
432         '^Use of this service for any',
433         '^than determining the',
434         '^in the .* to be registered',
435         '^prohibited.',
436     ],
437     'whois.ripe.net' => [
438         '^%',
439     ],
440     'whois.nic.cc' => [
441         '^This information is',
442         '^The Data in eNIC',
443         '^Corporation for information',
444         '^in obtaining information',
445         '^registration record',
446         '^accuracy.  By submitting',
447         '^will use this Data only',
448         '^no circumstances will',
449         '^or otherwise support',
450         '^commercial advertising',
451         '^or \\(2\\) enable high volume',
452         '^apply to eNIC Corporation',
453         '^reserves the right to',
454         '^submitting this query,',
455     ],
456     'whois.nic.mil' => [
457         '^To single out one record',
458         '^handle, shown in parenthesis',
459         '^Please be advised that this whois',
460         '^All INTERNET Domain, IP Network Number,',
461         '^the Internet Registry, RS.INTERNIC.NET.',
462     ],
463     'box2.aunic.net' => [
464         '^%',
465     ],
466     'whois.nic.ad.jp' => [
467         '^[',
468     ],
469     'winter.nic.fr' => [
470         '^Tous droits reserves par copyright.',
471         '^Voir http://www.nic.fr',
472         '^Rights restricted by copyright.',
473         '^See http://www.nic.fr/outils',
474     ],
475     'ear.nic-se.se' => [
476         '^#',
477     ],
478     'whois.networksolutions.com' => [
479         '^The Data in',
480         '^Solutions for information',
481         '^information about or',
482         '^Network Solutions does not guarantee',
483         '^WHOIS query, you agree that',
484         '^purposes and that, under no circumstances',
485         '^\\(1\\) allow, enable, or',
486         '^unsolicited, commercial advertising',
487         '^\\(spam\\); or',
488         '^that apply to Network',
489         '^reserves the right',
490         '^this query, you',
491     ],
492     'aardvark.dns.be' => [
493         '^%',
494     ],
495     'whois.dns.be' => [
496         '^%-',
497     ],
498     'whois.nic.tj' => [
499         '^This Whois server looks up only',
500         '^Please see http://nic.tj for more',
501         '^Tajikistan, and the Public Registrar Network.',
502     ],
503     'whois.nic.at' => [
504         '^%',
505     ],
506 );
507
508
509 1;