In your squid.conf add a line like:

hosts_file none

Chris

-----Original Message-----
From: Mrs. Geeta Thanu [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 1:35 AM
To: [EMAIL PROTECTED]
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

Reply via email to