[squid-users] Reverse DNS Lookup for client IPs

Amos Jeffries squid3 at treenet.co.nz
Mon Feb 15 09:59:09 UTC 2016


On 15/02/2016 10:51 p.m., Stefan Hölzle wrote:
> For a quick fix, I defined the two directives in my squid.conf as follows:
> url_rewrite_extras "%>a %un %>rm myip=%la myport=%lp"
> store_id_extras "%>a %un %>rm myip=%la myport=%lp"
> 
> Basically, I removed the ">A" part, which is responsible for the PTR
> lookup of client ips.
> Afterwards, squid does no more PTR lookups of client ips :)

That surprises me. The default values are parsed before squid.conf and
get to set the log_fqdn flag internally before your manual ones.

Amos



More information about the squid-users mailing list