-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reload TSIG secrets on Server struct #1161
Comments
no this is not possible. I'm not sure if there is a performant/backwards compatible fix to make it work. |
starting/stopping a single dns instance should not impact your DNS; if it does and you require zero downtime you probably want to run on multiple machines |
I think if this was a syncMap instead of a regular map, this problem would go away wouldn't it? I think it pretty much just reads from the map as usual. The rolling restart may be a good option for the time being though. |
[ Quoting <[email protected]> in "Re: [miekg/dns] Reload TSIG secrets..." ]
I think if this was a syncMap instead of a regular map, this problem would go
away wouldn't it? I think it pretty much just reads from the map as usual. The
rolling restart may be a good option for the time being though.
likely, but that change is not backwards compatible
|
Yea makes sense, thanks! |
Right now when create a new server with TSIG it follows the pattern:
This is fine if the
server.TsigSecret
never changes, however what happens if you want to add new tsigs with zero downtime. How do you do this without causing a race condition? I want to be able to just edit the tsigSecret map while the server is serving requests. Is this possible in anyway?Thanks!
The text was updated successfully, but these errors were encountered: