Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 903 Bytes

enable-doh-in-browser.md

File metadata and controls

19 lines (14 loc) · 903 Bytes

在浏览器里启动 DoH

Chrome、Firefox、Edge、Brave 浏览器参考这篇文章

Firefox Nightly

手机版 Firefox 只有 Nightly 版本可以调整。

  1. 地址栏输入 about:config 回车进入。
  2. 搜索 network.trr.mode 值改为 2。
  • 0 - Default value in standard Firefox installations
  • 1 - DoH is enabled, but Firefox picks if it uses DoH or regular DNS based on which returns faster query responses
  • 2 - DoH is enabled, and regular DNS works as a backup
  • 3 - DoH is enabled, and regular DNS is disabled
  • 5 - DoH is disabled
  1. 搜索 network.trr.uri 改为 DoH 地址。比如 https://cloudflare-dns.com/dns-query
  2. (可选) 搜索 network.trr.bootstrapAddress,调整 bootstrap dns 地址。

参考 https://wiki.mozilla.org/Trusted_Recursive_Resolver