Re: [squid-users] Squid Logs

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Mon, 19 Oct 2009 20:51:02 +0200

mån 2009-10-19 klockan 06:24 -0700 skrev Nadeem Semaan:

> I have configured named on the machine running squid to retrieve the
> forward and reverse zones from my DNS server (windows). I also have
> squid configured to log the fqdn (log_fqdn on). I have also tries
> playing around with the dns_nameservers option, but I'm still getting
> IPs in my log files. Is there a way to only log the fqdn, do I need to
> change the dns expiry settings to less than one day? Please help.

If log_fqdn is on then Squid will log the host name, provided the DNS
server responds in a reasonable time.

Can you resolve the IP addresses from the Squid server?

  dig -x ip.of.client.station

or alternatively

  dig -x ip.of.client.station @selected.nameserver.address

Regards
Henrik
Received on Mon Oct 19 2009 - 18:51:07 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 28 2009 - 12:00:03 MDT