## 现象 以 geolocation-cn 为例: 目前的 geo/geosite/geolocation-cn.mrs(.list 约 5385 条)中缺失 feishucdn.com、feishu.cn、larksuite.com、qq.com、tencent.com、alibaba.com、jd.com 等域名。 经 Claude Sonnet 5.5 对比,该规则缺失条目数约为:bytedance 350、volcengine 278、qcloud 274、huaweicloud 246、jd 239、alibaba 205、tencent 125、xiaomi 67,还有 lark、feishu、lark-global ## 影响 GEOSITE,geolocation-cn,DIRECT 将无法应用于被丢弃的条目。相应条目将被继续向下 fallback。如果用户未设置 GEOIP,CN 或 DNS 解析返回的 IP 地址不属于 CN,则可能触发其他代理规则,导致应当被直连的主机被错误路由至代理。 ## 原因 [上游](https://github.com/Loyalsoldier/domain-list-custom/) 的上游 [引入并大量使用了 @!-attr 来表示不包含某个 attr](https://github.com/v2fly/domain-list-community/pull/3119),而上游至今未处理相关改动。这导致所有的 @!-attr 全部被上游解析器识别为“要求带有相应的 attr”,匹配到 0 条,整个子列表都被丢弃。 ## 复现步骤(copied from Claude Code) - 环境:Go 1.24.6(custom 的 go.mod 要求 1.25.12,用 GOTOOLCHAIN=auto 自动拉取)。 - 拉取 v2fly/domain-list-community 和 Loyalsoldier/domain-list-custom 的最新提交,我的是 community 2d71342(2026-09-29)、custom efacb51(2026-07-17)。 - 在 custom 目录执行 go run ./ --datapath=../community/data,然后检查 publish/geolocation-cn.txt。 - 对照:在 community 目录执行 go run ./ --datapath=./data --outputdir=<dir> --exportlists=geolocation-cn。 ## 数据差异对比(也是直接从 Claude Code 复制的,我就不画 md 表格了) ┌─────────────────────────────┬──────┬───────────────┬─────────────┬─────────────┐ │ │ 行数 │ feishucdn.com │ tencent.com │ alibaba.com │ ├─────────────────────────────┼──────┼───────────────┼─────────────┼─────────────┤ │ custom 解析器(现状) │ 5388 │ 无 │ 无 │ 无 │ ├─────────────────────────────┼──────┼───────────────┼─────────────┼─────────────┤ │ v2fly 官方工具 │ 8265 │ 有 │ 有 │ 有 │ ├─────────────────────────────┼──────┼───────────────┼─────────────┼─────────────┤ │ custom 解析器 + #138 的 sed │ 7849 │ 有 │ 有 │ 有 │ └─────────────────────────────┴──────┴───────────────┴─────────────┴─────────────┘ 其中还有约 400 行对账对不上,~~Sonnet 5.5 说它没追查原因~~ ## 参考上游 issue https://github.com/Loyalsoldier/domain-list-custom/issues/135
Activity