更新 config/stash/stash_yaml.yaml
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user