DoH does not turn off in Custom mode when connected to (Proton) VPN.
Versions:
- Firefox 161.0 (aarch64)
- macOS 27.2.1 (26B131)
- Proton VPN 6.5.2 (3624198.2610060731)
Issue: I currently have DNS over HTTPS set to Quad9's https://dns.quad9.net/dns-query both as the Custom mode resolver and as the default (set for network.trr.uri as well as the custom provider in standard Firefox preferences).
- If the DoH mode is set to "Default", then the the status is changed to the expected "DNS over HTTPS is off" when connected to Proton VPN (system client, not web extension).
- When the the DoH mode is set to "Custom", and the regardless of the resolver used (I usually have it set to the custom Quad9 resolver URI), then when connected to Proton VPN the status remains "DNS over HTTPS is using the provider dns.quad9.net" when it should be off since I'm connected via VPN.
This results in what could be DNS leaks if I didn't trust the hosts involved (Quad9 tunneled through Proton).
Note: I do not know the built-in browser-based Firefox VPN very well. From what I can tell, Fastly's proxy servers are hosted in California (San Francisco) and US-based is a no-go for me,. So, I'm not using it especially when I already pay for a pretty trustworthy VPN covered by European privacy laws (Germany and Switzerland). I'm also not paying for Firefox VPN, the Mullvad VPN it's built on, or any other non-scammy VPN just to test this. I mention all that because I want to focus on Proton VPN and Firefox DoH here.
If this is a Firefox issue, is there some preference I can change to make Firefox DoH behave properly when connected to Proton VPN? If it is a Proton VPN system client issue, then what can I go to Proton with when reporting an issue since their customer service will almost certainly point me back to Firefox?
Any help, potential solutions and advice will certainly be appreciated.
Svi odgovori (2)
P.S. I also have the Quad9 DoH profile installed for macOS (and Quad9's DoT profile as well, but generally not used) . The issue persists without VPN and with the Quad9 DoH profile disabled. The issue also persists with the Quad9 DoH profile enabled (and not connected to Proton VPN which does properly override the Quad9 DoH profile when connected).
And I forgot to mention that https://dns.quad9.net/dns-query is also set for network.trr.default_provider_uri and doh-rollout.uri.
Fastly MASQUE relay has points–of–presence in Germany, Austria and Switzerland, based on anycast~esque routing to get you the closest/fastest host (I'm usually getting Frankfurt or Vienna hits) — but that doesn't really change which laws the company operates under if that's what's concerning you.
You're not mentioning the important part of the "Custom" setup — whether you allow falling back to the system resolver or not. (The "Always warn me…" checkbox.)
Generally the connection should provide the "canary domain" resolution that informs the TRR disengage: Configure networks to disable DNS over HTTPS Canary domain - use-application-dns.net