On Sat, 21 Aug 2004, [iso-8859-1] Swaroop Shere wrote:

But still it did not work. Then i edited the
/etc/hosts file, and entered ip addresses for
google.com, and google.co.in. After this i started
squid and and typed www.google.com on a browser, it
worked. So, maybe squid does require a dns server for
reslving its acl [to_localhost]. That's what I found
when I increased the debug level to 3 and saw that
www.google.com was being compared to [to_localhost],
BEFORE i edited the /etc/hosts file.

If you have ACLs touching destination hostnames or IP addresses then your Squid will require DNS.


This is also why the to_localhost rule is disabled by default.

Regards
Henrik

Reply via email to