Re: Trouble hostnames in logfile analysis

From: Linux lists <lists@dont-contact.us>
Date: Sun, 12 Dec 1999 15:09:08 +0100 (MET)

On Sun, 12 Dec 1999, Miguel A.L. Paraz wrote:

> Hi,
>
> I'm working on some new logfile analysis scripts which resolve the hostnames.
> This is because part of the analysis is determining the most popular network
> blocks.
>
> However, I have a problem with a few hosts - those whose nameservers are done.
> I'm simply using gethostbyname() in Perl and this blocks very long. (goes to
> show why you should not locate all your nameservers in the same net =) )
>
> Any ideas on this? Thanks!

Why write something new ?

Use the logresolve.pl from the Apache webserver distribution.
It does what you want i guess.

Mark
Received on Sun Dec 12 1999 - 07:20:52 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:51 MST