Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 drinking their drinks and smoking their pipes about the Monastery: (18)
As of 2014-07-14 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (268 votes), past polls