operasoftware / dns-ui

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

Feature Request and Bugs #58

Open christianbur opened 6 years ago

christianbur commented 6 years ago

Hello,

dns-ui is so far the best gui I could find for the powerdns api, thanks. Nevertheless, I have found a few improvements and Bugs

bugs

improvements

thomas-pike commented 6 years ago

Thank you, it is nice to get good feedback.

if you enter a ttl of 60, the gui will show "1M"

This use of time abbreviations is actually supposed to be a feature. Any number of seconds that can be represented as a number of minutes (M), hours (H), days (D), or weeks (W) is automatically displayed as such using the largest unit that can represent the value as a whole number (in the PowerDNS backend, all TTL data is stored as integers).

make the set_ptr selectable in the zone config page or per domain in the config file. I habe no reverse zone, so the error "No suitable reverse zone could be found for" always appears.

The set_ptr behaviour can be disabled for all zones as of commit 24a8b6a7. If you need it to be a per-zone setting, it would be nice to get some feedback of why that might be needed.

make the meta data of a zone editable in the zone config page.

Agreed, we should add this.

it would be nice if you can activate and deactivate the four eyes principle in the config file, then I could also delete a domain without logout and login with another user

Fair point, we should make this a config setting.

a template for records (A, AAAA, MX, TXT for SPF) when creating a new domain would be very helpful

I'm not sure exactly what you mean? Do you mean something like what is suggested in #32 perhaps?

christianbur commented 6 years ago

if you enter a ttl of 60, the gui will show "1M"

sorry I interpreted 1 M with 1 months, my mistake :-/

set_ptr

thanks, i will test it

a template for records

When I add a new zone, I always set the following default records

www A 1.1.1.1
www AAAA 2001:DB8::1
@ A 1.1.1.1
@  AAAA 2001:DB8::1
@ MX 10 mx1.example.com
@ MX 20 mx2.example.com
@ TXT "v=spf1 mx a include:_spf.example.com. ~all"
*  TXT "v=spf1 mx a include:_spf.example.com. ~all"

it would be nice if you didn't have to enter these records manually when creating a new zone. There are already templates for SOA and namveserver.

thomas-pike commented 6 years ago

Ah I understand, thanks for clarifying. That could be a nice feature.

christianbur commented 6 years ago

Change the default boolean settings in the config file form 0 to False and 1 to True. This is easier for non-progamers to understand :-)

gbhmacace commented 5 years ago

I second the four-eye and "zone templates" idea :-)