Re: [squid-users] change in source code

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 16 Apr 2008 14:01:56 +1200 (NZST)

> Adrian Chadd wrote:
>> On Tue, Apr 15, 2008, Guy Helmer wrote:
>>
>>
>>> Is this true for 2.6? I had to enable dns_defnames in response to a
>>> customer requirement, and found that I had to rebuild 2.6.18 with
>>> --disable-internal-dns so dns_defnames would work.
>>>
>>
>> Doesn't it pick that stuff up from /etc/resolv.conf w/ the external DNS
>> code?
>>
>> Adrian
>>
> I expected it to do so, but browsing to unqualified local domain names
> didn't work on 2.6 until I rebuilt with --disable-internal-dns.
>
> I think it worked as I expected in 3.0 (without having to rebuild with
> --disable-internal-dns), which is where I initially enabled dns_defnames
> for my own testing.
>

Interesting, the code there is identical for both 2.6 and 3.x.
A run of internal DNS with "debug options ALL,1 78,6" should show what the
problem is in 2.6.

Amos
Received on Tue Apr 22 2008 - 14:16:58 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT