diff --git a/config/stash/stash20260824.yaml b/config/stash/stash20260824.yaml index 1ee7664..aa47b31 100644 --- a/config/stash/stash20260824.yaml +++ b/config/stash/stash20260824.yaml @@ -18,42 +18,48 @@ dns: enable: true # 关闭将使用系统 DNS ipv6: true # IPV6解析开关;如果为false,将返回ipv6结果为空 enhanced-mode: fake-ip # 模式:redir-host或fake-ip - listen: 0.0.0.0:53 # DNS 监听地址 - default-nameserver: [223.5.5.5, 119.29.29.29, 114.114.114.114] + #listen: 0.0.0.0:53 # DNS 监听地址 + default-nameserver: [223.5.5.5, 119.29.29.29] # 解析非IP的dns用的dns服务器,只支持纯IP,(Meta可为其加密) - nameserver: [https://223.5.5.5/dns-query, https://1.12.12.12/dns-query] + nameserver: [https://223.5.5.5/dns-query, https://119.29.29.29/dns-query] # 默认DNS服务器,支持udp/tcp/dot/doh/doq - + fallback: + - https://1.1.1.1/dns-query + - https://8.8.8.8/dns-query + fake-ip-range: 198.18.0.1/16 # Fake-IP 解析地址池 fake-ip-filter: - '*.lan' - "rule-set:salem@cn,GitHub,fake-ip-filter" - 'geosite:cn' # Fake-ip 过滤,列表中的域名返回真实IP + nameserver-policy: + 'geosite:cn': [https://223.5.5.5/dns-query, https://119.29.29.29/dns-query] + #'geosite:geolocation-!cn': [https://1.1.1.1/dns-query, https://8.8.8.8/dns-query] + 'rule-set:google,AI,geolocation-!cn': [https://1.1.1.1/dns-query, https://8.8.8.8/dns-query] # 本地服务器 proxies: null # 订阅引用相关 -u: &u {type: select, use: [Subscribe]} +u: &u {type: select, use: [Salem]} ###锚点### # 远程订阅相关 -p: &p {type: http, interval: 86400, health-check: {enable: true, url: http://www.apple.com/library/test/success.html, interval: 300}} +p: &p {type: http, interval: 86400, health-check: {enable: true, url: https://www.gstatic.com/generate_204, interval: 300}} # 远程订阅 proxy-providers: - Subscribe: {<<: *p, path: ./proxy_providers/subscribe.yaml, url: "https://salem.sswiwi.com/s/f822a5e21a58184c530e01eb1ae62115"} + salem: {<<: *p, url: "https://salem.sswiwi.com/s/f822a5e21a58184c530e01eb1ae62115"} # 1. 请使用Clash类型订阅链接填入引号""内使用, # 2. 或可使用通用订阅链接通过Sub-Store进行订阅转换(用于Stash)。 ###锚点### # 代理组相关 -o1: &o1 {type: select, proxies: []} -o2: &o2 {type: select, proxies: ['节点选择']} -o3: &o3 {type: select, proxies: ['DIRECT', '节点选择']} -o4: &o4 {type: select, proxies: ['REJECT', 'DIRECT']} -#o5: &o5 {type: select, include-all: true, proxies: ['节点选择']} +o1: &o1 {type: select, use: [Salem], proxies: []} +o2: &o2 {type: select, use: [Salem], proxies: ['节点选择']} +o3: &o3 {type: select, use: [Salem], proxies: ['DIRECT', '节点选择']} +o4: &o4 {type: select, use: [Salem], proxies: ['REJECT', 'DIRECT']} # 代理组 proxy-groups: