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

[FR] unbound-control get_options #1223

Open
popovr opened this issue Jan 16, 2025 · 0 comments
Open

[FR] unbound-control get_options #1223

popovr opened this issue Jan 16, 2025 · 0 comments

Comments

@popovr
Copy link

popovr commented Jan 16, 2025

Current behavior
only one option which must be known in advance per request can be examined with 'unbound-control get_option option'

Describe the desired feature
It'd be usefull to be able to display via unbound-control all configuration options used by unbound process with values.
Values which differ from default should followed with default value in '()'.
Clauses like server, remote-control etc. may precede option names.

example:
unbound-control get_options
---skip---
server.ip-ratelimit-size: 16777216 (default: 4194304)
---skip---
remote-control.server-cert-file: "/etc/unbound/unbound_server.pem"
---skip---
dnstap.dnstap-enable: no
---skip---

Potential use-case
It's very helpfull to examine in one place all config options and values that unbound process is using.
At the moment the only way is to use 'get_option' for each single option which is not handy.

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