policy.TLS_FORWARD should be merged with policy.FORWARD
policy.TLS_FORWARD
is very similar to policy.FORWARD
. I would like to be able to specify them in the same way. I see "should i try to use TLS?" as a configuration parameter for a specific forwarder. For example, i would like to be able to do something like:
policy.FORWARD({"192.0.2.15", transport="TLS"})
or (if #312 (closed) is resolved):
policy.FORWARD({"dns.example.net", transport="TLS"})
This should permit setting forwarder properties that are relevant for both TLS and non-TLS forwarding without needing to add them to both policy.TLS_FORWARD
and policy.FORWARD
.