Add two tests to make sure named-checkconf catches key-directory issues
where a zone in multiple views uses the same directory but has
different dnssec-policies. One test sets the key-directory specifically,
the other inherits the default key-directory (NULL, aka the working
directory).
Also update the good.conf test to allow zones in different views
with the same key-directory if they use the same dnssec-policy.
Also allow zones in different views with different key-directories if
they use different dnssec-policies.
Also allow zones in different views with the same key-directories if
only one view uses a dnssec-policy (the other is set to "none").
Also allow zones in different views with the same key-directories if
no views uses a dnssec-policy (zone in both views has the dnssec-policy
set to "none").
(cherry picked from commit df1aecd5ff)
25 lines
669 B
Plaintext
25 lines
669 B
Plaintext
example1 IN first master
|
|
clone IN first master
|
|
example1 IN second master
|
|
example2 IN second static-stub
|
|
example3 IN second static-stub
|
|
clone IN second in-view first
|
|
. IN second redirect
|
|
clone IN third in-view first
|
|
dnssec IN third master
|
|
p IN third primary
|
|
s IN third secondary
|
|
dnssec-test IN fourth master
|
|
dnssec-default IN fourth master
|
|
dnssec-inherit IN fourth master
|
|
dnssec-none IN fourth master
|
|
dnssec-view1 IN fourth master
|
|
dnssec-view2 IN fourth master
|
|
dnssec-view3 IN fourth master
|
|
dnssec-view4 IN fourth master
|
|
dnssec-view1 IN fifth master
|
|
dnssec-view2 IN fifth master
|
|
dnssec-view3 IN fifth master
|
|
dnssec-view4 IN fifth master
|
|
hostname.bind chaos chaos master
|