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

From: Dave Mangot <[email protected]>
Date: Wed, 16 Mar 2005 09:36:04 -0800

Elsen Marc 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 version ?
> Recent SQUID versions use /etc/hosts (too).

Sorry, my bad.

Squid 2.5 Stable 9 compiled with:
./configure --prefix=/usr/local --disable-ident-lookups --enable-ssl
--with-openssl=/usr/local/ssl --enable-useragent-log
--enable-referer-log --enable-storeio=ufs,null --disable-internal-dns

We also have hosts_file /etc/hosts uncommented in /etc/hosts.

AFAIK, the problem is it finds the real www.example.com in dns before it
checks /etc/hosts and
we don't want it to look at dns at all, for anything.

                                                -Dave

-- 
Dave Mangot           mangot@dhapdigital.com
DHAP Digital, Inc.    http://www.dhapdigital.com/
San Francisco, CA     +1.415.962.4891
Received on Wed Mar 16 2005 - 10:35:25 MST

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