Squid configuration directive dns_nameservers

Squid configuration directive dns_nameservers

Available in: v7   v6   v5   v4   3.5   3.4   3.3   3.2   2.7   3.1   3.0   2.6

This directive is not available in the v8 version of Squid.

For older versions than v5 see the linked pages above

Configuration Details:

Option Name: dns_nameservers
Replaces:
Requires:
Default Value: Use operating system definitions
Suggested Config:
Use this if you want to specify a list of DNS name servers (IP addresses) to use instead of those given in your /etc/resolv.conf file. On Windows platforms, if no value is specified here or in the /etc/resolv.conf file, the list of DNS name servers are taken from the Windows registry, both static and dynamic DHCP configurations are supported. Example: dns_nameservers 10.0.0.1 192.172.0.4

Back

Introduction

Documentation

Support

Miscellaneous