]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make root zone data match root hints
authorMichał Kępień <michal@isc.org>
Fri, 26 Apr 2019 09:05:56 +0000 (11:05 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 26 Apr 2019 09:05:56 +0000 (11:05 +0200)
commit978a0d25558f7e9e20f95902bececd1217bbb921
tree3b9b70413d5da9e4b6980884809fecba189e2493
parent1766a5d9e0bad663e429289cf34d519d30d86736
Make root zone data match root hints

In the "allow-query" system test, ns3 uses a root hints file which
contains a single entry for a.root-servers.nil (10.53.0.1).  This name
is not present in the root zone served by ns1, which means querying it
for that name and any type will yield an NXDOMAIN response.  When
combined with unfavorable thread scheduling, this can lead to ns3
caching an NXDOMAIN response for the only root server it is aware of and
thus to false positives for the "allow-query" system test caused by ns3
returning unexpected SERVFAIL responses.  Fix by modifying the root zone
served by ns1 so that authoritative responses to a.root-servers.nil
queries match the root hints file used by ns3.
bin/tests/system/allow-query/ns1/root.db