]> git.ipfire.org Git - thirdparty/bind9.git/commit
Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone
authorMichał Kępień <michal@isc.org>
Wed, 22 Aug 2018 08:48:07 +0000 (10:48 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 22 Aug 2018 08:48:07 +0000 (10:48 +0200)
commit8db550c42f94b619b554d4e1e7b7fac53d780c30
tree9f9b13d67d67fd7ac1de3fe79ba9e63fb6b31eef
parent71793853dfdcc0215d5dd3db17b2aeb9b05259d2
Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone

When an inline-signed zone is loaded, the master file for its signed
version is loaded and then a rollforward of the journal for the signed
version of the zone is performed.  If DNS_JOURNALOPT_RESIGN is not set
during the latter phase, signatures loaded from the journal for the
signed version of the zone will not be scheduled for refresh.  Fix the
conditional expression determining which flags should be used for the
dns_journal_rollforward() call so that DNS_JOURNALOPT_RESIGN is set when
zone_postload() is called for the signed version of an inline-signed
zone.

Extend bin/tests/system/stop.pl so that it can use "rndc halt" instead
of "rndc stop" as the former allows master file flushing upon shutdown
to be suppressed.
bin/tests/system/inline/clean.sh
bin/tests/system/inline/ns3/named.conf.in
bin/tests/system/inline/ns3/sign.sh
bin/tests/system/inline/setup.sh
bin/tests/system/inline/tests.sh
bin/tests/system/stop.pl
lib/dns/zone.c