[GH-ISSUE #124] Add Batch Mode #73

Open
opened 2026-02-28 01:20:52 +03:00 by kerem · 1 comment
Owner

Originally created by @bjoe2k4 on GitHub (Sep 26, 2016).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/124

After n edits of a master zone, there will be in the worst case n NOTIFY+AXFR actions, which i think is bad (or not really necessary), especially for large zones.

I was just wondering if there is a way to do multiple changes to a zone via nsedit and only increment the SOA at the end? I am thinking of some kind of batch mode, which can be turned on by a button for example, that temporarily disables soa-edit-api for the zone. After editing is finished, use the same button again to trigger/commit a SOA update and/or restore soa-edit-api.

Originally created by @bjoe2k4 on GitHub (Sep 26, 2016). Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/124 After _n_ edits of a master zone, there will be in the worst case _n_ NOTIFY+AXFR actions, which i think is bad (or not really necessary), especially for large zones. I was just wondering if there is a way to do multiple changes to a zone via nsedit and only increment the SOA at the end? I am thinking of some kind of batch mode, which can be turned on by a button for example, that temporarily disables soa-edit-api for the zone. After editing is finished, use the same button again to trigger/commit a SOA update and/or restore soa-edit-api.
Author
Owner

@tuxis-ie commented on GitHub (Sep 29, 2016):

It would be possible, but would include keeping state of a zone in nsedit. The whole idea of nsedit is KISS, so don't do anything smart, just ask pdns.

The serial is overrated in pdns-context anyways, so it doesn't really matter.

<!-- gh-comment-id:250396123 --> @tuxis-ie commented on GitHub (Sep 29, 2016): It would be possible, but would include keeping state of a zone in nsedit. The whole idea of nsedit is KISS, so don't do anything smart, just ask pdns. The serial is overrated in pdns-context anyways, so it doesn't really matter.
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#73
No description provided.