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.

Reply via email to