dns:
enable: true
ipv6: false
use-hosts: true
prefer-h3: true
listen: 0.0.0.0:7874
enhanced-mode: redir-host
nameserver-policy:
"geosite:cn, private":
- "https://223.6.6.6/dns-query"
- "https://223.5.5.5/dns-query#h3=true"
nameserver:
- "https://1.0.0.1/dns-query"
- "
https://cloudflare-dns.com/dns-query#h3=true"
proxy-server-nameserver:
- "https://223.6.6.6/dns-query"
default-nameserver:
- 119.29.29.29
- 223.5.5.5
sniffer:
enable: true
sniff:
TLS:
ports: [443, 8443]
HTTP:
ports: [80, 8080-8880]
override-destination: true