mac chrome 和 terminal 解析 dns 不一致问题求救

2020-06-08 14:56:25 +08:00
 ztlong

在 terminal 中 ping 或者 nslookup gerrit.domain.com 返回的结果都是内网地址 172.26.12.88
但是,一在 chrome 中打开,就会解析出 103.224.182.252 这么个 IP,然后 302 到 https://park.zunmi.cn/ 这个域名挂靠地址
奇怪的是通过 safari 是可以正常访问到 172.26.12.88 的
尝试清理过 chrome 的 dns,不奏效,求救。

1773 次点击
所在节点    MacBook Pro
1 条回复
liangch
2020-06-08 20:22:51 +08:00
有这个 chrome flag,不知道相关么。
Secure DNS lookups
Enables DNS over HTTPS. When this feature is enabled, your browser may try to use a secure HTTPS connection to look up the addresses of websites and other web resources. – Mac, Windows, Chrome OS, Android

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/679723

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX