6 ms·
I have a bunch of Facebook domains in my hosts, but for some reason Firefox 69.0 gets DNS from somewhere else and goes right through. Weird. The other stuff in
by povertyworld 7y ago
I have a bunch of Facebook domains in my hosts, but for some reason Firefox 69.0 gets DNS from somewhere else and goes right through. Weird. The other stuff in hosts resolves correctly.
- k1t 7y agoIt could be DNS over https, which Mozilla have been experimenting with. https://support.mozilla.org/en-US/kb/firefox-dns-over-https https://support.mozilla.org/en-US/kb/firefox-dns-over-https
- povertyworld 7y agoIt wasn't on by default, but yeah, once I turned it on, it entirely bypassed hosts for everything, not just Facebook owned domains.
- AndyMcConachie 7y agoIs DNS-over-HTTPS on by default now?
- apearson 7y agoIt is not, just checked my install
- norenh 7y agoCheck that "network.trr.mode" is set to "0" in "about:config" to disable firefox using DNS over HTTPS (DoH). It was introduced in Firefox 62 I think.
- mike-cardwell 7y agoYou're better off setting it to "5". From https://wiki.mozilla.org/Trusted_Recursive_Resolver https://wiki.mozilla.org/Trusted_Recursive_Resolver : "Set `network.trr.mode` to 2 to make DNS Over HTTPS the browser's first choice but use regular DNS as a fallback (0 is "off by default", 1 lets Firefox pick whichever is faster, 3 for TRR only mode, 5 to explicitly turn it off)."
- nindalf 7y agoCould you run `sudo killall -HUP mDNSResponder` and try again? It's possible that the DNS is cached.
- povertyworld 7y agoNo luck. I thought maybe it was cached somehow because of the way Facebook is linked from the start page, but so is Reddit, and putting Reddit in the hosts worked. Strangely, the hosts file doesn't seem to be read with Instagram either. I'm not sure what's going on here.