Search squid archive

How can I make squid ignore cached DNS looks up ?

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

 




Hello 

we all know that access.log file logs the access Info of Squid, something like that:
125213512.746 41762 192.168.1.17 .............. 
125213513.746 47616 192.168.1.18 ..............


MY local DNS server has records like this ( in its revers zone (1.168.192.in-addr.arpa)):

$TTL 60 ; 1 minute 
17            PTR Mark
18            PTR Mike

I have managed to make this record in the access.log file (using the option "log_fqdn on" and by changing the log format):

125213512.746 41762 192.168.1.17 .............. 

to be something like that:

125213512.746 41762 192.168.1.17 Mark .............. 

the problem is that the DNS records keep changing ( something like that ):

$TTL 60 ; 1 minute 
17            PTR Karl
18            PTR Mike

and

$TTL 60 ; 1 minute 
17            PTR Paul
18            PTR Mike

and so on ......

but the squid keep resolving the IP as "Mark", so I guess that Squid use the cached look up so what ever "Mark" change in DNS zone it keeps it "Mark"

My questions are:

1) what is the option who makes Squid cache looks up ?
2) how to stop this option and make Squid keeps ask the DNS and ignore the cache looks up?



 		 	   		  





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

  Powered by Linux