Search squid archive

how can I configure squid to do a reverse lookup?

[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 ..............

and
 we all know that squid use the file /etc/resolv.conf  to determine the 
DNS server it is dealing with, so if we want Squid to deal with a local 
DNS server (like BIND) we put the local DNS server address in the file 
/etc/resolv.conf

what if the local DNS server has a record like this ( in its revers zone (1.168.192.in-addr.arpa)):

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

I want to make this record ( in the access.log file):

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

to be something like that:
125213512.746 41762 192.168.1.17 Mark .............. 


Is there any configuration step that I can do to make Squid do that?

any help will be appreciated  		 	   		  





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

  Powered by Linux