We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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?
Attached screenshots

Chosen solution

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?

Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

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.