Switch firefox to use a different DNS than what is in the windows.host file

前端 未结 9 1344
误落风尘
误落风尘 2021-02-05 01:50

For example, I have a development site on a different server but I\'m trying to copy content over from the live site so it\'d be handy to have the live site in IE and the dev si

9条回答
  •  感动是毒
    2021-02-05 02:26

    It's now possible, with the DNS over HTTPS function:

    Open Options, General, scroll to very bottom and open Network Settings,

    On the very bottom, you can find DNS over HTTPS:


    You had to use about:config before to change this setting, here's for documentation:

    Type about:config in firefox address bar.

    search for: network.trr.uri

    You can use one of the DNS servers below:

    Cloudflare: https://cloudflare-dns.com/dns-query
    Google: https://dns.google/dns-query
    Secure DNS EU: https://doh.securedns.eu/dns-query
    Quad 9: https://dns.quad9.net/dns-query
    

    And set network.trr.mode to 1

    Hijacked from here: https://www.ghacks.net/2018/04/02/configure-dns-over-https-in-firefox/

提交回复
热议问题