]> git.ipfire.org Git - thirdparty/bind9.git/commit
Do not reuse zones whose "mirror" setting was changed
authorMichał Kępień <michal@isc.org>
Thu, 5 Jul 2018 08:54:56 +0000 (10:54 +0200)
committerEvan Hunt <each@isc.org>
Wed, 11 Jul 2018 00:36:22 +0000 (17:36 -0700)
commitdbfd19c668d113a51839fb6ff0c496ccdf55ea5a
tree2b958ee4e562a41dc6a4c83a598bbd0d3c0b61af
parent802a58d5c625e3cecfbc972808d9286cebcb0fd8
Do not reuse zones whose "mirror" setting was changed

Update named_zone_reusable() so that it does not consider a zone to be
eligible for reuse if its old value of the "mirror" option differs from
the new one.  This causes "rndc reconfig" to create a new zone structure
whenever the value of the "mirror" option is changed, which ensures that
the previous zone database is not reused and that flags are properly set
in responses sourced from zones whose "mirror" setting was changed at
runtime.
bin/named/zoneconf.c
bin/tests/system/mirror/clean.sh
bin/tests/system/mirror/ns2/named.conf.in
bin/tests/system/mirror/ns2/sign.sh
bin/tests/system/mirror/ns3/named.conf.in
bin/tests/system/mirror/tests.sh