Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox ignores system DNS setting #34097

Closed
s34m opened this issue Nov 15, 2021 · 8 comments
Closed

Firefox ignores system DNS setting #34097

s34m opened this issue Nov 15, 2021 · 8 comments
Labels

Comments

@s34m
Copy link

s34m commented Nov 15, 2021

Firefox should use the system DNS, but Mozilla has an agreement with Cloudflare to force the usage of the Cloudflare DNS Servers.
Possible Change:
add pref("network.trr.mode", 5); to files/vendor.js

System

  • xuname:
    Void 5.13.19_1 x86_64 GenuineIntel uptodate rrmFF
  • package:
    firefox-94.0_1

Expected behavior

Firefox should use the System DNS

Actual behavior

Firefox ignores the system settings and uses Cloudflare DNS Server

Steps to reproduce the behavior

Change the /etc/resolv.conf file to a non Cloudlfare nameserver and do a dns lookup in firefox using a site like www.dnsleaktest.com. It will still show a cloudflare dns server as the DNS Server.

@Duncaen
Copy link
Member

Duncaen commented Nov 15, 2021

Users can configure firefox on about:preferences how they like. I don't think completely disabling DoH is a good idea, they are not forcing the usage of Cloudflare, they default to it and there is a choice in the settings between Cloudflare, NextDNS, bring your own DoH or not using DoH.

@s34m
Copy link
Author

s34m commented Nov 15, 2021

Users can configure firefox on about:preferences how they like. I don't think completely disabling DoH is a good idea, they are not forcing the usage of Cloudflare, they default to it and there is a choice in the settings between Cloudflare, NextDNS, bring your own DoH or not using DoH.

It has no negative impact turned off because it still defaults to cloudflare but it has a negative impact on the user if he changes the system dns server without checking the dns firefox uses. Also the ignorance of system-level dns settings of firefox is not something many users know about. And isn't DoH still on, as long as the box "Enable DNS over HTTPS" in the settings is checked. This flag should just allow the user to disable DoH by just unchecking the box "Enable DNS over HTTPS"

@Duncaen
Copy link
Member

Duncaen commented Nov 15, 2021

This flag disables DoH afaiu and "Enable DNS over HTTPS" can already be unchecked no?

@s34m
Copy link
Author

s34m commented Nov 15, 2021

It can be unchecked but it has no effect

@Duncaen
Copy link
Member

Duncaen commented Nov 15, 2021

Do you have anything supporting that claim? Works perfectly fine for me.

@s34m
Copy link
Author

s34m commented Nov 15, 2021

With correct /etc/resolv.conf firefox uses this DNS Servers
Both times with the box "Enable DNS over HTTPS" unchecked
With trr.mode = 2
https://pasteboard.co/cEvSOOMyahLq.png

With trr.mode = 5
https://pasteboard.co/WPvMivdYkg9n.png

The Problem is with the default, 2, Firefox ignores the settings of /etc/resolv.conf which should be used

@Duncaen
Copy link
Member

Duncaen commented Nov 15, 2021

I don't see where "2" would be the default. The source defines options "2" and "3" as user defined and the default is "0":
https://searchfox.org/mozilla-central/search?q=network.trr.mode&path=

@github-actions
Copy link

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants