]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4782. [test] dnssec: 'checking positive and negative validation
authorMark Andrews <marka@isc.org>
Tue, 24 Oct 2017 22:13:05 +0000 (09:13 +1100)
committerMark Andrews <marka@isc.org>
Tue, 24 Oct 2017 22:13:05 +0000 (09:13 +1100)
                        with negative trust anchors' required more time to
                        complete on some machines. [RT #46386]

CHANGES
bin/tests/system/dnssec/ns4/named1.conf
bin/tests/system/dnssec/tests.sh

diff --git a/CHANGES b/CHANGES
index 0d20458efd299d5dcba2e7996f2b683091fb7327..faec7632f1b5a8b55482ed7849881ba328e820cb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+4782.  [test]          dnssec: 'checking positive and negative validation
+                       with negative trust anchors' required more time to
+                       complete on some machines. [RT #46386]
+
 4781.  [maint]         B.ROOT-SERVERS.NET is now 199.9.14.201. [RT #45889]
 
 4780.  [bug]           When answering ANY queries, don't include the NS
index 505be0a6185ed313b46e3d16ed5fc9c3a66809ed..6caaff7baa357fe61f7453232259302644537cab 100644 (file)
@@ -24,8 +24,8 @@ options {
        dnssec-must-be-secure mustbesecure.example yes;
        minimal-responses no;
 
-       nta-lifetime 10s;
-       nta-recheck 7s;
+       nta-lifetime 12s;
+       nta-recheck 9s;
 
        # Note: We only reference the bind.keys file here to confirm that it
        # is *not* being used.  It contains the real root key, and we're
index 8e968db64bbd3d8e7f6b95cbb35961c14f744849..dd8cee57ad4ee071a1bb85ff2e8d4e227a4543a0 100644 (file)
@@ -1722,7 +1722,7 @@ echo "I: waiting for NTA rechecks/expirations"
 # fakenode.secure.example should both be lifted, but badds.example
 # should still be going.
 #
-$PERL -e 'my $delay =  '$start' + 8 - time(); select(undef, undef, undef, $delay) if ($delay > 0);'
+$PERL -e 'my $delay =  '$start' + 10 - time(); select(undef, undef, undef, $delay) if ($delay > 0);'
 $DIG $DIGOPTS b.secure.example. a @10.53.0.4 > dig.out.ns4.test$n.8 || ret=1
 grep "status: SERVFAIL" dig.out.ns4.test$n.8 > /dev/null && ret=1
 grep "flags:[^;]* ad[^;]*;" dig.out.ns4.test$n.8 > /dev/null || ret=1
@@ -1742,7 +1742,7 @@ ret=0
 # it should still be NTA'd, but badds.example used the default
 # lifetime of 10s, so it should revert to SERVFAIL now.
 #
-$PERL -e 'my $delay = '$start' + 11 - time(); select(undef, undef, undef, $delay) if ($delay > 0);'
+$PERL -e 'my $delay = '$start' + 13 - time(); select(undef, undef, undef, $delay) if ($delay > 0);'
 # check nta table
 $RNDC -c ../common/rndc.conf -s 10.53.0.4 -p 9953 nta -d > rndc.out.ns4.test$n._11
 lines=`grep " expiry " rndc.out.ns4.test$n._11 | wc -l`