chore: update dns config

This commit is contained in:
Skimmle 2022-11-12 12:12:31 +08:00
parent d78b2b1cfb
commit c0bd4af120

View File

@ -107,6 +107,7 @@ profile:
# DNS配置 # DNS配置
dns: dns:
enable: false # 关闭将使用系统 DNS enable: false # 关闭将使用系统 DNS
perfer-h3: true # 开启 DoH 支持 HTTP/3将并发尝试
listen: 0.0.0.0:53 # 开启 DNS 服务器监听 listen: 0.0.0.0:53 # 开启 DNS 服务器监听
# ipv6: false # false 将返回 AAAA 的空结果 # ipv6: false # false 将返回 AAAA 的空结果
@ -136,7 +137,7 @@ dns:
- 8.8.8.8 # default value - 8.8.8.8 # default value
- tls://223.5.5.5:853 # DNS over TLS - tls://223.5.5.5:853 # DNS over TLS
- https://doh.pub/dns-query # DNS over HTTPS - https://doh.pub/dns-query # DNS over HTTPS
- https://dns.alidns.com/dns-query#h3=true # 强制HTTP/3 - https://dns.alidns.com/dns-query#h3=true # 强制 HTTP/3,与 perfer-h3 无关,强制开启 DoH 的 HTTP/3 支持,若不支持将无法使用
- https://mozilla.cloudflare-dns.com/dns-query#DNS&h3=true # 指定策略组和使用 HTTP/3 - https://mozilla.cloudflare-dns.com/dns-query#DNS&h3=true # 指定策略组和使用 HTTP/3
- dhcp://en0 # dns from dhcp - dhcp://en0 # dns from dhcp
- quic://dns.adguard.com:784 # DNS over QUIC - quic://dns.adguard.com:784 # DNS over QUIC