Skip to content

Instantly share code, notes, and snippets.

@amanjuman
Last active October 30, 2024 15:16
Show Gist options
  • Save amanjuman/4a7f883e230f03cc61c3370b258367d1 to your computer and use it in GitHub Desktop.
Save amanjuman/4a7f883e230f03cc61c3370b258367d1 to your computer and use it in GitHub Desktop.
Enable DNS Over TLS in Debian using Systemd
[Resolve]
DNS=1.1.1.1#cloudflare-dns.com 1.0.0.1#cloudflare-dns.com 2606:4700:4700::1111#cloudflare-dns.com 2606:4700:4700::1001#cloudflare-dns.com 9.9.9.9#dns.quad9.net
DNSOverTLS=yes
FallbackDNS=149.112.112.112#dns.quad9.net 8.8.8.8#dns.google
LLMNR=no
MulticastDNS=no
DNSSEC=no
Cache=yes
DNSStubListener=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment