[GH-ISSUE #96] pdns or PowerDNS-Admin creates duplicate records #63

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

Originally created by @joachimtingvold on GitHub (Jul 27, 2016).
Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/96

Hi,

I've experienced several times now when using the PowerDNS-Admin GUI that random (at the moment I see no pattern) records are being duplicated. It happens when updating the zone, and it seems to be related to the same name+type tuple.

E.g. having these entries;

@ 3600 NS ns1.foo.bar.
@ 3600 NS ns2.foo.bar.
@ 3600 A 10.1.1.1
@ 3600 AAAA fe80::1
lol 3600 A 10.2.2.2

Applying changes to that zone (for whatever reason -- adding new, or changing existing records), you could suddenly end up with the following entries;

@ 3600 NS ns1.foo.bar.
@ 3600 NS ns2.foo.bar.
@ 3600 A 10.1.1.1
@ 3600 AAAA fe80::1
lol 3600 A 10.2.2.2
lol 3600 A 10.2.2.2

.. or ..

@ 3600 NS ns1.foo.bar.
@ 3600 NS ns2.foo.bar.
@ 3600 NS ns1.foo.bar.
@ 3600 NS ns2.foo.bar.
@ 3600 A 10.1.1.1
@ 3600 AAAA fe80::1
lol 3600 A 10.2.2.2

As mentioned, I'm not sure if it's caused by PowerDNS-Admin or the pdns API. I'll make an issue here to keep track of it, and if there are others who have similar experiences, feel free to chip in.

Originally created by @joachimtingvold on GitHub (Jul 27, 2016). Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/96 Hi, I've experienced several times now when using the PowerDNS-Admin GUI that random (at the moment I see no pattern) records are being duplicated. It happens when updating the zone, and it seems to be related to the same name+type tuple. E.g. having these entries; ``` @ 3600 NS ns1.foo.bar. @ 3600 NS ns2.foo.bar. @ 3600 A 10.1.1.1 @ 3600 AAAA fe80::1 lol 3600 A 10.2.2.2 ``` Applying changes to that zone (for whatever reason -- adding new, or changing existing records), you could suddenly end up with the following entries; ``` @ 3600 NS ns1.foo.bar. @ 3600 NS ns2.foo.bar. @ 3600 A 10.1.1.1 @ 3600 AAAA fe80::1 lol 3600 A 10.2.2.2 lol 3600 A 10.2.2.2 ``` .. or .. ``` @ 3600 NS ns1.foo.bar. @ 3600 NS ns2.foo.bar. @ 3600 NS ns1.foo.bar. @ 3600 NS ns2.foo.bar. @ 3600 A 10.1.1.1 @ 3600 AAAA fe80::1 lol 3600 A 10.2.2.2 ``` As mentioned, I'm not sure if it's caused by PowerDNS-Admin or the pdns API. I'll make an issue here to keep track of it, and if there are others who have similar experiences, feel free to chip in.
kerem closed this issue 2026-02-26 10:35:55 +03:00
Author
Owner

@Digital-Daz commented on GitHub (Jan 7, 2018):

I'm experiencing exactly this now with a postgres backend, then records will not save because it sees a duplicate and sure enough, there it is in the gui.

The same record just keeps reappearing.

<!-- gh-comment-id:355821475 --> @Digital-Daz commented on GitHub (Jan 7, 2018): I'm experiencing exactly this now with a postgres backend, then records will not save because it sees a duplicate and sure enough, there it is in the gui. The same record just keeps reappearing.
Author
Owner

@Digital-Daz commented on GitHub (Jan 7, 2018):

In fact, I just deleted both instances of it and realised, in my case it is duplicating the first record in the domain.

<!-- gh-comment-id:355821574 --> @Digital-Daz commented on GitHub (Jan 7, 2018): In fact, I just deleted both instances of it and realised, in my case it is duplicating the first record in the domain.
Author
Owner

@Digital-Daz commented on GitHub (Jun 29, 2018):

It now seems to create multiple duplicates. Not a word on this in six months from the dev nor indeed a word on the previous one over two years ago!

<!-- gh-comment-id:401351171 --> @Digital-Daz commented on GitHub (Jun 29, 2018): It now seems to create multiple duplicates. Not a word on this in six months from the dev nor indeed a word on the previous one over two years ago!
Author
Owner

@ngoduykhanh commented on GitHub (Dec 16, 2019):

It seems related to the old way of applying records in PDA. Although I was not able to reproduce this issue on my side, I've made changes in the latest code to just send actual changes to the PDNS API to avoid unexpected behavior.

<!-- gh-comment-id:566067392 --> @ngoduykhanh commented on GitHub (Dec 16, 2019): It seems related to the old way of applying records in PDA. Although I was not able to reproduce this issue on my side, I've made changes in the latest code to just send actual changes to the PDNS API to avoid unexpected behavior.
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#63
No description provided.