From cec21efff7a1cf29dff0889a2fbe966f3bee2a4f Mon Sep 17 00:00:00 2001 From: salem <77879189@qq.com> Date: Thu, 27 Aug 2026 21:00:23 +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 | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/config/stash/stash_yaml.yaml b/config/stash/stash_yaml.yaml index 13fe7c6..78c556f 100644 --- a/config/stash/stash_yaml.yaml +++ b/config/stash/stash_yaml.yaml @@ -65,19 +65,15 @@ dns: use-hosts: true use-system-hosts: true - default-nameserver: # 解析非IP的dns用的dns服务器,只支持纯IP,(Meta可为其加密) - - 223.5.5.5 - - 119.29.29.29 - nameserver: # 默认DNS服务器,支持udp/tcp/dot/doh/doq - - https://1.1.1.1/dns-query - - https://8.8.8.8/dns-query + default-nameserver: [116.228.111.118, 223.5.5.5] # 解析非IP的dns用的dns服务器,只支持纯IP,(Meta可为其加密) + nameserver: [1.1.1.1, 8.8.8.8] # 默认DNS服务器,支持udp/tcp/dot/doh/doq nameserver-policy: - 'geosite:cn,apple,private': - - https://223.5.5.5/dns-query - - https://doh.pub/dns-query - 'geosite:geolocation-!cn,google,category-ai-!cn': - - https://1.1.1.1/dns-query#Google - - https://8.8.8.8/dns-query#Google + 'geosite:cn': + - 116.228.111.118 + - 223.5.5.5 + 'geosite:geolocation-!cn': [1.1.1.1, 8.8.8.8] + 'geosite:google': [1.1.1.1, 8.8.8.8] + 'geosite:category-ai-!cn': [1.1.1.1, 8.8.8.8] proxy-server-nameserver: - 223.5.5.5 - 119.29.29.29 @@ -86,7 +82,8 @@ dns: # 本地服务器 proxies: -- {name: "🟢 直连", type: direct, udp: true} +- {name: "🟢 直连", type: direct, udp: true, ip-version: ipv4} + # 订阅引用相关 u: &u {type: select, use: [Salem]}