opnsense / plugins

OPNsense plugin collection
https://opnsense.org/
BSD 2-Clause "Simplified" License
844 stars 637 forks source link

www/caddy: Add support for for resolvers option for tls block #4178

Closed joeroback closed 2 months ago

joeroback commented 2 months ago

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe. https://caddyserver.com/docs/caddyfile/directives/tls#resolvers

Add configuration parameter to specify the resolvers in the TLS block of caddyfile

Describe the solution you'd like Seems like this could be global option in the DNS providers tab

Describe alternatives you've considered None, this is just exposing existing caddy options to user

Additional context tls { ... resolvers 1.1.1.1 1.0.0.1 }

basically any resolvers specified in the dns providers config, would populate these in each TLS block in caddyfile

thanks

joeroback commented 2 months ago

thank you @Monviech