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

Performing an "unbound-control reload" on an RPZ enabled server causes it to become temporarily unresponsive #636

Open
deteque opened this issue Feb 27, 2022 · 0 comments

Comments

@deteque
Copy link

deteque commented Feb 27, 2022

We generate a portion of the unbound.conf file through back end databases. Most of these files deal with tags and access-control-tag settings. The generated files are merged into the main configuration file via include statements. Once the files have been updated, we initiate an "unbound-control reload" command to reload the config and activate the modified settings.

The reload causes the cpu to go to 100% until the configs have been reread. During that time, unbound becomes completely unresponsive; queries sent to the servers simply time out. Depending on the number of zones and the size of the server, we're experiencing down times of between 30-90 seconds each time a reload is initiated.

We require full logging of rpz rewrites, so putting a load balancer like dnsdist in front of each RPZ DNS cluster isn't feasble.

Ideally, Unbound would provide the capability to perform a soft reload similar to the way bind does "rndc reload" that would enable config changes without causing the resolver to go down during the update.

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

1 participant