Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Batch Mode #124

Open
bjoe2k4 opened this issue Sep 26, 2016 · 1 comment
Open

Add Batch Mode #124

bjoe2k4 opened this issue Sep 26, 2016 · 1 comment

Comments

@bjoe2k4
Copy link
Contributor

bjoe2k4 commented Sep 26, 2016

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.

@tuxis-ie
Copy link
Owner

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants