Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Whois script help

by Kanji (Parson)
on Jan 12, 2005 at 04:50 UTC ( #421504=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Whois script help
in thread Whois script help

So, if himanh asks his DNS server, he will always believe the domain is with him. Just wanted to throw in this advice.

Sorry, that was an ommission on my part, but is the reason why I used Net::DNS::Resolver::Recurse instead of the usual Net::DNS::Resolver -- the former starts it's recursive query with the DNS hint servers, which should be the same as the DNS root servers (eg, a.root-servers.net) and are one step up from the gTLD server you use.

If they're not (because you're running your own root server or using an alternative one), then you can force N:D:R:R to start from a different nameserver with the hints method.

my @root_ns = map $_ . '.root-servers.net', 'a'..'m'; $res->hints(@root_ns);

    --k.



Comment on Re^4: Whois script help
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://421504]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-04-19 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls