Squid 配置指令 dns_nameservers
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | dns_nameservers |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | 使用操作系统定义 |
| 建议配置 |
|
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 |
|
