-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
"state" should be something else than "ok" then served-serial and commit-serial are not equal #419
Comments
Good idea. I'll implement that shortly. |
As requested in Issue #419 "old-serial" is printed as state with nsd-control when the served serial is older than the one received by transfer. Also, state "future-serial" is printed if the served serial is newer than the one received by transfer.
your fix worked for us 👍 |
This comment has been minimized.
This comment has been minimized.
Ack, served-serial: none and commit-serial: something is okay, but not the other way around. But there are some retries implemented already. I'll have to consider this... |
This comment has been minimized.
This comment has been minimized.
That is peculiar. I tried this myself, but with me it did start to add the zones, even though the catalog zone itself was read from disk:
I did notice however that all the zones in the catalog are then freshly transferred from the primary, even though they did have zone files on disk, and even though their state was properly recorded in the xfrd.state file. This needs fixing, but I'd rather create a new issue for it. May I ask what the refresh, retry and expire timer values of the catz.catalog. SOA record are? |
This comment has been minimized.
This comment has been minimized.
Yes, I would prefer that, then I can merge PR #420 |
I've hidden/removed all catz member zone stuff now, please go ahead |
It's a NSD behavior follow-up on #417
nsd-control zonestatus
reports zonestate: ok
even thought served-serial is several updates away from current commit-serial.Example https://github.com/NLnetLabs/nsd/issues/417
Generally, perhaps it shouldn't be regarded as a fault state (since the new zone data is suppose to be installed, but currently hasn't been that yet).
So perhaps something like
state: old-serial
or similar would be an indication that the zone currently isn't on par with the latest zone NSD knows about.This would make it much simpler to discover then the NSD updating process isn't working as expected (as per #417)
The text was updated successfully, but these errors were encountered: