[squid-users] how can I configure squid to do a reverse lookup?

From: Nidal Shater <ngiw2012_at_hotmail.com>
Date: Tue, 3 Jun 2014 17:50:57 +0000

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
Received on Tue Jun 03 2014 - 17:51:05 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 04 2014 - 12:00:06 MDT