Re: etc/hosts as dns substitute

From: Henrik Nordstrom <[email protected]>
Date: Fri, 28 Jan 2000 20:24:28 +0100

Joe Ramey wrote:

> One question about this: is there any way to do this in Squid 2.3
> compiled to use the internal DNS support? When we moved from 2.2 to
> 2.3 we found that we had to configure with --disable-internal-dns so
> that we could continue using our static hosts file. I'd like to use
> the internal DNS support but we need to override some addresses and
> I don't see any other way to do this.

No.

The internal DNS resolver only supports DNS.

You could hack Squid to load /etc/hosts locked into it's name cache on
startup, but it is not implemented.

--
Henrik Nordstrom
Squid hacker
Received on Fri Jan 28 2000 - 15:38:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:45 MST