The config was recently modified to ensure ns4 won't leak any queries to
root servers. However, the test wasn't executed and it turns out the way
this was handled actually broke the test case. Add our custom root hint
to both of the views to ensure the test can still pass without leaking
any queries.
include "trusted.conf";
-zone "." {
- type hint;
- file "../../_common/root.hint";
-};
-
view rec {
match-recursive-only yes;
recursion yes;
dnssec-accept-expired yes;
minimal-responses no;
+ zone "." {
+ type hint;
+ file "../../_common/root.hint";
+ };
+
zone secure.example {
type static-stub;
server-addresses { 10.53.0.4; };
recursion no;
allow-recursion { none; };
+ zone "." {
+ type hint;
+ file "../../_common/root.hint";
+ };
+
zone secure.example {
type secondary;
primaries { 10.53.0.3; };