-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure DNS - Add additional nameserver to zone returns error about multiple entries #3088
Comments
Looking into the issue |
@fabienmazieres When adding additional NAMESERVER Records, you don't need to specify the Azure records on the domain. NAMESERVER("ns1-01.azure-dns.com."), These will automatically be there when DNSControl gets the zone from AzureDNS |
@vatsalyagoel , All that said, the issue still occurs to me and I am not sure how to take it. |
Each provider handles Domain Delegation a little differently and sometimes they conflict. Often the best way to resolve this is to manually set the delegation via the provider's website. This doc might be helpful, especially the last section where it explains that behavior is different if there are zero NAMESERVER() statements in a zone. |
@tlimoncelli maybe I should add a PR to de duplicate NS/Nameserver records if we detect that there are any. But I don't know if it would go against the design. If you give your blessing, I'll create the PR |
Yes, please. (Now that Go has generics, you might find https://pkg.go.dev/slices useful) |
Describe the bug
Adding nameserver entries to Azure public DNS zone fails to add the additionnal server, it returns error message "The list of record sets of type 'NS' may not contain multiple entries with the same 'nsdname'".
I want to add extra name server as I intend to host this zone on 2 providers.
To Reproduce
I use the following
dnsconfig.js
:when using
preview
, it calculate the changes as expected:but
push
returns an error messageAdding the extra providers in Azure Portal manually works and subsequent
preview
orpush
do validate the change was done as expected.Expected behavior
No error message displayed, additional NS servers added to the
@
NS record.DNS Provider
Azure DNS (azuredns_main)
The text was updated successfully, but these errors were encountered: