]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Make root hints consistent with authoritative data
authorMichał Kępień <michal@isc.org>
Wed, 31 Jul 2019 07:18:02 +0000 (09:18 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 31 Jul 2019 07:18:02 +0000 (09:18 +0200)
The ns2 named instance in the "staticstub" system test is configured
with a single root hint commonly used in BIND system tests
(a.root-servers.nil with an address of 10.53.0.1), which is inconsistent
with authoritative data served by ns1.  This may cause intermittent
resolution failures, triggering false positives for the "staticstub"
system test.  Prevent this from happening by making ns1 serve data
corresponding to the contents of bin/tests/system/common/root.hint.

bin/tests/system/staticstub/ns1/root.db

index c1b821dace30c80596725347c1b65e2e641a567b..3927582e549d4cb0b8a3e3e58ef1578b461f7838 100644 (file)
@@ -8,10 +8,10 @@
 ; information regarding copyright ownership.
 
 $TTL   120
-@              SOA     ns.utld hostmaster.ns.utld ( 46 3600 1200 604800 60 )
-@              NS      ns.utld
-ns.utld                A       10.53.0.1
-;
-example.com.   NS      example.
+@                      SOA     a.root-servers.nil. hostmaster.isc.org. 1 600 600 1200 600
+@                      NS      a.root-servers.nil.
+a.root-servers.nil.    A       10.53.0.1
+
+example.com.           NS      example.
 
-ns.example.net.        A       10.53.0.3
+ns.example.net.                A       10.53.0.3