Add catalog (Producer) zone support.#218
Draft
gjherbiet wants to merge 12 commits intooperasoftware:masterfrom
Draft
Add catalog (Producer) zone support.#218gjherbiet wants to merge 12 commits intooperasoftware:masterfrom
gjherbiet wants to merge 12 commits intooperasoftware:masterfrom
Conversation
When changing to "Producer" replication type, RFC-recommended `invalid.` namerserver and `soa` from the `catalog` config section are applied. When changing from "Producer" to "Master" or "Native" replication type, the default nameservers template and the the specified SOA are applied. Zone content (all records except SOA and apex NS RRSet) is kept as this does not cause issue to PowerDNS: when a zone is set to "Producer", all non-catalog records are not served.
* create a 'Producer' SOA template according to RFC specifications * create a 'Producer' NS template according to RFC specifications * prevent 'Producer' templates name change and deletion * allocate 'Producer' templates when 'Producer' replication type is selected, and revert to default (or empty) templatyes when other replication type is selected. * disable and set empty value for 'Catalog zone' and 'DNSSEC' when 'Producer' replication type is selected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request aims to bring catalog zones support to
dns-ui.They are also internally called "Producer" zones in PowerDNS.
This is currently a work in progress!
However, feel free to already review and comment changes.
This is my first large pull-request for this project, so advice on how to contribute in the cleanest way is very welcome!
Planned features: