mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
Services/Web Proxy - dns_v4_first deprecated quite some time ago (http://www.squid-cache.org/Doc/config/dns_v4_first/)
This commit is contained in:
parent
7f1d8c66d3
commit
d77236705c
@ -65,13 +65,6 @@
|
||||
<allownew>true</allownew>
|
||||
<advanced>true</advanced>
|
||||
</field>
|
||||
<field>
|
||||
<id>proxy.general.dnsV4First</id>
|
||||
<label>Enable DNS v4 first</label>
|
||||
<type>checkbox</type>
|
||||
<help>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. This option will restrict the situations under which IPv6 connectivity is used (and tested) and will hide network problems which would otherwise be detected and warned about.</help>
|
||||
<advanced>true</advanced>
|
||||
</field>
|
||||
<field>
|
||||
<id>proxy.general.useViaHeader</id>
|
||||
<label>Use Via header</label>
|
||||
|
||||
@ -55,10 +55,6 @@
|
||||
<Required>N</Required>
|
||||
<mask>/^([\/0-9a-fA-F.:,])*/u</mask>
|
||||
</alternateDNSservers>
|
||||
<dnsV4First type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>Y</Required>
|
||||
</dnsV4First>
|
||||
<forwardedForHandling type="OptionField">
|
||||
<default>on</default>
|
||||
<Required>N</Required>
|
||||
|
||||
@ -356,12 +356,6 @@ refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
|
||||
refresh_pattern . 0 20% 4320
|
||||
|
||||
# Squid Options
|
||||
{% if helpers.exists('OPNsense.proxy.general.dnsV4First') %}
|
||||
{% if OPNsense.proxy.general.dnsV4First == '1' %}
|
||||
# dns_v4_first reverses the order of preference to make Squid contact dual-stack websites over IPv4 first
|
||||
dns_v4_first on
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if helpers.empty('OPNsense.proxy.general.enablePinger') %}
|
||||
pinger_enable off
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user