Leadaxe:singbox-launcher 的 DNS 规则 SRS 选择器此前只收集库预设规则集,已在提交 3ac65716 修复

在 singbox-launcher issue #140(v2.3.8 DNS SRS 规则配置不完整)下,开发者 Leadaxe 回复:确认 DNS 规则编辑器里的「SRS (existing rule_set)」选择器此前只收集已启用库预设的规则集,用户自己的 SRS 规则从未被加入其中。已在 develop 分支的提交 3ac65716 修复:选择器现在也会列出用户 SRS 规则的规则集(user:<name>),一条规则有多个 URL 时还会有 user:<name>:2、user:<name>:3 等,<name> 是规则名把空格替换为 - 并去掉其他非字母数字字符后的结果。如果选中的规则集不在最终配置里(规则被禁用或其 .srs 文件尚未下载),构建会从 DNS 规则中去掉该引用,内核仍能启动。该修复将在下一个版本发布。

作者原文

Thanks for the report! Confirmed: the "SRS (existing rule_set)" picker in the DNS rule editor only collected rule sets from enabled library presets, and your own SRS rules were never added to it.

Fixed in 3ac65716 (develop). The picker now also lists the rule sets of your SRS rules: user:<name>, and for a rule with several URLs also user:<name>:2, user:<name>:3, and so on. <name> is the rule name with spaces turned into - and other non-alphanumeric characters dropped. If a selected rule set is not in the final config (the rule is disabled or its .srs file has not been downloaded yet), the build drops that reference from the DNS rule, so the core still starts.

The fix will ship in the next release.