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

Re: Resolving basic info from IP address

by phydeauxarff (Priest)
on Aug 19, 2003 at 15:58 UTC ( #284946=note: print w/ replies, xml ) Need Help??


in reply to Resolving basic info from IP address

Do you mean infromation about who is authoritative for the address??

If so, Net::Whois::IP will give you that info

#!/usr/bin/perl -w use strict; use Net::Whois::IP qw(whoisip_query); my $ip = "206.157.230.50"; my ($response,$array_of_responses) = whoisip_query($ip); foreach my $key (keys%$response) { print "$key - ", $response->{$key}, "\n" }


Comment on Re: Resolving basic info from IP address
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-12-26 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (176 votes), past polls