auroraresearchlab / netbox-dns

Netbox Dns is a netbox plugin for managing zone, nameserver and record inventory.
MIT License
208 stars 20 forks source link

Improved the performance of automatic SOA serial generation #241

Closed peteeckel closed 1 year ago

peteeckel commented 1 year ago

fixes #239

This change skips most of the save() function for zones when only the SOA serial has to be updated. Some code related to the migration from very early versions of NetBox DNS to a consistent database (essentially getting rid of duplicate SOA entries, which should no longer exist in a recent installation) was removed.