Google Chrome Ignoring Hosts File

后端 未结 7 778
遥遥无期
遥遥无期 2020-12-16 08:41

Google Chrome is ignoring the settings in C:/Windows/System32/drivers/etc/hosts file. Both IE11 and Firefox are installed on the same machine and work as expec

相关标签:
7条回答
  • 2020-12-16 09:46

    This has been identified as a "bug" in Chrome, but it appears to be absolutely intentional behavior. Google Chrome does not honor /etc/hosts when connected to the internal. It always does a DNS lookup to determine IP addresses.

    While my references below mostly relate to my expereinces with this on Linux, it is not confined to Linux.

    https://groups.google.com/a/chromium.org/forum/#!topic/net-dev/iKXqyc40tW0

    https://superuser.com/a/887199/75128

    https://bugs.chromium.org/p/chromium/issues/detail?id=117655

    0 讨论(0)
提交回复
热议问题