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

Support for response-policy? #116

Closed
omnom62 opened this issue Nov 9, 2023 · 1 comment
Closed

Support for response-policy? #116

omnom62 opened this issue Nov 9, 2023 · 1 comment

Comments

@omnom62
Copy link

omnom62 commented Nov 9, 2023

Is it possible to add the support of the option 'response-policy'?
Basically, it will be good to be able to set this option via the server.pp

response_policy => { "rpz.domain.com"} that will end up in a list of option in named.conf. E.g.:
options {
...
response-policy { zone "rpz.domain.com"; };
...
}

thank you

@omnom62
Copy link
Author

omnom62 commented Nov 10, 2023

I am closing this now as I found extra_option parameter that allows to extend the set of option by an arbitrary expression:
For the response-policy it might look like
extra_options => {'response-policy' => '{ zone "rpz.mydomain.com"; }'},

thanks for the awesome module!

@omnom62 omnom62 closed this as completed Nov 10, 2023
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