Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 examining the Monastery: (7)
As of 2014-12-29 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls