operasoftware / dns-ui

Opera's LDAP-authenticated PowerDNS user interface
Apache License 2.0
283 stars 58 forks source link

New zone replication type always set to Master, even when Native chosen #30

Closed pasikarkkainen closed 6 years ago

pasikarkkainen commented 6 years ago

I've configured the default replication type to be "Native" in the dns-ui settings. Then I create/add a new zone from the web interface, and make sure "Native" is chosen as the replication type. I also used browser developer tools and made sure the POST request shows kind as "Native". So all should be fine..

But after the zone is added the Replication type is "Master", not "Native".

It seems there's a bug..

thomas-pike commented 6 years ago

Confirmed, though the actual behaviour is that it creates the zone correctly in PowerDNS but fails to set the correct value in the local database. Workaround: view the zone list after creating the zone and it will refresh the correct data from PowerDNS.

Should be an easy fix though.