Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Whois script help

by himanh (Novice)
on Jan 11, 2005 at 19:10 UTC ( #421376=note: print w/ replies, xml ) Need Help??


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

Hi, I also tried this

#!/usr/bin/perl use Net::DNS; my $res = Net::DNS::Resolver->new; my $query = $res->query("yahoo.com", "NS"); print "Hi"; if ($query) { foreach $rr (grep { $_->type eq 'NS' } $query->answer) { print $rr->nsdname, "\n"; } } else { warn "query failed: ", $res->errorstring, "\n"; }
It gives me Internal Server Error. Any help ??


Comment on Re^2: 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://421376]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (19)
As of 2015-07-30 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls