On Fri, 18 Jul 2003, John Clarke wrote:

> On Fri, Jul 18, 2003 at 12:05:27PM +1200, Andrew McNaughton wrote:
>
> > The perl script jdresolve <http://jdrowell.com/projects/jdresolve> might
> > do you for the name resolution, but if it was me I'd modify it so that it
> > only concerns itself with the first field in the http logs.  There must be
> > something around in C or C++ to do this job well.
>
> There is.  It's called logresolve and is part of Apache:
>
>     logresolve  is  a  post-processing  program to resolve IP-
>     adresses in Apache's access logfiles.  To minimize  impact
>     on  your  nameserver, logresolve has its very own internal
>     hash-table cache. This means that each IP number will only
>     be looked up the first time it is found in the log file.

I said to do the job well.

The problem with logresolve is that it doesn't do parallel dns requests,
so it's an order of magnitude slower than jdresolve or other solutions
which parallelize the requests.

I've just had a bit of a look around, and this one looks promising:

http://www.djmnet.org/sw/fastresolve/

Andrew McNaughton




--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

-------------------------------------------------------------------
Andrew McNaughton           In Sydney
                            Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792     http://staff.scoop.co.nz/andrew/cv.doc



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to