dns_nameservers

dns_nameservers

By default, Squid sends DNS queries to the name servers listed in the /etc/resolv.conf file. If you want Squid to use a different set of name servers, you can specify them with this directive. Of course, you can also just change your resolv.conf file.

Syntax

dns_nameservers ip-address ...

Default

No default

Example

dns_nameservers 127.0.0.1 192.168.0.1



    Appendix A. Config File Reference