From 6696435fa12481d0f492f3244674c0202c53a8fd Mon Sep 17 00:00:00 2001 From: salem <77879189@qq.com> Date: Wed, 26 Aug 2026 01:08:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20config/stash/stash=5Fyaml.?= =?UTF-8?q?yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/stash/stash_yaml.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config/stash/stash_yaml.yaml b/config/stash/stash_yaml.yaml index e55a6d5..7684ef5 100644 --- a/config/stash/stash_yaml.yaml +++ b/config/stash/stash_yaml.yaml @@ -29,15 +29,15 @@ dns: use-hosts: true nameserver: [https://223.5.5.5/dns-query, https://119.29.29.29/dns-query] fallback: [https://1.1.1.1/dns-query, https://8.8.8.8/dns-query] - fallback-filter: - geoip: true - geoip-code: CN # 关键核心:告诉 Stash 只要国内 DNS 解析出的 IP 不在中国境内,就代表被污染/泄露了,必须丢弃! - ipcidr: - - 240.0.0.0/4 - - 0.0.0.0/32 - geosite: # 加上这个更保险 - - gfw - - geolocation-!cn + #fallback-filter: + #geoip: true + #geoip-code: CN # 关键核心:告诉 Stash 只要国内 DNS 解析出的 IP 不在中国境内,就代表被污染/泄露了,必须丢弃! + #ipcidr: + #- 240.0.0.0/4 + #- 0.0.0.0/32 + #geosite: # 加上这个更保险 + #- gfw + #- geolocation-!cn nameserver-policy: 'geosite:cn': [https://223.5.5.5/dns-query, https://119.29.29.29/dns-query] 'rule-set: google, AI, geolocation-!cn': [https://1.1.1.1/dns-query, https://8.8.8.8/dns-query]