-
-
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 👍 |
Apparently, this can also happen for catzones too:
This happened after a restart of After a manual |
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... |
If I was unclear, the issue was not just
No logs mentioned anything about the catz.catalog zone where present either.
But nothing happened with the
I realize this issue might only be touching the |
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? |
It seems to be what knot creates/generates by default:
Should I open a separate issue for this then? I can cut&paste the stuff over to it |
Yes, I would prefer that, then I can merge PR #420 |
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: