Configure DNS over TLS and HTTPS

Added configuration for DNS over TLS and DNS over HTTPS.
This commit is contained in:
deepend-tildeclub 2025-09-17 14:35:12 -06:00 committed by GitHub
parent 21a8012155
commit 9ce41d7e3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 0 deletions

View File

@ -10,6 +10,18 @@ options {
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// Classic DNS still on port 53:
listen-on { any; };
listen-on-v6 { any; };
// DoT (DNS over TLS) on 853
listen-on port 853 tls "dns-tls" { any; };
listen-on-v6 port 853 tls "dns-tls" { any; };
// DoH (DNS over HTTPS) on 443 with default endpoint /dns-query
listen-on port 443 tls "dns-tls" http default { any; };
listen-on-v6 port 443 tls "dns-tls" http default { any; };
forwarders {
// 172.98.193.42;
// 198.206.14.241;