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

From: Antony Stone <Antony.Stone_at_squid.open.source.it>
Date: Tue, 3 Jun 2014 19:02:22 +0100

On Tuesday 03 June 2014 at 18:50, Nidal Shater wrote:

> the local DNS server has a record like this
>
> $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 ..............

Try creating your own log format using both %>a and %>A

http://www.squid-cache.org/Doc/config/logformat/

Regards,

Antony.

-- 
#define SIX 1+5
#define NINE 8+1
int main() {
    printf("%d\n", SIX * NINE);
}
	- thanks to ECB for bringing this to my attention
                                                     Please reply to the list;
                                                           please don't CC me.
Received on Tue Jun 03 2014 - 18:02:31 MDT

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