Re: [squid-users] How do I setup Squid to use /etc/hosts

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 10 Jun 2001 21:16:15 +0200

sean.upton@uniontrib.com wrote:
>
> I think you would need to compile squid --disable-internal-dns, and NOT use
> the internal resolver, and instead use dnsserver, an external process, which
> does know how to look at /etc/hosts, because it does use libresolv, I
> think...

Squid-2.3 does not read /etc/hosts unless compiled with
--disable-internal-dns.

Squid-2.4 and onwards reads /etc/hosts and assigns this higer priority
than DNS lookups, even when using the internal DNS client (default).

--
Henrik Nordstrom
Squid Hacker
Received on Sun Jun 10 2001 - 13:30:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:35 MST