]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix a reconfig bug wrt inline-signing
authorMatthijs Mekking <matthijs@isc.org>
Tue, 13 Oct 2020 12:48:04 +0000 (14:48 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 26 Nov 2020 09:43:27 +0000 (10:43 +0100)
commitba8128ea0038298bd379662ea6f438c650f68340
tree340406c09ff3ac7d78e27879cfc4a0592ab646c0
parent114af58ee28329933e6d39f5f65fd75a63b3ff4a
Fix a reconfig bug wrt inline-signing

When doing 'rndc reconfig', named may complain about a zone not being
reusable because it has a raw version of the zone, and the new
configuration has not set 'inline-signing'. However, 'inline-signing'
may be implicitly true if a 'dnssec-policy' is used for the zone, and
the zone is not dynamic.

Improve the check in 'named_zone_reusable'.  Create a new function for
checking 'inline-signing' configuration that matches existing code in
'bin/named/server.c'.
bin/named/include/named/zoneconf.h
bin/named/server.c
bin/named/zoneconf.c