-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Is there a way protect AXFR and IXFR queries to require TSIG? #481
Comments
Yes. As an example the No existing provided impl of I have a proof-of-concept impl that does restrict access that was never released, there's still a version of it in Git history, I'll try and find it. There isn’t an out-of-the-box simple Middleware |
See: domain/src/zonemaintenance/maintainer.rs Line 2152 in b61d08f
It might be a bit overwhelming as there's a lot going on in that code. It was never properly finished or reviewed but was tested locally with an NSD both acting as a primary and also in a separate test acting as a secondary, so it's not beautiful but it works. |
Hi @pusateri, The attached patch against the I hope that helps. Ximon Update: Note that you can also check that only the expected TSIG keys are used, not just that some TSIG key was used. |
Fantastic. This works for me. Thanks! |
Great! @pusateri: Do you think the documentation needs improving (for this scenario) and if so do you have any suggestions as to what to change or add? Ximon |
No, updating the example code should be sufficient. |
Thanks for adding TSIG support. This is very cool.
Current TSIG middleware docs say:
Is there a way to require Signed requests only?
The text was updated successfully, but these errors were encountered: