Does DoH support /etc/hosts?
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.
Read this answer in context 👍 0All Replies (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.