]> 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 14:15:02 +0000 (14:15 +0000)
commitd13786d583a53e48aef73ee91da8e6e471ee8c64
tree08e78b6e0979b0304c8e534b8a3eb2914d75dfe4
parent008e84e965bee27b9f4c6f4172b076cfc396a09c
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'.

(cherry picked from commit ba8128ea0038298bd379662ea6f438c650f68340)
bin/named/include/named/zoneconf.h
bin/named/server.c
bin/named/zoneconf.c