Closed wchristian closed 8 years ago
Hi. Can you make pull request?
Probably later tonight. :)
Alright, no time for that tonight anymore, since i did a lot of shuffling around (mainly from donuts to whois.nic.* to avoid quota limits. I'll probably just be giving you a huge block of patch code tomorrow, that we do locally, and let you see it first before you decide how you'd like to handle it.
Alright, i don't have time to convert this into a proper PR, but after working over all the issues i found yesterday, here's our current state of the module we use to patch the data to make things work for our TLDs:
my $notfound = \%Net::Whois::Raw::Data::notfound;
my $obj = "The queried object does not exist";
$notfound->{"whois.nic.$_"} = "no matching objects found" for qw( ruhr koeln cologne );
$notfound->{"whois.nic.$_"} = "This domain name has not been registered"
for qw( casa cooking fashion fishing horse rodeo vodka );
$notfound->{"whois.nic.$_"} = "No Domain exists"
for qw( club cricket download faith loan party racing review science stream win );
$notfound->{"whois.nic.$_"} = "DOMAIN NOT FOUND" for qw( shop );
$notfound->{"whois.nic.$_"} = "NOT FOUND" for qw( global );
$notfound->{"whois.nic.$_"} = "^not found" for qw( vg );
$notfound->{"whois.nic.$_"} = "Domain not found" for qw(
academy accountants agency apartments associates bargains bike bingo
boutique builders business cab cafe camera camp capital cards care
careers cash casino catering center chat cheap church city claims
cleaning clinic clothing coach codes coffee community company computer
condos construction contractors cool credit creditcard cruises dating
deals delivery dental diamonds digital direct directory discount dog
domains education email energy engineering enterprises equipment estate
events exchange expert exposed express fail farm finance financial fish
fitness flights florist football foundation fund furniture gallery gifts
glass gmbh gold golf graphics gratis gripe group guide guru healthcare
hockey holdings holiday house immo industries institute insure
international investments jetzt jewelry kitchen land lease legal life
lighting limited limo loans ltd maison management marketing media
memorial money network partners parts photography photos pictures pizza
place plumbing plus productions properties recipes reise reisen rentals
repair report restaurant run salon sarl school schule services shoes
show singles solar solutions style supplies supply support surgery
systems tax taxi team technology tennis theater tienda tips tires today
tools tours town toys training university vacations ventures viajes
villas vin vision voyage watch wine works world wtf zone
);
$notfound->{"whois.nic.$_"} = $obj
for qw( berlin bid bio date hamburg tirol trade versicherung voting webcam wien );
$notfound->{$_} = $obj for qw( whois.ksregistry.net );
$notfound->{"whois.uniregistry.net"} = "The queried object does not exist.*?is available for registration";
$notfound->{"whois.dns.be"} = "^Status:\\s+AVAILABLE";
$notfound->{"whois.nic.gs"} = "Domain Status: No Object Found";
$notfound->{"whois.iis.se"} = "domain \\S+ not found";
# bayern|country
$notfound->{"whois-dub.mm-registry.com"} = "(This WHOIS server does not have any records for that zone" #
. "|The queried object does not exist: This object could not be found)";
# this one is special because profihost uses a member whois server for denic
$notfound->{"whois.member.denic.de"} = $notfound->{"whois.denic.de"};
my $servers = \%Net::Whois::Raw::Data::servers;
$servers->{'CO.AT'} = $servers->{'OR.AT'} = $servers->{'AT'};
$servers->{'ME.UK'} = $servers->{'CO.UK'};
$servers->{"COM.CO"} = "whois.nic.co";
$servers->{LA} = "whois.nic.la";
$servers->{ uc $_ } = "whois.ksregistry.net" for qw( archi saarland ski );
$servers->{ uc $_ } = "whois.rightside.co" for qw( band rip sale video );
$servers->{ uc $_ } = "whois.uniregistry.net" for qw( click diet flowers hosting lol property );
$servers->{ uc $_ } = "whois.unitedtld.com" for qw( auction forsale );
$servers->{ uc $_ } = "whois.nic.$_" for qw(
academy accountants agency apartments associates bargains bid bike bingo
bio boutique builders business cab cafe camera camp capital cards care
careers casa cash casino catering center chat cheap church city claims
cleaning clinic clothing coach codes coffee cologne community company
computer condos construction contractors cooking cool credit creditcard
cricket cruises date dating deals delivery dental diamonds digital
direct directory discount dog domains download education email energy
engineering enterprises equipment estate events exchange expert exposed
express fail faith farm fashion finance financial fish fishing fitness
flights florist football foundation fund furniture gallery gifts glass
global gmbh gold golf graphics gratis gripe group guide guru hamburg
healthcare hockey holdings holiday horse house immo industries institute
insure international investments jetzt jewelry kitchen koeln land lease
legal life lighting limited limo loan loans ltd maison management
marketing media memorial money network partners parts party photography
photos pictures pizza place plumbing plus productions properties racing
recipes reise reisen rentals repair report restaurant review rodeo ruhr
run salon sarl school schule science services shoes show singles solar
solutions stream style supplies supply support surgery systems tax taxi
team technology tennis theater tienda tips tires tirol today tools tours
town toys trade training university vacations ventures versicherung vg
viajes villas vin vision vodka voting voyage watch webcam win wine works
world wtf zone
);
I ran a test against it to check whether nic.* is in use, and freepfreep.* is not in use, and the test passed without a hitch:
D:\profihost\profihostv2\ext\mod-whois>prove -l t\website_whois_integrity.t
t\website_whois_integrity.t .. # [ academy accountants actor agency archi asia associates at audio bar bargains bayern be beer berlin bid bike bio biz blackfriday boutique build builders bz cab camera camp capital cards care careers cash catering cc center ch cheap christmas church city claims cleaning clinic clothing club co.at co.uk codes coffee cologne com community company computer condos construction consulting contractors cooking cool country credit creditcard cruises dance date dating de deals democrat dental diamonds digital direct directory discount domains education email engineering enterprises equipment estate eu events exchange expert exposed fail farm finance financial fish fishing fitness flights florist foundation fr fund furniture futbol gallery gift glass graphics gratis gripe gs guide guitars guru hamburg haus healthcare hiphop holdings holiday horse host house immo immobilien in industries info ink institute insure international investments it jetzt juegos kaufen kitchen koeln land lease li life lighting limited limo link loans maison management marketing media menu moda name net ninja nl online or.at org partners parts photo photography photos pics pictures place plumbing press productions properties pub recipes reise reisen rentals repair report rest reviews rocks rodeo ruhr schule se services sexy shoes singles ski social solar solutions supplies supply support surf surgery systems tattoo tax technology tel tienda tips tirol tk today tools town toys trade training tv university vacations ventures versicherung vg viajes villas vision vodka voting voyage watch webcam website wien wiki works world ws wtf xyz zone ] free
t\website_whois_integrity.t .. 1/? # [ academy accountants actor agency archi asia associates at audio bar bargains bayern be beer berlin bid bike bio biz blackfriday boutique build builders bz cab camera camp capital cards care careers cash catering cc center ch cheap christmas church city claims cleaning clinic clothing club co.at co.uk codes coffee cologne com community company computer condos construction consulting contractors cooking cool country credit creditcard cruises dance date dating de deals democrat dental diamonds digital direct directory discount domains education email engineering enterprises equipment estate eu events exchange expert exposed fail farm finance financial fish fishing fitness flights florist foundation fr fund furniture futbol gallery gift glass graphics gratis gripe gs guide guitars guru hamburg haus healthcare hiphop holdings holiday horse host house immo immobilien in industries info ink institute insure international investments it jetzt juegos kaufen kitchen koeln land lease li life lighting limited limo link loans maison management marketing media menu moda name net ninja nl online or.at org partners parts photo photography photos pics pictures place plumbing press productions properties pub recipes reise reisen rentals repair report rest reviews rocks rodeo ruhr schule se services sexy shoes singles ski social solar solutions supplies supply support surf surgery systems tattoo tax technology tel tienda tips tirol tk today tools town toys trade training tv university vacations ventures versicherung vg viajes villas vision vodka voting voyage watch webcam website wien wiki works world ws wtf xyz zone ] used
t\website_whois_integrity.t .. ok
All tests successful.
Files=1, Tests=944, 63 wallclock secs ( 0.19 usr + 0.02 sys = 0.20 CPU)
Result: PASS
Have a read and let me know what you'd like to do with that. :)
beer, bayern and surf moved off whois-dub.mm-registry.com, but work with whois.nic.* and the free message: "This domain name has not been registered"
This patch should be checked and applied to Data.pm. NewGTLDs are coming!
WIP
A lot of new gTLDs are added to Net-Whois-Raw-2.99003.
Thanks for your proposals.
Just an odd thing i noticed while doing some testing on my end.