[GH-ISSUE #36] Every zone is listed 2 times #17

Closed
opened 2026-02-28 01:20:34 +03:00 by kerem · 4 comments
Owner

Originally created by @EugenMayer on GitHub (Mar 10, 2015).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/36

PDNS 3.4 + postgresql (8.4)

Every zone is listed 2 times. Creating a new zone using the UI als creates an 2 entriess. Deleting an entry deletes both entries - so its just a visualization bug, not really dupes in the backend

Originally created by @EugenMayer on GitHub (Mar 10, 2015). Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/36 PDNS 3.4 + postgresql (8.4) Every zone is listed 2 times. Creating a new zone using the UI als creates an 2 entriess. Deleting an entry deletes both entries - so its just a visualization bug, not really dupes in the backend
kerem closed this issue 2026-02-28 01:20:34 +03:00
Author
Owner

@tuxis-ie commented on GitHub (Mar 11, 2015):

What happens if you request zones.php?action=list&jtStartIndex=0&jtPageSize=20 ? Do you see them double in there too?

<!-- gh-comment-id:78237032 --> @tuxis-ie commented on GitHub (Mar 11, 2015): What happens if you request zones.php?action=list&jtStartIndex=0&jtPageSize=20 ? Do you see them double in there too?
Author
Owner

@EugenMayer commented on GitHub (Mar 20, 2015):

i see all zones 2 times .. checking http://127.0.0.1:8081/servers/localhost/zones | jq .. so directly on the pdns backend .. i see 12 zoens, not 6 .. so it seems a backend issue.

Sorry, i was confused...i though i checked that its correctly shown in the zones definition from the backend.

The bad thing..

 select count(id) from domains;
 6

In the postgresql backend, i have exactly 6 zones (as expected) not 12 (dupes).
Finally, it seems to be an REST-API issue from PDNS, not an nsedit issue, nor a data inconsistancy.

Ever heard of this? Nevertheless, this should be a wont-fix - sorry!

<!-- gh-comment-id:83996298 --> @EugenMayer commented on GitHub (Mar 20, 2015): i see all zones 2 times .. checking http://127.0.0.1:8081/servers/localhost/zones | jq .. so directly on the pdns backend .. i see 12 zoens, not 6 .. so it seems a backend issue. Sorry, i was confused...i though i checked that its correctly shown in the zones definition from the backend. The bad thing.. ``` select count(id) from domains; 6 ``` In the postgresql backend, i have exactly 6 zones (as expected) not 12 (dupes). Finally, it seems to be an REST-API issue from PDNS, not an nsedit issue, nor a data inconsistancy. Ever heard of this? Nevertheless, this should be a wont-fix - sorry!
Author
Owner

@tuxis-ie commented on GitHub (Mar 20, 2015):

Will you file an issue @powerdns or should I?

<!-- gh-comment-id:84003013 --> @tuxis-ie commented on GitHub (Mar 20, 2015): Will you file an issue @powerdns or should I?
Author
Owner

@EugenMayer commented on GitHub (Mar 20, 2015):

done already :) https://github.com/PowerDNS/pdns/issues/2366

<!-- gh-comment-id:84003107 --> @EugenMayer commented on GitHub (Mar 20, 2015): done already :) https://github.com/PowerDNS/pdns/issues/2366
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/nsedit#17
No description provided.