Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: DNS Lookup

by Khen1950fx (Canon)
on Jan 20, 2012 at 10:09 UTC ( #948921=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -l
    
    ...
        die "Cannot getnameinfo - $err" if $err;
        print "$ipaddr";
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    else {
        warn "Query failed: ", $res->errorstring;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948921]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2017-10-20 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (258 votes). Check out past polls.

    Notices?