lola_marais has asked for the wisdom of the Perl Monks concerning the following question:
List,
I am looking for a simple perl script to convert a text list of IP addresses to names by querying the local DNS server
Quote “Many servers produce log files containing IP addresses, but hostnames are more useful to analysis software and humans”
I’d like the script to read a text file list of hostnames, and output a CSV or XLS files of names and resolved IP addresses.
I’d be very grateful, if someone one on this list has such a script and would be happy to share that information, would post it here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl to convert text list of ip address to a name
by saskaqueer (Friar) on May 17, 2004 at 20:41 UTC | |
by biosysadmin (Deacon) on May 17, 2004 at 23:15 UTC | |
by saskaqueer (Friar) on May 18, 2004 at 02:25 UTC | |
|
Re: perl to convert text list of ip address to a name
by NetWallah (Canon) on May 17, 2004 at 23:41 UTC | |
by tilly (Archbishop) on May 17, 2004 at 23:50 UTC | |
by Anonymous Monk on May 17, 2004 at 23:57 UTC | |
by tilly (Archbishop) on May 18, 2004 at 00:31 UTC | |
|
Re: perl to convert text list of ip address to a name
by Anonymous Monk on May 18, 2004 at 02:59 UTC |