Re: --disable-internal-dns

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 24 Feb 2006 18:32:07 -0700 (MST)

On Sat, 14 Jan 2006, Rafael Martinez Torres wrote:

> Hi:
>
> I need transiently to bypass squid3's own dns subsystem, so I compiled with
>
> ./configure --disable-internal-dns...
>
> Things use to go well, unless you get an alias address, i.e.
> http://www.google.es
>
> bash-2.04$ host www.google.es
> www.google.es is an alias for www.google.com.
> www.google.com is an alias for www.l.google.com.
> www.l.google.com has address 64.233.183.104
> www.l.google.com has address 64.233.183.147
> www.l.google.com has address 64.233.183.99
>
> Things go well if you type
>
> http://www.l.google.com
>
> but in case you type
>
> http://www.google.es
>
> you will get the attached error....

You've disabled internal DNS so Squid should be using the 'dnsserver'
binary to do lookups. You can test it like this:

     echo www.google.es | ./dnsserver
     $addr 226 66.102.7.99 66.102.7.147 66.102.7.104

Thats what I get, which looks like it works.

If you look at dnsserver.cc you'll see a for-loop where Squid does
try up to three times to resolve the IP address.

If you have a repeatable case where dnsserver cannot resolve
www.google.es then its time to open a bug report I guess.

Duane W.
Received on Fri Feb 24 2006 - 18:32:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Feb 28 2006 - 12:00:05 MST