更新 config/stash/stash-config-wiki.MD

This commit is contained in:
2026-08-30 18:14:05 +08:00
parent a9e45e8618
commit 836e99ac7c
+10
View File
@@ -36,6 +36,16 @@ Stash 会**并发请求 policy 里全部 DNS 上游**1.1.1.1 和 8.8.8.8 同
2. 想要强制某一类域名优先,用**通配符 `+.shturl.`**,它优先级高于全部 geosite 集合。
3. `geosite:apple`集合里很多域名同时属于`geolocation!cn`,只写 geosite 会出现解析策略不确定。
```
## nameserver-policy: singbox vs mihomo 对比小结
表格
| 项目 | singbox | mihomo |
| --- | --- | --- |
| `geosite:xxx@tag`权重 | 内置更高优先级,自动优先匹配 | 无内置优先级;map 无序,同时命中会随机选一条 |
| DNS# 出站标记语法 | 格式不一样,server 里写`detour`字段 | 支持`dnsaddr#策略组名` |
| 解决 apple@cn+apple 冲突 | 直接写两条即可 | 必须用集合差集 `geosite:apple,!apple@cn` |
# ✅nameserver语法写法
```