From: Matthijs Mekking Date: Mon, 18 May 2026 13:13:38 +0000 (+0200) Subject: Check conf dnssec-policy inline-signing secondary X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=43bbfbeb3c27e5e1402237ac6a90c2ade6ed2cb5;p=thirdparty%2Fbind9.git Check conf dnssec-policy inline-signing secondary Add a variant of checking configuration where inline-signing is enabled on the secondary, requiring the 'file' entry. This time, inline-signing is implicitly enabled via dnssec-policy. --- diff --git a/bin/tests/system/checkconf/inline-inherit.conf b/bin/tests/system/checkconf/inline-inherit.conf new file mode 100644 index 00000000000..8cc7da6b85e --- /dev/null +++ b/bin/tests/system/checkconf/inline-inherit.conf @@ -0,0 +1,7 @@ +remote-servers "stealthPrimaries" {127.0.0.1;}; +zone "example.net" { + type secondary; + dnssec-policy default; + primaries { stealthPrimaries; }; +}; + diff --git a/bin/tests/system/checkconf/tests.sh b/bin/tests/system/checkconf/tests.sh index 330da510e3c..539afaf56a6 100644 --- a/bin/tests/system/checkconf/tests.sh +++ b/bin/tests/system/checkconf/tests.sh @@ -277,6 +277,9 @@ l=$(grep "missing 'file' entry" checkconf.out$n.3 2>&1 && ret=1 l=$(grep "missing 'file' entry" checkconf.out$n.3 2>&1 && ret=1 +l=$(grep "missing 'file' entry"