Skip to content

Add DNS-OVER-TLS option - #92

Closed
dancek wants to merge 1 commit into
jonathanio:masterfrom
dancek:dns-over-tls-option
Closed

dancek wants to merge 1 commit into
jonathanio:masterfrom
dancek:dns-over-tls-option

Conversation

@dancek

@dancek dancek commented Mar 9, 2021

Copy link
Copy Markdown

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.

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.
@dancek

dancek commented Mar 26, 2021

Copy link
Copy Markdown
Author

@jonathanio how about this?

@dancek

dancek commented Aug 8, 2021

Copy link
Copy Markdown
Author

ping

@WGH-

WGH- commented Aug 18, 2021 •

Copy link
Copy Markdown

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?

@dancek

dancek commented Aug 18, 2021

Copy link
Copy Markdown
Author

I suppose the name of the option string is nonstandard and "local" to update-systemd-resolved, just like DNSSEC, right?

Yes. I didn't even realize that some of the options were standard.

@jonathanio

Copy link
Copy Markdown
Owner

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.

@tomeon

tomeon commented Jul 13, 2023

Copy link
Copy Markdown
Collaborator

@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.

@tomeon

tomeon commented Aug 4, 2023

Copy link
Copy Markdown
Collaborator

Superseded by the recently-merged #110.

@tomeon tomeon closed this Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants