Skip to content

Improve the view configuration error handling and reverting logic

Arаm Sаrgsyаn requested to merge 3060-revert-view-on-failed-reconfig into main

If a view configuration error occurs during a named reconfiguration procedure, BIND can end up having twin views (old and new), with some zones and internal structures attached to the old one, and others attached to the new one, which essentially creates chaos.

Implement some additional view reverting mechanisms to avoid the situation described above:

  1. Revert rpz configuration.

  2. Revert catz configuration.

  3. Revert zones to view attachments.

Closes #3060 (closed)

Edited by Arаm Sаrgsyаn

Merge request reports