Fix catalog updates on managed DNS primaries #248

Merged
parkel merged 1 commits from fix/dns-catalog-sandbox into main 2026-12-03 01:10:55 +01:00
Owner

Bug fixes

  • Allow the sandboxed DNS apply service on catalog primaries to write to the catalog directory when publishing or retiring zones. Keep the existing sandbox unchanged for secondaries and ordinary DNS receivers.
  • Preserve the existing catalog, transfer key, and matching local override on repeat setup. Remove newly created catalog files and overrides if setup fails.

Operational impact

Existing catalog primaries need a one-time rerun of setup-secondary-dns.sh primary from the upgraded release, with the same secondary transfer address. This is safe to repeat and does not recreate zones or keys. Installations without a managed catalog primary do not require any action.

Verification

  • Django system and migration checks passed. The Django suite ran 689 tests, with one skipped.
  • All 36 installer tests passed, including seven DNS catalog regression tests covering first setup, existing primaries, secondaries, and failure handling.
  • Ruff lint and format checks passed.

Fixes #247

## Bug fixes - Allow the sandboxed DNS apply service on catalog primaries to write to the catalog directory when publishing or retiring zones. Keep the existing sandbox unchanged for secondaries and ordinary DNS receivers. - Preserve the existing catalog, transfer key, and matching local override on repeat setup. Remove newly created catalog files and overrides if setup fails. ## Operational impact Existing catalog primaries need a one-time rerun of `setup-secondary-dns.sh primary` from the upgraded release, with the same secondary transfer address. This is safe to repeat and does not recreate zones or keys. Installations without a managed catalog primary do not require any action. ## Verification - Django system and migration checks passed. The Django suite ran 689 tests, with one skipped. - All 36 installer tests passed, including seven DNS catalog regression tests covering first setup, existing primaries, secondaries, and failure handling. - Ruff lint and format checks passed. Fixes #247
parkel added 1 commit 2026-12-03 01:10:17 +01:00
Allow catalog updates on managed DNS primaries
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Successful in 1m43s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Failing after 1m54s
797f737619
parkel merged commit 4c2c08bd5c into main 2026-12-03 01:10:55 +01:00
parkel deleted branch fix/dns-catalog-sandbox 2026-12-03 01:10:55 +01:00
Sign in to join this conversation.