Re: [squid-users] Unneeded DNS lookups for cache_peer selection

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 03 Feb 2014 23:28:44 +1300

On 3/02/2014 10:33 p.m., Amon Ott wrote:
> Am 30.01.2014 13:25, schrieb Amon Ott:
>> Attached is a cache.log from a test system with the above debug settings
>> when accessing www.m-privacy.de, www.rsbac.org and www.google.de. Please
>> note that in this test network, external DNS names can be resolved. If
>> needed, I can also rearrange it to fail for external DNS.
>>
>> Also attached is a tcpdump -n "port 53 and host 192.168.200.106" on the
>> LAN, starting when requesting www.rsbac.org. Subsequent reloads do not
>> send new DNS requests, so the ipcache seems to work for these positive
>> results.
>
> Just wanted to tell that version 3.4.3 shows the same behaviour.
>
> Amon.
>
>

Okay one fairly easy test occurs to me. Squid DNS port used for outbound
queries is static for the duration Squid runs. So you can check that
Squid DNS port against the tcpdump source port used by the Squid mahcine
in those lookups.

Amos
Received on Mon Feb 03 2014 - 10:28:52 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 03 2014 - 12:00:04 MST