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

Report failure of primaries with secondary zones #325

Open
wtoorop opened this issue Apr 15, 2024 · 2 comments
Open

Report failure of primaries with secondary zones #325

wtoorop opened this issue Apr 15, 2024 · 2 comments

Comments

@wtoorop
Copy link
Member

wtoorop commented Apr 15, 2024

It would be nice if nsd-control zonestatus would report on failed primaries and also the error code (EDE code if available) with which they failed. Especially if all primaries failed it would be nice if there is a special message logged that this is the case.

As discussed in the context of catalog zones with @pettai

@wtoorop wtoorop changed the title Report failure of primaries whith secondary zones Report failure of primaries with secondary zones May 19, 2024
@pettai
Copy link

pettai commented Aug 21, 2024

A mash-up could look something like:

$ nsd-control zonestatus sunet.se
zone:	sunet.se
	state: ok
	served-serial: "2024082105 since 2024-08-21T16:05:40"
	commit-serial: "2024082105 since 2024-08-21T16:05:40"
	wait: "13162 sec between attempts"
	primary-ns: "192.36.125.2 is reachable"

and possibly

$ nsd-control zonestatus sunet.se
zone:	sunet.se
	state: refreshing
	served-serial: "2024082105 since 2024-08-21T16:05:40"
	commit-serial: "2024082105 since 2024-08-21T16:05:40"
	wait: "126231 sec between attempts"
	primary-ns: "192.36.125.2 is unreachable since ..."

but other ideas on the format are welcome...

@pettai
Copy link

pettai commented Aug 21, 2024

just remembered that a kv for TSIG also would be valuable to see:

$ nsd-control zonestatus sunet.se
zone:	sunet.se
	state: ok
	served-serial: "2024082105 since 2024-08-21T16:05:40"
	commit-serial: "2024082105 since 2024-08-21T16:05:40"
	wait: "13162 sec between attempts"
	primary-ns: "192.36.125.2 is reachable"
	tsig-key: "somekeyname"
$ nsd-control zonestatus sunet.se
zone:	sunet.se
	state: refreshing
	served-serial: "2024082105 since 2024-08-21T16:05:40"
	commit-serial: "2024082105 since 2024-08-21T16:05:40"
	wait: "126231 sec between attempts"
	primary-ns: "192.36.125.2 is unreachable since ..."
	tsig-key: ""

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