]> git.ipfire.org Git - thirdparty/bind9.git/commit
Store built-in dnssec-policies in defaultconf
authorMatthijs Mekking <matthijs@isc.org>
Tue, 21 Jun 2022 10:31:05 +0000 (12:31 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 28 Jun 2022 09:56:31 +0000 (11:56 +0200)
commit5ff414e986fad453b0fd65c7ee14af277b1b73c2
tree50202810c5f7f7c1f168d6a5444687d40511b9e9
parenta28d91950393640441191e8f4c80df7737344100
Store built-in dnssec-policies in defaultconf

Update the defaultconf with the built-in policies. These will now be
printed with "named -C".

Change the defines in kasp.h to be strings, so they can be concatenated
in the defaultconf. This means when creating a kasp structure, we no
longer initialize the defaults (this is fine because only kaspconf.c
uses dns_kasp_create() and it inherits from the default policy).

In kaspconf.c, the default values now need to be parsed from string.

Introduce some variables so we don't need to do get_duration multiple
times on the same configuration option.

Finally, clang-format-14 decided to do some random formatting changes.
bin/named/config.c
lib/dns/include/dns/kasp.h
lib/dns/kasp.c
lib/isccfg/include/isccfg/grammar.h
lib/isccfg/kaspconf.c