auroraresearchlab / netbox-dns

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

Deleting or renaming a name server does not remove or update the NS records pointing to it #279

Closed peteeckel closed 1 year ago

peteeckel commented 1 year ago

When a name server is assigned to a zone and the name server is deleted, the NS managed records are not removed from the zone. NetBox DNS needs to remove these records on deletion of the NameServer object.

peteeckel commented 1 year ago

While testing the solution I found that NS records also don't get updated when a nameserver is renamed. This needs to be fixed as well.