Skip to content

[BUG]Everything works normally except for the Windows client. #298

Closed Answered by lencil
lencil asked this question in Q&A
Discussion options

You must be logged in to vote

问题终于查出并解决:
使用wireshark抓包分析,发现chrome即使在ui上关闭了“安全DNS“的情况下,也不一定真正关闭,解析dns也会经由google自己认为安全的server而非系统。
后来经查阅,Chrome内部实际上有自己的dns resolver,何时启用,何时使用system的,有一套复杂的逻辑(我也没时间去看Chromium源码),ui上的"安全DNS"不一定起作用(这个太坑爹!!!)
我猜测,Chrome应该是为了绝对的安全,在他dns内核的逻辑综合判断当前系统,认为处于不安全的环境时,就会强制启用自身的dns解析。至于基于什么逻辑来判断你的系统不安全,这个得去看源码了。
解决方法很简单,在Chrome快捷方式加上启动参数 --disable-features="dns-over-https,AsyncDns"参数**,这个参数会直接忽略ui上的“安全DNS",会强制关闭chrome内部的dns解析服务。在最新版Chromium内核130(包括edge)测试通过。

Replies: 18 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@psqtdhx
Comment options

@psqtdhx
Comment options

@lencil
Comment options

Comment options

You must be logged in to vote
3 replies
@morytyann
Comment options

@psqtdhx
Comment options

@lencil
Comment options

Answer selected by lencil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #293 on November 12, 2024 08:22.