In your squid.conf add a line like:
hosts_file none
Chris
-----Original Message-----
From: Mrs. Geeta Thanu [mailto:geeta@cdfd.org.in]
Sent: Thursday, December 02, 2004 1:35 AM
To: squid-users@squid-cache.org
Subject: [squid-users] squid to resolve local domain with out seeing
/etc/hosts
Hi all,
I have installed squid and is working fine for many days.
Recently we shifted our web server to a IP say 172.16.2.80.
but the system in which squid is running has in its /etc/hosts file
172.16.0.1 webserver
I want this entry not to be changed becos of some
other purpose.
so now if anybody browse webserver thru squid it is pointing to 172.16.0.1
as webserver.
How can I make squid not to look in to /etc/hosts file and should resolve
the local domains also thru DNS only..
Pls guide me
regds
Geetha
Received on Thu Dec 02 2004 - 11:10:45 MST
This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST