Name: systemd-resolved
Category: DNS-over-TLS client
URL: https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html
systemd-resolved is a DNS client included in systemd, it has support for DNSSEC and DNS-over-TLS. If I understand correctly, it has recently gotten (or will soon receive) support for DoT strict mode in version 243 (rather than being vulnerable to downgrade attack) and I think we could finally list it on the DNS page.
The instructions may get a bit long, so I guess this involves linking to a source such as Arch Wiki on how to use it.
@Mikaela it has already strict mode since version 243, version 244 will just get stricter host certificate checking to prevent man-in-the-middle attacks.
Thanks for the correction :)
Meanwhile in the team chat, we had a small discussion (to use the word loosely as I only gave the short instructions before starting to type this comment and I am not even booted to Linux at the moment) on this feature:
iirc systemd-resolvd operates or does not operate based on distribution
Where I replied (not bothering to quote myself):
It can be enabled on any
NetworkManager.conf (or preferably conf.d/something.conf)[main]
dns=systemd-resolved
sudo systemctl enable systemd-resolved --nowand if you want to configure it further than the DNS servers from NetworkManager and enable features like DoT or local DNSSEC validation, you drop files in /etc/systemd/resolved.conf.d/
Typing this I also remember that blog.privacytools.io is a thing, but for some reason I still think external link such as Arch Wiki would be a better idea.
Oh and I am of course assuming that the distribution in question is using NetworkManager or the user hasn't replaced it.
Here is an example setup with stub resolver:
/etc/resolv.conf:
nameserver 127.0.0.53
options edns0
/etc/systemd/resolved.conf
[Resolve]
DNS=8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844
FallbackDNS=1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001
DNSSEC=yes
DNSOverTLS=yes
Cache=yes
DNSStubListener=udp
(keep in Mind dns over tls is still buggy with systemd 243 and cloudflare, they will fix this with systemd 244)
Is this still an issue?
@dngray no systemd-resolved works fine now and it even supports hostname SNI validation from the newest version..