Search squid archive

Re: Squid Logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried dig -x 10.6.3.77 and got the machine name of the user.

I also searched the log files for both the IP and machine name of the user and found that squid has logged IP on one request, then name on second request, then IP on third request, then the rest were all looged by machine name.


----- Original Message ----
From: Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx>
To: Nadeem Semaan <nadeem_semaan@xxxxxxxxx>
Cc: squid-users@xxxxxxxxxxxxxxx
Sent: Mon, October 19, 2009 10:51:02 PM
Subject: Re:  Squid Logs

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


      



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux