dns-ui icon indicating copy to clipboard operation
dns-ui copied to clipboard

Feature Request and Bugs

Open christianbur opened this issue 6 years ago • 5 comments

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

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

improvements

  • 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.
  • make the meta data of a zone editable in the zone config page. Currently I have to set the following options manually: SOA-EDIT, ALSO-NOTIFY, ALLOW-AXFR-FROM. NSEC3PARAM (for DNSSEC) is currently not settable through the powerdns Api. https://doc.powerdns.com/md/httpapi/api_spec/#zone-metadata a simple key value field to edit would be enough
  • I am aware that the gui has been developed for a larger organization, so the deletion is done according to the four eyes principle. I use the Gui alone, so 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. The re-login is made more difficult by the HTTP Basic Auth, because the user is cached in the browser.
  • a template for records (A, AAAA, MX, TXT for SPF) when creating a new domain would be very helpful.

christianbur avatar Mar 22 '18 14:03 christianbur

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?

thomas-pike avatar Mar 22 '18 14:03 thomas-pike

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.

christianbur avatar Mar 22 '18 14:03 christianbur

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

thomas-pike avatar Mar 22 '18 14:03 thomas-pike

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 :-)

christianbur avatar Mar 22 '18 14:03 christianbur

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

gbhmacace avatar Oct 24 '18 21:10 gbhmacace