Re: [squid-users] no dnsserver only /etc/hosts?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 16 Mar 2005 11:49:50 +0100 (CET)

On Tue, 15 Mar 2005, Dave Mangot wrote:

> Is this possible? Squid keeps looking up the real www.example.com and
> trying to connect to that. We want it to just look in it's /etc/hosts file
> and
> ignore DNS completely. It should only resolve from /etc/hosts.

Squid by default reads /etc/hosts on startup, and any entries found there
will override DNS.

If you want to disable the use of DNS entirely then build Squid with
--disable-internal-dns and then configure your server without DNS
(/etc/nsswitch.conf on most OS:es)

Regards
Henrik
Received on Wed Mar 16 2005 - 03:49:54 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST