搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox ignores /etc/hosts on Macos

more options

I am trying to edit /etc/hosts file. CLI utils respect the values that provided there, Chrome also.

But the Firefox continues to ignore. I have disabled "Enable DNS over HTTPS using:" and turned it off.

But it doesn't help. What else could be done?

I am trying to edit /etc/hosts file. CLI utils respect the values that provided there, Chrome also. But the Firefox continues to ignore. I have disabled "Enable DNS over HTTPS using:" and turned it off. But it doesn't help. What else could be done?
附加的畫面擷圖

被選擇的解決方法

Visit about:networking#dns in the address bar and click the "Clear DNS Cache" button.

In Connection Settings try changing "Use system proxy settings" to "No proxy".

Does it still happen in Troubleshoot Mode?

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

Visit about:networking#dns in the address bar and click the "Clear DNS Cache" button.

In Connection Settings try changing "Use system proxy settings" to "No proxy".

Does it still happen in Troubleshoot Mode?

more options

Thanks for the advise. "Clear DNS" solved the issue.