Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Create and parse SOA records using dnspython #218

Merged
merged 1 commit into from
Aug 6, 2022
Merged

Create and parse SOA records using dnspython #218

merged 1 commit into from
Aug 6, 2022

Conversation

peteeckel
Copy link
Contributor

@peteeckel peteeckel commented Aug 4, 2022

fixes #217

This PR is a complete redesign of how SOA records are generated and parsed. NetBox DNS now uses dnspython both for generating SOA records and for parsing them in the test suite.

After applying this upgrade, any change to a zone that creates a new SOA record will use the correct format without parentheses. To manually update all SOA records, run netbox/manage.py update_soa [--verbose] from the shell.

@peteeckel peteeckel marked this pull request as draft August 4, 2022 17:24
@peteeckel peteeckel marked this pull request as ready for review August 4, 2022 17:37
@hatsat32 hatsat32 merged commit 7d88ecf into auroraresearchlab:main Aug 6, 2022
@peteeckel peteeckel deleted the fix/soa-dnspython branch September 19, 2022 18:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The SOA record has redundant parentheses
2 participants