<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Z Space Blog - DNS</title><link href="https://zlg.space/blog/" rel="alternate"/><link href="https://zlg.space/blog/feeds/t/dns.atom.xml" rel="self"/><id>https://zlg.space/blog/</id><updated>2022-12-11T00:37:00-08:00</updated><entry><title>Disable DNS over HTTPS in Firefox</title><link href="https://zlg.space/blog/disable-dns-over-https-in-firefox.html" rel="alternate"/><published>2020-02-26T23:39:00-08:00</published><updated>2022-12-11T00:37:00-08:00</updated><author><name>zlg</name></author><id>tag:zlg.space,2020-02-26:/blog/disable-dns-over-https-in-firefox.html</id><summary type="html">&lt;p&gt;Mozilla recently changed Firefox's default behavior so that all United States
users are using technology called &lt;a href="https://blog.mozilla.org/blog/2020/02/25/firefox-continues-push-to-bring-dns-over-https-by-default-for-us-users/"&gt;DNS-over-HTTPS&lt;/a&gt;, which stuffs your DNS
queries into an HTTPS request, which then spits back the IP to connect to. On
its surface it's supposed to be "more secure", but &lt;a href="https://wiki.mozilla.org/Trusted_Recursive_Resolver#network.trr.resolvers"&gt;the default DoH provider is
Cloudflare&lt;/a&gt;. This should be alarming to anyone who considers centralization
a threat. The effect of this is that all Firefox DNS traffic will be routed
through Cloudflare, creating a funnel of information to a single provider.&lt;/p&gt;
&lt;p&gt;Cloudflare uses Google captchas and other analytics. &lt;a href="https://groups.google.com/forum/#!topic/mozilla.governance/81gMQeMEL0w"&gt;Mozilla has also been
gathering "anonymous browsing data" through their Studies platform.&lt;/a&gt; The
only real reason to gather this data is to sell it; very little of this data
is useful for the Studies program, and using hot/cold or A/B testing for
determining features is poor software design philosophy. As such, I recommend
disabling DNS over HTTPS, or running your own Trusted Recursive Resolver, if
you're going to stick with Firefox.&lt;/p&gt;
</summary><content type="html">&lt;p&gt;Mozilla recently changed Firefox's default behavior so that all United States
users are using technology called &lt;a href="https://blog.mozilla.org/blog/2020/02/25/firefox-continues-push-to-bring-dns-over-https-by-default-for-us-users/"&gt;DNS-over-HTTPS&lt;/a&gt;, which stuffs your DNS
queries into an HTTPS request, which then spits back the IP to connect to. On
its surface it's supposed to be "more secure", but &lt;a href="https://wiki.mozilla.org/Trusted_Recursive_Resolver#network.trr.resolvers"&gt;the default DoH provider is
Cloudflare&lt;/a&gt;. This should be alarming to anyone who considers centralization
a threat. The effect of this is that all Firefox DNS traffic will be routed
through Cloudflare, creating a funnel of information to a single provider.&lt;/p&gt;
&lt;p&gt;Cloudflare uses Google captchas and other analytics. &lt;a href="https://groups.google.com/forum/#!topic/mozilla.governance/81gMQeMEL0w"&gt;Mozilla has also been
gathering "anonymous browsing data" through their Studies platform.&lt;/a&gt; The
only real reason to gather this data is to sell it; very little of this data
is useful for the Studies program, and using hot/cold or A/B testing for
determining features is poor software design philosophy. As such, I recommend
disabling DNS over HTTPS, or running your own Trusted Recursive Resolver, if
you're going to stick with Firefox.&lt;/p&gt;


&lt;h1&gt;How to Disable DNS over HTTPS&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Open &lt;code&gt;about:config&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;Search for &lt;code&gt;network.trr.mode&lt;/code&gt;, and set it to 5. If it doesn't exist, create
   it, so when you update Firefox the key will already be made. &lt;a href="https://wiki.mozilla.org/Trusted_Recursive_Resolver#network.trr.mode"&gt;See the MDN
   wiki&lt;/a&gt; for a description of the magic numbers used here.&lt;/li&gt;
&lt;li&gt;Restart your browser.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Be sure to do this for &lt;em&gt;all&lt;/em&gt; Firefox installations.&lt;/p&gt;
&lt;p&gt;Who knows how long they'll allow it. At present I cannot recommend any HTTP
browsers. The whole protocol is a mess, as are the attempts to secure it.&lt;/p&gt;
&lt;p&gt;If you've been paying attention, it's become harder and harder to run your own
website, because corporations and browser vendors (one and the same here) keep
changing the requirements to be considered "secure". This is a repeat of what's
happened to the e-mail protocol, and apparently we'll need to fuck up HTTP to
relearn that lesson.&lt;/p&gt;
&lt;p&gt;We need to have a serious conversation about trust and networking. Large,
powerful organizations are trying to steer what the public does online and we're
expected to just trust them. What have they done to deserve our trust? We read
about leak after leak of data; data that wouldn't leak if it wasn't gathered in
the first place. And their answer is to trust yet another entity, that we
&lt;em&gt;don't&lt;/em&gt; have legal agreements with, to our most personal browsing information.
That's a trap, folks.&lt;/p&gt;
&lt;p&gt;None of this makes me trust the Web. It highlights how broken TCP/IP itself is.
We need a networking stack that puts security and privacy first, not as a
half-baked, cat's-out-of-the-bag "solution" through corporate partnerships and
continuously changing the requirements for Web authorship.&lt;/p&gt;
&lt;p&gt;There are solutions out there to sandbox your browser: Firejail, a chroot,
whatever "universal packaging solution" is hip on Linux these days, or just a
regular ol' VM.&lt;/p&gt;
&lt;p&gt;If you have to use all of these things dressed up to the nines to browse the
Web, then it's time to realize that HTTP(S) Is Harmful.&lt;/p&gt;
&lt;p&gt;-z&lt;/p&gt;</content><category term="Software"/><category term="Firefox"/><category term="DoH"/><category term="DNS"/></entry></feed>