Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Does DoH support /etc/hosts?

  • 1 отговор
  • 1 има този проблем
  • 54 изгледи
  • Последен отговор от philipp
  • Разрешен

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?

Избрано решение

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.

Прочетете този отговор в контекста 👍 0

Всички отговори (1)

Избрано решение

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.