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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

Firefox ignores settings in /etc/hosts Mac Mavericks

  • 2 การตอบกลับ
  • 3 คนมีปัญหานี้
  • 45 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย glassdimly

more options

Firefox only sees the first entry defined in /etc/hosts for 127.0.0.1.

Basically, Firefox is not seeing the modifications to the DNS entries I've made in /etc/hosts. Chrome is. However, later I noticed that Safari is not seeing them as well. After the troubleshooting below, I fixed the problem by moving all my /etc/hosts declarations to different lines as per here: http://www.justincarmony.com/blog/2011/07/27/mac-os-x-lion-etc-hosts-bugs-and-dns-resolution/

I have no idea why that works. But it does fix the issue for Firefox and Safari.

I tried a couple of things as per this thread: https://support.mozilla.org/en-US/questions/1011327

Things I tried (typing about:config into address bar): set keyword.enabled to false set browser.fixup.alternate.enabled to false turned of DNS caching.

None of these things worked, but migrating all my /etc/hosts config from multiple domains on a single line to separate lines did. Hope this helps someone.

Firefox only sees the first entry defined in /etc/hosts for 127.0.0.1. Basically, Firefox is not seeing the modifications to the DNS entries I've made in /etc/hosts. Chrome is. However, later I noticed that Safari is not seeing them as well. After the troubleshooting below, I fixed the problem by moving all my /etc/hosts declarations to different lines as per here: http://www.justincarmony.com/blog/2011/07/27/mac-os-x-lion-etc-hosts-bugs-and-dns-resolution/ I have no idea why that works. But it does fix the issue for Firefox and Safari. I tried a couple of things as per this thread: https://support.mozilla.org/en-US/questions/1011327 Things I tried (typing about:config into address bar): set keyword.enabled to false set browser.fixup.alternate.enabled to false turned of DNS caching. None of these things worked, but migrating all my /etc/hosts config from multiple domains on a single line to separate lines did. Hope this helps someone.

วิธีแก้ปัญหาที่เลือก

migrating all my /etc/hosts config from multiple domains on a single line to separate lines did. Hope this helps someone.

อ่านคำตอบนี้ในบริบท 👍 0

การตอบกลับทั้งหมด (2)

more options

"Windows: "3-bar" menu button (or Tools menu) > Options > Advanced > Network mini-tab > "Settings" button"

When you say disabled DNS cache, are you using a Remote DNS?

Did the operating system notice the change? http://apple.stackexchange.com/questi.../how-can-i-get-osx-mavericks-to-notice-a-dns-change-in-etc-hosts

more options

วิธีแก้ปัญหาที่เลือก

migrating all my /etc/hosts config from multiple domains on a single line to separate lines did. Hope this helps someone.