operasoftware / dns-ui

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

Renaming a name has different behavior than adding a name if the name exists #145

Open jsoref opened 5 years ago

jsoref commented 5 years ago

Setup

  1. Go to a zone
  2. Create a record host, A, 1M, 10.0.0.2, enabled, (comment: 10)
  3. Click + Add for that record
  4. Create a record alternate, A, 1M, 192.168.0.3, enabled, (comment: 192)
  5. Click + Add for that record
  6. Click Save changes

Multiple resource recordsets

  1. Edit the alternate record and change alternate to host
  2. See:
    • alternate A: 192.168.0.3 Name changes from alternate to host
    • Multiple resource recordsets for host A

Added new resource record

  1. Reload the page
  2. Create a record host, A, 1M, 192.168.0.3, enabled, (comment: 192)
  3. Click + Add for that record
  4. See:
    • host A: Added new resource record, Content = 192.168.0.3, Enabled = Yes

It seems a bit odd that one path is considered ok and one path is considered an error