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

Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi

Does DoH support /etc/hosts?

  • 1 eyano
  • 1 eza na nkokoso oyo
  • 18 views
  • Eyano yasuka ya philipp

more options

The initial version of FF support for DoH does not support querying etc/hosts as documented here: https://daniel.haxx.se/blog/2018/06/03/inside-firefoxs-doh-engine/ Yet in the Q&A, Daniel states "Parsing /etc/hosts has been requested as well as the ability to “whitelist” domains to use the native resolver (which then also would read /etc/hosts). My personal opinion is that we *should* support something like that."

I would like to know if this has been implemented and if not, is it on the roadmap for changes?

The initial version of FF support for DoH does not support querying etc/hosts as documented here: https://daniel.haxx.se/blog/2018/06/03/inside-firefoxs-doh-engine/ Yet in the Q&A, Daniel states "Parsing /etc/hosts has been requested as well as the ability to “whitelist” domains to use the native resolver (which then also would read /etc/hosts). My personal opinion is that we *should* support something like that." I would like to know if this has been implemented and if not, is it on the roadmap for changes?

Solution eye eponami

hello, this currently isn't on the roadmap for changes to the trr/doh implementation - see https://bugzilla.mozilla.org/show_bug.cgi?id=1453207. however, you could use the "network.trr.excluded-domains" preference in about:config to exclude particular domain names from resolution through the doh-provider which - i would guess - falls back to the system settings including the hosts-file.

Tanga eyano oyo ndenge esengeli 👍 0

All Replies (1)

more options

Solution eye oponami

hello, this currently isn't on the roadmap for changes to the trr/doh implementation - see https://bugzilla.mozilla.org/show_bug.cgi?id=1453207. however, you could use the "network.trr.excluded-domains" preference in about:config to exclude particular domain names from resolution through the doh-provider which - i would guess - falls back to the system settings including the hosts-file.