We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Does DoH support /etc/hosts?

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 4 回表示
  • 最後の返信者: 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?

選ばれた解決策

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)

more options

選ばれた解決策

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.