Skip to content
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

Zone creation with faulty SOA-API-DNSUPDATE setting #185

Open
emollusion opened this issue Sep 17, 2021 · 2 comments
Open

Zone creation with faulty SOA-API-DNSUPDATE setting #185

emollusion opened this issue Sep 17, 2021 · 2 comments

Comments

@emollusion
Copy link

Hi!

I found that creating a new zone with dns-ui generated an error.
dns-ui presents the value powerdns config has for default-soa-update, which in my case is INCEPTION-INCREMENT, but this value should not be presented to this API.
https://doc.powerdns.com/md/authoritative/upgrading/
Instead, the value DEFAULT should be presented, or either of these values:
https://doc.powerdns.com/authoritative/dnsupdate.html#soa-edit-dnsupdate-settings

The error appears both when the zone is created as well as updated with a record.

This is present for the following versions:
PowerDNS Server 4.3.2
dnsui 0.2.7

This setting should perhaps be set as DEFAULT, unless something else is set in the dns-ui config, a default setting could perhaps also be presented in the dns-ui config either way.

Work around is to either change the specified row to DEFAULT or whichever setting is applicable for the current user case, or to edit the pdns database to same.

Thank you!

@emollusion
Copy link
Author

emollusion commented Sep 18, 2021

Hmm, looked through the code a bit better and see that it is referring to a conf setting, so my initial request above might be in error, So it seems that this has not been included in the latest version?
A wuestion though, why is INCEPTION-INCREMENT set as fallback?

@nhulsch
Copy link
Contributor

nhulsch commented Nov 25, 2021

backwards compatibilty as this setting was introduced later and might not have been set.
INCEPTION-INCREMENT was the way to go due to powerdns version at time of that commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants