On Mon, 10 Dec 2001, Brian wrote:

> If at all possible, which perl module would I need to call in order to
> perform a reverse lookup on an IP address?
>
> I need to produce something simalar to the "host" command
> ie:
>
> [brian@mustang brian]$ host 12.90.6.4
> 4.6.90.12.in-addr.arpa domain name pointer 4.philadelphia-16-17rs.pa.dial-
> access.att.net.

Take a look at Sys::Hostname (it comes standard with Perl).  It has a
bunch of IP-related functions for hostname & address lookup functions.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
The human animal differs from the lesser primates in his passion for
lists of "Ten Best".
                -- H. Allen Smith


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to