nsedit icon indicating copy to clipboard operation
nsedit copied to clipboard

Add Batch Mode

Open bjoe2k4 opened this issue 8 years ago • 1 comments

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.

bjoe2k4 avatar Sep 26 '16 20:09 bjoe2k4

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.

tuxis-ie avatar Sep 29 '16 07:09 tuxis-ie