Closed ishkong closed 1 year ago
看一下/tmp/dnsmasq.d
不正常的时候呢
不正常的时候呢
这就是不正常情况时候的。。。
那应该是dnsmasq的问题,名单太大,加载太慢
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days
@vernesong @ishkong
不知道对你有没有帮助,我发现我本机指定了114.114.114.114的DNS,遇到了和你一样的情况,删掉后就好了。小白不是很懂原理
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days
那应该是dnsmasq的问题,名单太大,加载太慢
今天我重新看了一下log,发现了以下日志,但是openclash依然报dnsmasq启动成功,正在还原防火墙劫持
Mon Jun 26 23:44:08 2023 daemon.crit dnsmasq[31274]: bad address at line 1 of /tmp/dnsmasq.d/dnsmasq_accelerated-domains.china.conf
Mon Jun 26 23:44:08 2023 daemon.crit dnsmasq[31274]: FAILED to start up
Mon Jun 26 23:44:13 2023 daemon.crit dnsmasq[31718]: bad address at line 1 of /tmp/dnsmasq.d/dnsmasq_accelerated-domains.china.conf
Mon Jun 26 23:44:13 2023 daemon.crit dnsmasq[31718]: FAILED to start up
Mon Jun 26 23:44:18 2023 daemon.crit dnsmasq[31926]: bad address at line 1 of /tmp/dnsmasq.d/dnsmasq_accelerated-domains.china.conf
Mon Jun 26 23:44:18 2023 daemon.crit dnsmasq[31926]: FAILED to start up
Mon Jun 26 23:44:23 2023 daemon.crit dnsmasq[32146]: bad address at line 1 of /tmp/dnsmasq.d/dnsmasq_accelerated-domains.china.conf
Mon Jun 26 23:44:23 2023 daemon.crit dnsmasq[32146]: FAILED to start up
Mon Jun 26 23:44:28 2023 daemon.crit dnsmasq[32341]: bad address at line 1 of /tmp/dnsmasq.d/dnsmasq_accelerated-domains.china.conf
Mon Jun 26 23:44:28 2023 daemon.crit dnsmasq[32341]: FAILED to start up
Mon Jun 26 23:44:33 2023 daemon.crit dnsmasq[32521]: bad address at line 1 of /tmp/dnsmasq.d/dnsmasq_accelerated-domains.china.conf
Mon Jun 26 23:44:33 2023 daemon.crit dnsmasq[32521]: FAILED to start up
然后这是dnsmasq_accelerated-domains.china.conf第一行的内容
server=/0-100.com/114.114.114.114
然后这是我路由器dnsmasq的版本信息
Dnsmasq version 2.86 Copyright (c) 2000-2021 Simon Kelley
Compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Verify Steps
OpenClash Version
v0.45.72-beta
Bug on Environment
Lean
Bug on Platform
Linux-arm64
To Reproduce
手动关闭
实验性:绕过中国大陆 IP
再打开实验性:绕过中国大陆 IP
,待openclash提示检测到dnsmasq正常工作,还原DNS劫持后Describe the Bug
开机自动启动Openclash 且 启用了
实验性:绕过中国大陆 IP
所有域名被劫持 手动关开实验性:绕过中国大陆 IP
设置 所有域名均无法解析 关闭实验性:绕过中国大陆 IP
后正常劫持OpenClash Log
OpenClash 调试日志
生成时间: 2022-11-21 20:03:54 插件版本: v0.45.72-beta 隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息
OpenClash Config
No response
Expected Behavior
国外域名正常劫持,国内域名正常解析
Screenshots
No response