Ensure tests use mock root server if configured

These tests have ns1 configured as a mock root server. Make sure it is
used in all config files of those tests, otherwise some queries could
leak to root nameservers.

(cherry picked from commit 088fcf9a61)
This commit is contained in:
Tom Krizek
2023-11-27 17:20:10 +01:00
parent 1997c36ce4
commit d9fd971231
2 changed files with 10 additions and 0 deletions

View File

@@ -26,6 +26,11 @@ options {
notify yes;
};
zone . {
type hint;
file "../../_common/root.hint";
};
zone "example" {
type primary;
file "example.db.signed";

View File

@@ -66,6 +66,11 @@ view auth {
recursion no;
allow-recursion { none; };
zone "." {
type hint;
file "../../_common/root.hint";
};
zone secure.example {
type secondary;
primaries { 10.53.0.3; };