]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Drop dns_v4_fallback directive as it have no effect with parallel DNS lookups
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 6 Jan 2012 20:41:21 +0000 (21:41 +0100)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 6 Jan 2012 20:41:21 +0000 (21:41 +0100)
The change to perform A and AAAA lookups in parallel made dns_v4_fallback
no longer have any effect.

This directive should be reinstanciated in future to enable pure IPv6 usage.

src/cf.data.pre
src/structs.h

index b15356fc3b4aa9a48519d7069cfd8d32f47c9e10..c539547eefd005d75dfbdfdcb5d8492f522f6e14 100644 (file)
@@ -7238,27 +7238,6 @@ DOC_START
        nameservers by setting this option to 'off'.
 DOC_END
 
-NAME: dns_v4_fallback
-TYPE: onoff
-DEFAULT: on
-LOC: Config.onoff.dns_require_A
-IFDEF: !USE_DNSHELPER
-DOC_START
-       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.
-DOC_END
-
 NAME: dns_v4_first
 TYPE: onoff
 DEFAULT: off
index 37382fe7f7046064821aaa3cfc6b3e18f2d4b9a1..47a523e55e3685b9e1a928eece4314e4fc65f4c0 100644 (file)
@@ -445,7 +445,6 @@ struct SquidConfig {
         int emailErrData;
         int httpd_suppress_version_string;
         int global_internal_static;
-        int dns_require_A;
 
 #if FOLLOW_X_FORWARDED_FOR
         int acl_uses_indirect_client;