Hosts File Not Working Firefox

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 5,382
    21H1 64 Bit Home
       #11

    Well I'm on the same version and guess what?

    Firefox is ignoring HOSTS file.

    Here's Vivaldi connectiong to whispa dot com (blocked in HOSTS)

    Hosts File Not Working Firefox-whispa.com-vivaldi.jpg

    Yet Firefox connects.


    Hosts File Not Working Firefox-ff-whispa.jpg
      My Computer


  2. Posts : 5,382
    21H1 64 Bit Home
       #12

    Okay fixed:

    Hosts File Not Working Firefox-server-not-found.jpg

    Disable DNS over HTTPS fixes it.

    Firefox DNS-over-HTTPS | Firefox Help

    I'm not sure if that's a good idea.
      My Computer


  3. Posts : 25,381
    10 Home x64 (21H2) (10 Pro on 2nd pc)
       #13

    Callender said:
    Disable DNS over HTTPS fixes it.

    Firefox DNS-over-HTTPS | Firefox Help

    I'm not sure if that's a good idea.
    FWIW, I've not done anything special in my Firefox on any of my machines, but DNS over HTTPS is disabled by default on all of them.
      My Computers


  4. Posts : 5,382
    21H1 64 Bit Home
       #14

    @Bree

    Well I use Cloudflare as default DNS and enabled DOH over HTTPS after failing the test here months ago:

    Cloudflare ESNI Checker | Cloudflare

    The problem is with DOH over HTTPS enabled within Firefox seems to mean that the hosts file is ignored.
      My Computer


  5. Posts : 5,382
    21H1 64 Bit Home
       #15

    Enabled and I''m back to this:

    Hosts File Not Working Firefox-cloudflare-esni-checker-_-cloudflare.jpg

    Hosts file is ignored again.
      My Computer


  6. Posts : 1,867
    Windows 10 Pro 2004 20H1
       #16

    It didn't matter on my config whether DoH was on or off.

    I use uBlock Origin on Firefox and new Edge, so I don't use a host file.
      My Computer



  7. Posts : 5,382
    21H1 64 Bit Home
       #17

    Could be that you are not using Cloudflare DNS in windows.

    Change IPv4 and IPv6 DNS Server Address in Windows
      My Computer


  8. Posts : 1,867
    Windows 10 Pro 2004 20H1
       #18

    I use Cloudflare's DNS resolvers on the router.

    1.1.1.1
    1.0.0.1
      My Computer


  9. Posts : 5,382
    21H1 64 Bit Home
       #19

    @OldNavyGuy

    DOH(DNS-over-HTTPS) bypassing the hosts file

    As far as I know DNS server that is set in windows takes precedence over any router dns settings.
      My Computer


  10. Posts : 1,867
    Windows 10 Pro 2004 20H1
       #20

    As mentioned, in my config, DoH was turned on and off for testing, and made no difference.

    uBlock Origin was enabled for all tests.

    I understand how DNS works.

    We don't set DNS servers in Windows...it's set for everyone on the router.

    The simple change of adding the www prefix to the domain name worked for using the hosts file with Firefox and new Edge (which worked without the www prefix as well), without changing anything else.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:03.
Find Us




Windows 10 Forums