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.

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

DoH ignores my hosts file

  • 4 replies
  • 1 has this problem
  • 9 views
  • Last reply by cor-el

more options

Hi,

When I enable DoH, my hosts file is not respected. Is this a feature of DoH, or a bug?

Hi, When I enable DoH, my hosts file is not respected. Is this a feature of DoH, or a bug?

All Replies (4)

more options

Hi

Just to clarify, is this with Firefox for Android or are you using a desktop copy of Firefox?

more options

Desktop. The behavior seems the same on Windows, OSX and Ubuntu

more options

I’m keen to test solutions on latest Ubuntu 18 or Win10....

more options

See:

  • Bug 1453207 - Enabling DNS over HTTPS should respect system hosts file [WONTFIX]
  • Bug 1511643 - DoH enabled ignores local dns overrides

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)