]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Set "use-alt-transfer-source no;" in the "mirror" system test
authorMichał Kępień <michal@isc.org>
Sat, 25 Aug 2018 19:48:17 +0000 (21:48 +0200)
committerMichał Kępień <michal@isc.org>
Sat, 25 Aug 2018 19:48:17 +0000 (21:48 +0200)
Force ns3 to use a constant source address (10.53.0.3) when sending
transfer requests for the "initially-unavailable" zone to prevent
failures of transfers not triggered by bin/tests/system/mirror/tests.sh
from causing fallback to using a source address for which transfers of
that zone are refused throughout the entire "mirror" system test since
that might yield false positives.

bin/tests/system/mirror/ns3/named.conf.in

index a54cdf4900590bb57ce93ea47ebb9eeba413c4d2..9eec0acf8931d2b77ed67eb2c8167f806faab6c2 100644 (file)
@@ -48,6 +48,7 @@ zone "initially-unavailable" {
        masters { 10.53.0.2; };
        mirror yes;
        file "initially-unavailable.db.mirror";
+       use-alt-transfer-source no;
 };
 
 zone "verify-axfr" {