[PR #94] [MERGED] Create a version 1.0, to manage Pdns 4.0.0 and greater #168

Closed
opened 2026-02-28 01:21:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/tuxis-ie/nsedit/pull/94
Author: @tuxis-ie
Created: 8/5/2016
Status: Merged
Merged: 8/5/2016
Merged by: @tuxis-ie

Base: masterHead: pdns-40


📝 Commits (10+)

  • 574db00 Cleanup. We don't need this stuff for v4 anymore
  • 22502ae Implement an ApiHandler class
  • 367dde6 Add new classes to handle zones and pdns-api v4.0
  • f61f52a Add getzonekeys() to PdnsApi
  • d02889a Allow setting a string 'keyinfo'
  • fcdba74 Also export keyinfo
  • db0c7e0 Cleanup stuff in zones.php and implement the first part, 'list'
  • ccf90ca Include these files
  • a94d0e0 Fix all kind of development and trying code.
  • 6fd7087 Rebuild listrecords and fake records by merging them with rrsets in Zone.php

📊 Changes

13 files changed (+1273 additions, -612 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 README.md (+6 -4)
img/delete.png (+0 -0)
img/delete_inverted.png (+0 -0)
includes/class/ApiHandler.php (+124 -0)
includes/class/PdnsApi.php (+125 -0)
includes/class/Zone.php (+334 -0)
📝 includes/config.inc.php-dist (+4 -14)
📝 includes/misc.inc.php (+60 -19)
📝 index.php (+343 -166)
logs.php (+51 -0)
📝 users.php (+1 -1)
📝 zones.php (+224 -408)

📄 Description

Lots of new features and fixes. Greatest change is that we now support the official PDNS Api, for PDNS > 4.0.0!

Other stuff to note:

  • Searching is now done by Pdns via the (undocumented) search-data-call. It searches zonenames, records and comments.
  • A lot of new stuff has been written to make objects of a zone and its component. Main reason for that is that PDNS decided not to do 'records' anymore, but 'rrsets', which hold records. You might notice that you are unable to set a different TTL for two records in the same rrset. This is illegal because TTL is part of an rrset, not a record.
  • You may want to look at includes/class/ if you are looking for ways to communicate with PDNS via PHP. It might make your life easier.
  • NSEdit is no longer using submodules which made installation a bit difficult. We're now using subtrees which also include the files of the subtrees in the nsedit repo. This makes downloading NSEdit easier (as a ZIP/tar.gz file).
  • v0.9 has been released for those of you that are still running PDNS < 4 (like me ;))

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/tuxis-ie/nsedit/pull/94 **Author:** [@tuxis-ie](https://github.com/tuxis-ie) **Created:** 8/5/2016 **Status:** ✅ Merged **Merged:** 8/5/2016 **Merged by:** [@tuxis-ie](https://github.com/tuxis-ie) **Base:** `master` ← **Head:** `pdns-40` --- ### 📝 Commits (10+) - [`574db00`](https://github.com/tuxis-ie/nsedit/commit/574db00d94adc38c1c2ba5a0de36a5ed3dc7f255) Cleanup. We don't need this stuff for v4 anymore - [`22502ae`](https://github.com/tuxis-ie/nsedit/commit/22502ae521c0dee0f12736b21a8d065495446260) Implement an ApiHandler class - [`367dde6`](https://github.com/tuxis-ie/nsedit/commit/367dde6f19dbf716f705f39e34fe9628a9673596) Add new classes to handle zones and pdns-api v4.0 - [`f61f52a`](https://github.com/tuxis-ie/nsedit/commit/f61f52a14d8b07b3c1f8ff9a54148ae7d42a1bc6) Add getzonekeys() to PdnsApi - [`d02889a`](https://github.com/tuxis-ie/nsedit/commit/d02889a918f7c4d58d8ea5ff4c1d977c5a2be64c) Allow setting a string 'keyinfo' - [`fcdba74`](https://github.com/tuxis-ie/nsedit/commit/fcdba74c14f61a92150f9cb86965613deb91035c) Also export keyinfo - [`db0c7e0`](https://github.com/tuxis-ie/nsedit/commit/db0c7e0b8517f5065fa5d12efdf3fb8a5a7f5c8b) Cleanup stuff in zones.php and implement the first part, 'list' - [`ccf90ca`](https://github.com/tuxis-ie/nsedit/commit/ccf90cab615011d55929bad68e280bc12f1536d1) Include these files - [`a94d0e0`](https://github.com/tuxis-ie/nsedit/commit/a94d0e0b314370f4cd9842476242fccd15c505b2) Fix all kind of development and trying code. - [`6fd7087`](https://github.com/tuxis-ie/nsedit/commit/6fd7087dc908ec145ae60a258178a5e0ee10ab89) Rebuild listrecords and fake records by merging them with rrsets in Zone.php ### 📊 Changes **13 files changed** (+1273 additions, -612 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `README.md` (+6 -4) ➕ `img/delete.png` (+0 -0) ➕ `img/delete_inverted.png` (+0 -0) ➕ `includes/class/ApiHandler.php` (+124 -0) ➕ `includes/class/PdnsApi.php` (+125 -0) ➕ `includes/class/Zone.php` (+334 -0) 📝 `includes/config.inc.php-dist` (+4 -14) 📝 `includes/misc.inc.php` (+60 -19) 📝 `index.php` (+343 -166) ➕ `logs.php` (+51 -0) 📝 `users.php` (+1 -1) 📝 `zones.php` (+224 -408) </details> ### 📄 Description Lots of new features and fixes. Greatest change is that we now support the official PDNS Api, for PDNS > 4.0.0! - We now open the records if you click the row. (Closes #2) - We store the owner of a zone in Pdns. (Closes #25) - We allow setting 'set-ptr', which tries to set the PTR for an A or AAAA-record. See https://doc.powerdns.com/md/httpapi/api_spec/#url-apiv1serversserver95idzoneszone95id (Closes #51) - We implemented logging. (Closes #67) - Support PDNS => 4.0.0. (Closes #73) - We can clone zones (Closes #81) - We can sort the records on Name, Type and Content (Closes #83) Other stuff to note: - Searching is now done by Pdns via the (undocumented) search-data-call. It searches zonenames, records and comments. - A lot of new stuff has been written to make objects of a zone and its component. Main reason for that is that PDNS decided not to do 'records' anymore, but 'rrsets', which hold records. You might notice that you are unable to set a different TTL for two records in the same rrset. This is illegal because TTL is part of an rrset, not a record. - You may want to look at includes/class/ if you are looking for ways to communicate with PDNS via PHP. It might make your life easier. - NSEdit is no longer using submodules which made installation a bit difficult. We're now using subtrees which also include the files of the subtrees in the nsedit repo. This makes downloading NSEdit easier (as a ZIP/tar.gz file). - v0.9 has been released for those of you that are still running PDNS < 4 (like me ;)) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 01:21:17 +03:00
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#168
No description provided.