in reply to Resolving basic info from IP address
Hi!
Presuming that by "basic info" you mean the hostname associated with that IP, you can use gethostbyaddr function, or the Net::DNS module.
If, instead, you want to know where the host with that IP address is located, you can try the module Net::Traceroute or Net::Traceroute::PurePerl (the last one is in pure Perl, it doesn't use XS). Even when you trace the host, it might be difficult for you to know where it's phisically located: you'll either need a visual traceroute, or a whois query for that IP address on the ARIN database, to know that; Net::Whois should be helpful in this task.
Michele.
|
|---|