From 4b5e1da0e3f171de1db98ba9dadd873dbfa3674c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Wed, 31 Jul 2019 09:18:02 +0200 Subject: [PATCH] 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. --- bin/tests/system/staticstub/ns1/root.db | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/tests/system/staticstub/ns1/root.db b/bin/tests/system/staticstub/ns1/root.db index c1b821dace..3927582e54 100644 --- a/bin/tests/system/staticstub/ns1/root.db +++ b/bin/tests/system/staticstub/ns1/root.db @@ -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