Squid 配置指令 dns_v4_fallback
可用版本:
此指令在 Squid 的 v8 版本中不可用。
此指令在 Squid 的 v7 版本中不可用。
此指令在 Squid 的 v6 版本中不可用。
此指令在 Squid 的 v5 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | dns_v4_fallback |
|---|---|
| 替代 | |
| 要求 | --enable-internal-dns |
| 默认值 | dns_v4_fallback on |
| 建议配置 |
|
Standard practice with DNS is to lookup either A or AAAA records and use the results if it succeeds. Only looking up the other if the first attempt fails or otherwise produces no results. That policy however will cause squid to produce error pages for some servers that advertise AAAA but are unreachable over IPv6. If this is ON squid will always lookup both AAAA and A, using both. If this is OFF squid will lookup AAAA and only try A if none found. WARNING: There are some possibly unwanted side-effects with this on: *) Doubles the load placed by squid on the DNS network. *) May negatively impact connection delay times. |
|
