TGTGInsighttelegram intelligenceLIVE / telegram public index
← 拿捏不住
拿捏不住 avatar

TGINSIGHT POST

Post #344

@Pinched666

拿捏不住

Views1,430帖子阅读量
发布11月10日2025/11/10 02:55
Post content

帖子内容

为求甚解,剖析 DNS 相关参数的优先级与内在逻辑 dns: enable: true ipv6: true enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 fake-ip-filter: - "+.lan" - "+.local" - "time.*.com" - "ntp.*.com" - "+.market.xiaomi.com" - "+.push.apple.com" - rule-set:ConnCheck - rule-set:Private - rule-set:China use-hosts: true respect-rules: true # 引导:解析上游 DoH/DoT 的起始 DNS default-nameserver: - tls://223.5.5.5 - tls://223.6.6.6 # 代理路径用的国外上游(仅对需代理的非直连规则集域名) nameserver: - "https://cloudflare-dns.com/dns-query" - "https://dns.google/dns-query" # 直连路径专用上游(国内 DoH) direct-nameserver: - "https://dns.alidns.com/dns-query" - "https://doh.pub/dns-query" # 解析代理服务器的域名,防循环用国内 proxy-server-nameserver: - "https://dns.alidns.com/dns-query" - "https://doh.pub/dns-query" # 配置查询访问域名使用的服务器 nameserver-policy: # 直连类规则集匹配的域名绑定国内上游,首跳即国内,不触发国外→国内回切 "rule-set:ConnCheck,Private,China": - "https://dns.alidns.com/dns-query" - "https://doh.pub/dns-query"