[squid-users] Squid 4.9 Client IP PTR lookup on connect

Amos Jeffries squid3 at treenet.co.nz
Sat Nov 30 14:42:12 UTC 2019


On 30/11/19 5:43 am, Amos Jeffries wrote:
> On 30/11/19 4:49 am, Romanov Vonamor wrote:
>> Hello.
>>  
>> I'm trying to configure Squid 4.9 in such a way that it does not perform
>> a reverse IP lookup of the client at approximately every HTTP request.
>> The PTR lookup happens immediately after the connection, before the HTTP
>> request is even parsed.
>> Any insight would be greatly appreciated.
>>  
> 
> The PTR should only need to be looked up at all if something needs to
> use the client FQDN. Usually that is logging. I suspect your build
> auto-enabled ICAP features which uses the FQDN for icap_log.
> 
> If you do not need or plan to use ICAP features you can rebuild with
> --disable-icap which should resolve this.

Sorry that should have been --disable-icap-client

Amos


More information about the squid-users mailing list