Firefox always use DoH even when you disable it
mastodon.social
Firefox always use DoH even when you disable it
1–9 of 9 posts
Re: Firefox always use DoH even when you disable it
#2Verify that about:config network.trr.mode is set to 5.
If one has control over their local DNS they can also create a local record, example in Unbound DNS. Some applications will query this to see if DoH is permitted in the network.
local-zone: "use-application-dns.net." always_nxdomain
If that does not work create a startup script that will loop through all the common DoH providers and blackhole route them. Some may say that DoH could be on any CDN node but that is not the case. The DoH providers use static addresses and in some cases vanity IP addresses. [1] using this entire data-set is unnessecary as Firefox has only ever used Cloudflare and Google in the past. for OpenRes in $(grep -Ev ^# /usr/local/etc/_open_resolvers.txt);do /sbin/ip route add blackhole "${OpenRes}" 2>/dev/null;done
If using Unbound DNS enable logging of query responses to a tmpfs mount and ensure log rotation keeps the usage small and sends the compressed rotated files to the disk. Query logs can help verify requests are being processed by local DNS. log-queries: no
log-replies: yes
log-servfail: yes
[1] - https://github.com/dibdot/DoH-IP-blocklistsRe: Firefox always use DoH even when you disable it
#3I am replying in this thread with Firefox 140.3.1 ESR. My queries are going to my router/firewall. Verify that about:config network.trr.mode is set to 5. If one has control over their local DNS they can also create a local record, example in Unbound DNS. Some applications will query this to see if DoH is permitted in the network. local-zone: "use-application-dns.net." always_nxdomain If that does not work create a st…
Re: Firefox always use DoH even when you disable it
#4I am replying in this thread with Firefox 140.3.1 ESR. My queries are going to my router/firewall. Verify that about:config network.trr.mode is set to 5. If one has control over their local DNS they can also create a local record, example in Unbound DNS. Some applications will query this to see if DoH is permitted in the network. local-zone: "use-application-dns.net." always_nxdomain If that does not work create a st…
Thx! And seems that `use-application-dns.net` works for me. But I will still consider replacing Firefox, because this behavior, which is inconsistent with the settings, is unacceptable to me. However, I'm glad I learned a new thing, thx again :)
Re: Firefox always use DoH even when you disable it
#5Earlier quoted context omitted.
Thx! And seems that `use-application-dns.net` works for me. But I will still consider replacing Firefox, because this behavior, which is inconsistent with the settings, is unacceptable to me. However, I'm glad I learned a new thing, thx again :)
No problem. I've never see Firefox exhibit this behavior. Out of curiosity have you started in safe mode disabling all the addons and does it still do this?
Re: Firefox always use DoH even when you disable it
#6Earlier quoted context omitted.
No problem. I've never see Firefox exhibit this behavior. Out of curiosity have you started in safe mode disabling all the addons and does it still do this?
Hi, I just tried safe mode, and still the same :)
Re: Firefox always use DoH even when you disable it
#7Earlier quoted context omitted.
Hi, I just tried safe mode, and still the same :)
Interesting. If network.trr.mode is set to 5 this should not be occurring. If there is no plan to use FF again then I suppose submitting a bug would be a waste of time. Perhaps others will run into whatever condition is causing this behavior or perhaps it would happen on mine and my blackhole routes are breaking it.
Re: Firefox always use DoH even when you disable it
#8Earlier quoted context omitted.
Interesting. If network.trr.mode is set to 5 this should not be occurring. If there is no plan to use FF again then I suppose submitting a bug would be a waste of time. Perhaps others will run into whatever condition is causing this behavior or perhaps it would happen on mine and my blackhole routes are breaking it.
Yep, that `network.trr.mode` is `5`, just confirmed. I'm considering Zen now.
Re: Firefox always use DoH even when you disable it
#9Earlier quoted context omitted.
Interesting. If network.trr.mode is set to 5 this should not be occurring. If there is no plan to use FF again then I suppose submitting a bug would be a waste of time. Perhaps others will run into whatever condition is causing this behavior or perhaps it would happen on mine and my blackhole routes are breaking it.
Yep, that `network.trr.mode` is `5`, just confirmed. I'm considering Zen now.
Suggested capture methods:
tcpdump -p --dont-verify-checksums -i any -NNnntt -B32768 -c2000 -s0 proto 6 and 'tcp[13] == 2' and not host ${Your_Router_IP} &
tcpdump -p --dont-verify-checksums -i any -NNnntt -B32768 -c4000 -s0 proto 17 and not host ${Your_Router_IP} and 'length
Don't paste the output, just suggestions for capturing HTTPS SYN and QUIC over UDP.