This is already implemented in the backend, but the flag has not been
exposed. This patch adds the flag so that any forwarders will be
connected to using TCP.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
i.e. we trust their DNSSEC validation.
- for auths this inserts a negative trust anchor
Beware that setting .set_insecure() *later* would override that.
+ .tcp to force transport over TCP
\param targets same format as policy.TLS_FORWARD() except that `tls = true`
can be specified for each address (defaults to false)
--]]
{
is_nods = options.dnssec == false,
is_auth = options.auth,
+ is_tcp = options.tcp
},
targets_3
) == 0)