[GH-ISSUE #53] Wrong record is deleted #34

Closed
opened 2026-02-26 10:35:42 +03:00 by kerem · 2 comments
Owner

Originally created by @TacoScheltema on GitHub (Jun 27, 2016).
Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/53

Hi,

I've setup a domain with the following records (domain names and ip addresses have been changed here for the example of course)

@       A       Active       3600       192.168.0.1
@       MX      Active       3600       10 mx1.example.com 
@       MX      Active       3600       40 mx2.example.com 
@       NS      Active       3600       ns1.example.com 
@       NS      Active       3600       ns2.example.com
@       SPF     Active       3600       "v=spf1 a mx ptr mx:mail.example.com ~all" 
@       TXT     Active       3600       "v=spf1 a mx ptr mx:mail.example.com ~all" 
www     CNAME   Active       3600       web.example.com

When I then try to delete a record it's always deleting the topmost record instead of the selected record.

I am using Powerdns 3.4.7

dpkg -l | grep pdns
ii  pdns-backend-mysql                   3.4.7-1~bpo8+1              amd64        generic MySQL backend for PowerDNS
ii  pdns-server                          3.4.7-1~bpo8+1              amd64        extremely powerful and versatile nameserver

I did a git pull origin earlier today.
Is this something in my setup or could this be a bug?

Originally created by @TacoScheltema on GitHub (Jun 27, 2016). Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/53 Hi, I've setup a domain with the following records (domain names and ip addresses have been changed here for the example of course) ``` @ A Active 3600 192.168.0.1 @ MX Active 3600 10 mx1.example.com @ MX Active 3600 40 mx2.example.com @ NS Active 3600 ns1.example.com @ NS Active 3600 ns2.example.com @ SPF Active 3600 "v=spf1 a mx ptr mx:mail.example.com ~all" @ TXT Active 3600 "v=spf1 a mx ptr mx:mail.example.com ~all" www CNAME Active 3600 web.example.com ``` When I then try to delete a record it's always deleting the topmost record instead of the selected record. I am using Powerdns 3.4.7 ``` dpkg -l | grep pdns ii pdns-backend-mysql 3.4.7-1~bpo8+1 amd64 generic MySQL backend for PowerDNS ii pdns-server 3.4.7-1~bpo8+1 amd64 extremely powerful and versatile nameserver ``` I did a `git pull origin` earlier today. Is this something in my setup or could this be a bug?
kerem 2026-02-26 10:35:42 +03:00
Author
Owner

@ngoduykhanh commented on GitHub (Jun 28, 2016):

Fixed in commit 50973a295c. Thanks for reporting.

<!-- gh-comment-id:229119999 --> @ngoduykhanh commented on GitHub (Jun 28, 2016): Fixed in commit 50973a295c9dbbcf1be18f004366f7d5662668a7. Thanks for reporting.
Author
Owner

@TacoScheltema commented on GitHub (Jun 28, 2016):

Yes, it's working now. Thanks for the quick fix 👍

<!-- gh-comment-id:229185426 --> @TacoScheltema commented on GitHub (Jun 28, 2016): Yes, it's working now. Thanks for the quick fix 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PowerDNS-Admin-PowerDNS-Admin#34
No description provided.