mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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:
parent
1997c36ce4
commit
d9fd971231
2 changed files with 10 additions and 0 deletions
|
|
@ -26,6 +26,11 @@ options {
|
|||
notify yes;
|
||||
};
|
||||
|
||||
zone . {
|
||||
type hint;
|
||||
file "../../_common/root.hint";
|
||||
};
|
||||
|
||||
zone "example" {
|
||||
type primary;
|
||||
file "example.db.signed";
|
||||
|
|
|
|||
|
|
@ -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; };
|
||||
|
|
|
|||
Loading…
Reference in a new issue