bind9/bin
Aram Sargsyan 84c235a4b0 Fix view's zones reverting bug during reconfiguration
During reconfiguration, the configure_view() function reverts the
configured zones to the previous view in case if there is an error.

It uses the 'zones_configured' boolean variable to decide whether
it is required to revert the zones, i.e. the error happened after
all the zones were successfully configured.

The problem is that it does not account for the case when an error
happens during the configuration of one of the zones (not the first),
in which case there are zones that are already configured for the
new view (and they need to be reverted), and there are zones that
are not (starting from the failed one).

Since 'zones_configured' remains 'false', the configured zones are
not reverted.

Replace the 'zones_configured' variable with a pointer to the latest
successfully configured zone configuration element, and when reverting,
revert up to and including that zone.
2023-03-01 14:10:31 +00:00
..
check Remove libbind9 2023-02-21 13:12:26 +00:00
confgen Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
delv Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
dig Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
dnssec dnssec-signzone can now create multiple CDS RRs 2023-02-28 09:38:31 +01:00
named Fix view's zones reverting bug during reconfiguration 2023-03-01 14:10:31 +00:00
nsupdate Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00
plugins clean up some deprecated/obsolete options and doc 2023-02-10 09:52:27 -08:00
rndc Remove libbind9 2023-02-21 13:12:26 +00:00
tests Add a catz system test check for [GL #3911] 2023-03-01 13:47:56 +00:00
tools move dispatchmgr from resolver to view 2023-02-24 08:30:33 +00:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00