Squid 配置指令 dns_v4_first
可用版本:
此指令在 Squid 的 v8 版本中不可用。
此指令在 Squid 的 v7 版本中不可用。
此指令在 Squid 的 v6 版本中不可用。
此指令在 Squid 的 v5 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | dns_v4_first |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | dns_v4_first off |
| 建议配置 |
|
With the IPv6 Internet being as fast or faster than IPv4 Internet for most networks Squid prefers to contact websites over IPv6. This option reverses the order of preference to make Squid contact dual-stack websites over IPv4 first. Squid will still perform both IPv6 and IPv4 DNS lookups before connecting. WARNING: This option will restrict the situations under which IPv6 connectivity is used (and tested). Hiding network problems which would otherwise be detected and warned about. |
|
