Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 0.46.050 版本的第二DNS服务器只能全字匹配,无法匹配子域名,导致想直连的域名走内核分流 #4174

Open
5 of 7 tasks
kingfingerpro opened this issue Nov 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@kingfingerpro
Copy link

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 出现的问题
  • Contributors 我有能力协助 OpenClash 开发并解决此问题
  • Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

v0.46.050-beta

Bug on Environment

Other

OpenWrt Version

Kwrt-24.10-SNAPSHOT-6.6.58-11.11

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

image
image
image

To Reproduce

启用第二DNS服务器,在下方填入不在分流规则里的[domain.com],应用配置后可以看到[domain.com]能够解析为真实IP,但[www.domain.com][api.domain.com]之类的会进入内核同时被归为漏网之鱼

OpenClash Log

---

OpenClash Config

No response

Expected Behavior

回归正常的判断逻辑

Additional Context

No response

@kingfingerpro kingfingerpro added the bug Something isn't working label Nov 13, 2024
@vernesong
Copy link
Owner

无法复现

@kingfingerpro
Copy link
Author

好像发现问题所在了,今天看到 Pull requests 里有一条提交提到了新版dnsmasq的读取路径发生了变化,我手动移动了openclash生成的配置文件到新的路径里,问题就解决了。

@vernesong
Copy link
Owner

这个还不确定会不会再改

@kingfingerpro
Copy link
Author

我是这两天看到050作为正式版合并进主线的时候,顺便重新编译了一版固件升级系统才出现这个问题的,未来肯定会有越来越多的用户使用新版opwrt和dnsmasq,到时候肯定还是得适配这个新逻辑的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants