]> git.ipfire.org Git - thirdparty/bind9.git/commit
Introduce dnssec-policy configuration
authorMatthijs Mekking <matthijs@isc.org>
Mon, 2 Sep 2019 14:24:48 +0000 (16:24 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 6 Nov 2019 21:31:44 +0000 (22:31 +0100)
commita50d707fdcf702e9e07a3ad5ea74761cb6e3d08d
treeedf2e7fa961d18efcbddb5cb7848fae639ac2d72
parent1fbd8bb1b3c4a5607cad0d0bd655a764a1eb367a
Introduce dnssec-policy configuration

This commit introduces the initial `dnssec-policy` configuration
statement. It has an initial set of options to deal with signature
and key maintenance.

Add some checks to ensure that dnssec-policy is configured at the
right locations, and that policies referenced to in zone statements
actually exist.

Add some checks that when a user adds the new `dnssec-policy`
configuration, it will no longer contain existing DNSSEC
configuration options.  Specifically: `inline-signing`,
`auto-dnssec`, `dnssec-dnskey-kskonly`, `dnssec-secure-to-insecure`,
`update-check-ksk`, `dnssec-update-mode`, `dnskey-sig-validity`,
and `sig-validity-interval`.

Test a good kasp configuration, and some bad configurations.
21 files changed:
bin/named/named.conf.docbook
bin/tests/system/checkconf/bad-kasp1.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp2.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp3.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp4.conf [new file with mode: 0644]
bin/tests/system/checkconf/clean.sh
bin/tests/system/checkconf/good-kasp.conf [new file with mode: 0644]
bin/tests/system/checkconf/kasp-and-other-dnssec-options.conf [new file with mode: 0644]
bin/tests/system/checkconf/tests.sh
doc/arm/Bv9ARM-book.xml
doc/arm/dnssec-policy.grammar.xml [new file with mode: 0644]
doc/arm/master.zoneopt.xml
doc/arm/slave.zoneopt.xml
doc/design/dnssec-policy
doc/misc/master.zoneopt
doc/misc/options
doc/misc/slave.zoneopt
lib/bind9/check.c
lib/isccfg/include/isccfg/namedconf.h
lib/isccfg/namedconf.c
util/copyrights