Setup OpenDNS in Squid
UPDATED
OpenDNS (from its website) : it’s a DNS service, aim to make Internet safer, faster, smarter and more reliable.
This is how to setup OpenDNS in SQUID :
Edit squid.conf and add this :
OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
dns_nameservers 208.67.220.220 208.67.222.222
or
dns_nameservers 208.67.220.220
dns_nameservers 208.67.222.222
Save and run this :
squid -k parse
squid -k reconfigure
but if your squid add nameservers from squid.conf, just run squid -k reconfigure
If your squid add nameservers from /etc/resolv.conf, add to /etc/resolv.conf :
nameserver 208.67.220.220
nameserver 208.67.222.222
Save and run :
squid -k reconfigure, since your squid need to refresh its configuration
Where do I get OpenDNS IP? You can look at a OpenDNS Web Site.
Test the configuration : open this address in your browser http://welcome.opendns.com
For more configuration or troubleshooting you can ask OpenDNS people.






Leave a Reply