V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ztlong
V2EX  ›  MacBook Pro

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

  •  
  •   ztlong · 2020-06-08 14:56:25 +08:00 · 1753 次点击
    这是一个创建于 1410 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 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,不奏效,求救。

    1 条回复    2020-06-08 20:22:51 +08:00
    liangch
        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
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3130 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 14:21 · PVG 22:21 · LAX 07:21 · JFK 10:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.