update-systemd-resolved
update-systemd-resolved copied to clipboard
Add DNS-OVER-TLS option
When using DNSOverTLS=yes in resolved.conf all DNS queries over VPN fail if the private DNS server doesn't support DoT. This option makes disabling DoT for the link easy while keeping the global option enabled.
@jonathanio how about this?
ping
I also had the same problem with VPN and DNSOverTLS being globally enabled. I think this is a nice solution (I myself just patched update-systemd-resolved to always call SetLinkDNSOverTLS(idx, off)).
I suppose the name of the option string is nonstandard and "local" to update-systemd-resolved, just like DNSSEC, right?
I suppose the name of the option string is nonstandard and "local" to
update-systemd-resolved, just likeDNSSEC, right?
Yes. I didn't even realize that some of the options were standard.
Looks good. I'll need to prepare some tests to add to ensure that the busctl is being called as expected. I'll do that shortly, ready for the merge.
@dancek and @WGH- -- PR #110 adds support for the DNSOverTLS option, plus a number of additional systemd-resolved options. I'd be much obliged if you could try testing the code in that PR.
Superseded by the recently-merged #110.