Squid not using /etc/hosts file
If you need to set some specific hostnames for squid to use, you might use /etc/hosts. However, you still get the error where it cannot resolve the hostname. You need to add this option in the squid.conf:
hosts_file /etc/hosts
References
Weblinks
Derived from the question in https://serverfault.com/questions/195164/squid- proxy-server-ignoring-hosts-file
Comments