Re: hostnames in log?

From: Neil Murray <[email protected]>
Date: Mon, 01 Jul 1996 11:54:45 +1000

Anthony Rumble wrote:
- > Graeme Merral wrote:
- > Been using Squid b7 on a trial basis and I'm wondering if there
- is a code
- > hack to get hostnames into our access log rather than the IP no's.

- Yes.. This would be a nice feature..
-
- There could possible be performance problems with doing a DNS lookup
- for each one..

- Anthony Rumble - aka SmilieZ

        I would suggest a separate post processing program that takes the access log
files and writes a new file with the IP addresses changed to hostnames via
DNS lookups. No need to change squid at all. If you use code similar to
squid's IP address cache the load to the net should quite low.

        This saves any problems with performance degradation to squid by adding such
a feature.

-- 
Neil Murray                              Email:  neil@aone.com.au
Access One Pty. Ltd.                     http://www.aone.net.au/
41 Malcolm Rd., Braeside                 Phone:  +61 3 9239 1444
Victoria, Australia  3195                Fax:    +61 3 9580 5581
Received on Sun Jun 30 1996 - 18:55:47 MDT

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