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

From: Amon Ott <lists_at_compuniverse.de>
Date: Mon, 03 Feb 2014 12:06:24 +0100

Am 03.02.2014 11:28, schrieb Amos Jeffries:
> 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.
>
> 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.

Just checked: the DNS source port is bound by squid3, at least lsof says so.

Amon.
Received on Mon Feb 03 2014 - 11:06:41 MST

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