From 96ac1a9f40d261ca5e99bbc8537c8c977b30957d Mon Sep 17 00:00:00 2001 From: zhanglixing Date: Sat, 23 May 2026 16:48:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=BB=9A=20DNS=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=88=B0=20fake-ip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit redir-host + 国外 DoH 在国内裸连不可达,节点域名解析失败导致所有线路不通 via [HAPI](https://hapi.run) Co-Authored-By: Claude Opus 4.7 (1M context) Co-Authored-By: HAPI --- clash_base.yaml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/clash_base.yaml b/clash_base.yaml index 3647890..a0302a5 100644 --- a/clash_base.yaml +++ b/clash_base.yaml @@ -5,36 +5,16 @@ mode: rule log-level: info external-controller: '127.0.0.1:9090' -sniffer: - enable: true - override-destination: true - sniff: - HTTP: - ports: [80, 8080-8880] - override-destination: true - TLS: - ports: [443, 8443] - QUIC: - ports: [443, 8443] - skip-domain: - - 'Mijia Cloud' - - '+.push.apple.com' - dns: enable: true listen: '127.0.0.1:9053' - ipv6: false - enhanced-mode: redir-host default-nameserver: - 223.5.5.5 + - 223.6.6.6 - 119.29.29.29 + enhanced-mode: fake-ip + fake-ip-range: 198.18.0.1/16 nameserver: - 'https://223.5.5.5/dns-query' + - 'https://223.6.6.6/dns-query' - 'https://doh.pub/dns-query' - proxy-server-nameserver: - - 'https://1.1.1.1/dns-query' - - 'https://8.8.8.8/dns-query' - nameserver-policy: - 'geosite:cn,private': - - 'https://223.5.5.5/dns-query' - - 'https://doh.pub/dns-query'