-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 服务器」翻墙失效 #3868
Comments
mosdns那边会有很多这样的日志 |
你访问的网站似乎很喜欢“优先ipv6”,但你的clash貌似没有启用ipv6流量代理 |
我尝试在openwrt占用53端口的adg上,把ipv6解析关闭了,确实代理网络恢复了;并且我关闭了lan口的dhcp ipv6 dns服务,仅提供ipv4地址; 当前我的网络结构如下: |
此外,原本我mosdns理的“远程dns解析优先ipv4”是勾上的,但是依旧不能解决此前的问题,adg中把ipv6解析关闭后openclash才回复正常。 |
https://ipleak.net/ 的DNS泄漏问题解决了,MOSDNS不支持填写「127.0.0.1:5336」此类格式,使用此类格式时,会使用默认的WAN口DNS; |
分享一份个人配置供老铁参考 |
为什么不直接绕开dnsmasq端口,adg占用53端口开启dns缓存,mosdns占用5335作为adg上游关闭dns缓存,openclash不参与dns解析自定义dns地址到adg地址; |
不直接绕开dnsmasq端口是因为ADG作为dnsmasq的上游服务器比ADG占用53端口去广告效果稳定。 |
朋友,能加个TG请教吗?t.me/cqjerry |
可以使用混合模式 开启TUN 更好 |
Verify Steps
OpenClash Version
v0.46.003-beta
Bug on Environment
Istoreos
OpenWrt Version
iStoreOS 22.03.6 2024030112
Bug on Platform
Linux-amd64-v3(x86-64)
Describe the Bug
开启「自定义上游 DNS 服务器」翻墙失效;
To Reproduce
OpenClash使用Fake-IP模式,TUN模式;
adg(53)>mosdns(5335);
OpenClashDNS中三个都填写127.0.0.1:53 UDP
OpenClash Log
The text was updated successfully, but these errors were encountered: