2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

Make root hints consistent with authoritative data

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.
This commit is contained in:
Michał Kępień 2019-07-31 09:18:02 +02:00
parent 51ec36c826
commit 4b5e1da0e3

View 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
ns.example.net. A 10.53.0.3
example.com. NS example.
ns.example.net. A 10.53.0.3