peteeckel/netbox-plugin-dns

Zone SOA SERIAL is increased even when nothing was changed in the GUI

Closed this issue · 0 comments

Versions
NetBox Version: 4.0.8
NetBox DNS Version: 1.0.5
Python Version: 3.11.5

Describe the bug
When a zone with automatic SOA SERIAL updates is edited via GUI, SOA SERIAL is updated and a new SOA record created even if nothing was changed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the detail view of a zone with automatic SOA SERIAL generation enabled
  2. Check the SOA SERIAL number
  3. Click on "Edit"
  4. Don't change anything and click on "Save"
  5. Check the SOA SERIAL number again

Expected result
Both serial numbers are the same

Actual result
The serial number has changed

This does not happen generally on Zone.save(), so the problem is likely in ZoneForm.