Re: [squid-users] IP to names in Access.log

From: fire-eyes <[email protected]>
Date: Fri, 16 Jan 2004 10:26:42 -0500

Ackim Chisha wrote:
> Hello people,
>
> Is it possible to have squid access.log show me the names in the hosts
> file rather than the IP addresses?
>
> Rgds,
> A.C

Yep. Look for log_fqdn in your config, and set it to on.

Note that if you want IP's on the local lan to reverse to hostnames,
you'll need to have a dns server with a reverse zone for those ip's.
Otherwise you will still get only the ip's, and at the same time, time
will be wasted on every lookup.
Received on Fri Jan 16 2004 - 08:26:44 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:06 MST