X
點擊此處開啟此網站的行動版。

技術支援討論區

Firefox ignores hosts file when tethered to iPhone

  • 無回覆
  • 1 有這個問題
  • 2 觀看次數
已張貼

When connected to regular Wifi, Firefox respects the /etc/hosts file. However, when tethered to an iPhone, Firefox does not respect the /etc/hosts file. (Neither does Chrome, for what it's worth). Other programs such as Postman, and traceroute, still respect the hosts file, it's just browsers (including Firefox) that do not.

The behaviour is perfectly repeatable - by switching from wifi to tether and back again, the problem goes away/comes back.

My use case is blocking domains like googletagmanager.com . When on Wifi, firefox does not load anything from that domain. However, when tethered, Firefox does load content from that domain (even though Postman still cannot).

I am using Firefox 72.0.1 and Macos 10.14.6

Is this a setting? A bug? It is certainly not expected behaviour.

When connected to regular Wifi, Firefox respects the /etc/hosts file. However, when tethered to an iPhone, Firefox does not respect the /etc/hosts file. (Neither does Chrome, for what it's worth). Other programs such as Postman, and traceroute, still respect the hosts file, it's just browsers (including Firefox) that do not. The behaviour is perfectly repeatable - by switching from wifi to tether and back again, the problem goes away/comes back. My use case is blocking domains like googletagmanager.com . When on Wifi, firefox does not load anything from that domain. However, when tethered, Firefox does load content from that domain (even though Postman still cannot). I am using Firefox 72.0.1 and Macos 10.14.6 Is this a setting? A bug? It is certainly not expected behaviour.
引用

額外的系統細節

已安裝的外掛程式

Adblock Plus Ember Inspector Facebook Container

應用程式

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0

更多資訊

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題