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] DNS设置里指定DNS代理会导致错误 #4324

Open
7 tasks done
RhythmNz opened this issue Feb 12, 2025 · 7 comments
Open
7 tasks done

[Bug] DNS设置里指定DNS代理会导致错误 #4324

RhythmNz opened this issue Feb 12, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@RhythmNz
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

0.46.074

Bug on Environment

Official OpenWrt, Immortalwrt

OpenWrt Version

openwrt-23.05 branch

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

是因为meta格式修改导致的 具体参考这个issue
MetaCubeX/mihomo#1596

To Reproduce

启用dns解析指定代理集

OpenClash Log

是因为meta格式修改导致的 具体参考这个issue
https://github.com/MetaCubeX/mihomo/issues/1596

OpenClash Config

Expected Behavior

增加空格 跟进格式 修复bug

Additional Context

No response

@RhythmNz RhythmNz added the bug Something isn't working label Feb 12, 2025
@vernesong
Copy link
Owner

什么错误

@RhythmNz
Copy link
Author

什么错误

24-10-18 00:11:57[ warn ][UDP] dial ♻️ 手动切换2 mihomo --> 8.8.8.8:53 error: new vless client error: read tcp 27.16.208.60:38775->154.7.182.96:443: use of closed network connection
类似这种的dns连接错误 只要指定了代理组就会出问题 不指定就没问题
问题出现的原因

配置写错了,DNS远程节点#前要空格

是要这样吗?8.8.8.8 # ♻️手动切换3

是的,我发现新版本的要加空格,以前老版本的不需要加空格

@vernesong
Copy link
Owner

我测试没有问题

@RhythmNz
Copy link
Author

我测试没有问题

[2025-02-17 00:44:25][INFO] [TCP] 192.168.2.236:61476 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:27][INFO] [UDP] 192.168.2.230:40857 --> 54.71.249.200:9930 match Match using Others[bwh-us2]
[2025-02-17 00:44:27][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:27][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:27][INFO] [TCP] 192.168.2.236:61482 --> self.events.data.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:28][INFO] [TCP] 192.168.2.177:51026 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:28][INFO] [TCP] 192.168.2.234:55926 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:29][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:29][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:29][INFO] [TCP] 192.168.2.177:51033 --> array618.prod.do.dsp.mp.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:30][INFO] [TCP] 192.168.2.234:55929 --> activity.windows.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:30][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:30][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:31][INFO] [TCP] 192.168.2.177:51038 --> kv601.prod.do.dsp.mp.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:32][INFO] [TCP] 192.168.2.236:61489 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:32][INFO] [TCP] 192.168.2.234:55931 --> plugins.multicraft.org:443 match Match using Others[bwh-us2]
[2025-02-17 00:44:33][INFO] [TCP] 192.168.2.177:51052 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:34][INFO] [TCP] 192.168.2.234:55943 --> plugins.multicraft.org:443 match Match using Others[bwh-us2]
[2025-02-17 00:44:34][INFO] [TCP] 192.168.2.234:55944 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:35][INFO] [UDP] 192.168.2.230:49283 --> 54.71.249.200:9930 match Match using Others[bwh-us2]
[2025-02-17 00:44:36][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:36][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:36][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:36][WARNING] [UDP] dial Proxy mihomo --> 1.1.1.1:53 error: new vless client error: context canceled
[2025-02-17 00:44:36][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:36][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:36][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:36][INFO] [TCP] 192.168.2.119:56340 --> checkip.synology.com:81 match Match using Others[bwh-us2]
[2025-02-17 00:44:36][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2
[2025-02-17 00:44:37][INFO] [TCP] 192.168.2.234:55947 --> google.com:443 match RuleSet(PROXY) using Proxy[bwh-us2]
[2025-02-17 00:44:37][INFO] [TCP] 192.168.2.139:63022 --> apse1-wps-prod.apple.com:443 match RuleSet(Apple) using Apple[DIRECT]
[2025-02-17 00:44:38][INFO] [TCP] 192.168.2.236:61501 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:39][INFO] [TCP] 192.168.2.177:51074 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:40][INFO] [TCP] 192.168.2.234:55959 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2]
[2025-02-17 00:44:42][INFO] [UDP] 192.168.2.119:123 --> 104.156.246.53:123 match Match using Others[bwh-us2]
[2025-02-17 00:44:43][INFO] [TCP] 192.168.2.234:55961 --> plugins.multicraft.org:443 match Match using Others[bwh-us2]
[2025-02-17 00:44:43][INFO] [UDP] 192.168.2.230:53070 --> 54.71.249.200:9930 match Match using Others[bwh-us2]
[2025-02-17 00:44:43][INFO] [TCP] 192.168.2.236:61515 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh

@vernesong
Copy link
Owner

Image

Image

@vernesong
Copy link
Owner

Image

Image

@vernesong
Copy link
Owner

我测试没有问题

[2025-02-17 00:44:25][INFO] [TCP] 192.168.2.236:61476 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:27][INFO] [UDP] 192.168.2.230:40857 --> 54.71.249.200:9930 match Match using Others[bwh-us2] [2025-02-17 00:44:27][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:27][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:27][INFO] [TCP] 192.168.2.236:61482 --> self.events.data.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:28][INFO] [TCP] 192.168.2.177:51026 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:28][INFO] [TCP] 192.168.2.234:55926 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:29][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:29][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:29][INFO] [TCP] 192.168.2.177:51033 --> array618.prod.do.dsp.mp.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:30][INFO] [TCP] 192.168.2.234:55929 --> activity.windows.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:30][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:30][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:31][INFO] [TCP] 192.168.2.177:51038 --> kv601.prod.do.dsp.mp.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:32][INFO] [TCP] 192.168.2.236:61489 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:32][INFO] [TCP] 192.168.2.234:55931 --> plugins.multicraft.org:443 match Match using Others[bwh-us2] [2025-02-17 00:44:33][INFO] [TCP] 192.168.2.177:51052 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:34][INFO] [TCP] 192.168.2.234:55943 --> plugins.multicraft.org:443 match Match using Others[bwh-us2] [2025-02-17 00:44:34][INFO] [TCP] 192.168.2.234:55944 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:35][INFO] [UDP] 192.168.2.230:49283 --> 54.71.249.200:9930 match Match using Others[bwh-us2] [2025-02-17 00:44:36][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:36][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:36][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:36][WARNING] [UDP] dial Proxy mihomo --> 1.1.1.1:53 error: new vless client error: context canceled [2025-02-17 00:44:36][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:36][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:36][INFO] [UDP] mihomo --> 8.8.8.8:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:36][INFO] [TCP] 192.168.2.119:56340 --> checkip.synology.com:81 match Match using Others[bwh-us2] [2025-02-17 00:44:36][INFO] [UDP] mihomo --> 1.1.1.1:53 doesn't match any rule using bwh-us2 [2025-02-17 00:44:37][INFO] [TCP] 192.168.2.234:55947 --> google.com:443 match RuleSet(PROXY) using Proxy[bwh-us2] [2025-02-17 00:44:37][INFO] [TCP] 192.168.2.139:63022 --> apse1-wps-prod.apple.com:443 match RuleSet(Apple) using Apple[DIRECT] [2025-02-17 00:44:38][INFO] [TCP] 192.168.2.236:61501 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:39][INFO] [TCP] 192.168.2.177:51074 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:40][INFO] [TCP] 192.168.2.234:55959 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh-us2] [2025-02-17 00:44:42][INFO] [UDP] 192.168.2.119:123 --> 104.156.246.53:123 match Match using Others[bwh-us2] [2025-02-17 00:44:43][INFO] [TCP] 192.168.2.234:55961 --> plugins.multicraft.org:443 match Match using Others[bwh-us2] [2025-02-17 00:44:43][INFO] [UDP] 192.168.2.230:53070 --> 54.71.249.200:9930 match Match using Others[bwh-us2] [2025-02-17 00:44:43][INFO] [TCP] 192.168.2.236:61515 --> go.microsoft.com:443 match RuleSet(Microsoft) using Microsoft[bwh

你这个错误要写proxy-server-nameserver,如果nameserver全是指定节点的话,不然就会获取不了节点ip,除非节点地址填的是ip

vernesong added a commit that referenced this issue Feb 18, 2025
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