We have conducted some preliminary work on this idea and shared it with the team at Firefox, but I guess the current number of Trusted Recursive Resolvers is not large enough. However, I do believe that once Firefox have more than a dozen TRRs, (or if Firefox allows users to input more than just one customized DoH resolver), our proposed K-resolver resolution mechanism would help to increase the privacy benefit of DoH even further.
"K-resolver: Towards Decentralizing Encrypted DNS Resolution"
https://www.ndss-symposium.org/wp-content/uploads/2020/02/23...
- every FQDNs you resolve is leaked to at least one provider
- the FQDNs you resolve often (e.g. every day) are leaked to at all the backend providers over time
If you want to protect your privacy you need DNS resolution over Tor.
It's still not clear if it's a win to rotate, but if you were going to rotate, that would help.
(and hardly beneficial for privacy: you just divided the FQDNs you leak across 3-4 providers)
But nonetheless, I agree.
Then, I expose my PiHole as a DoT + DoH server (DoT for Linux and Android, DoH for Firefox) so that I can always use my ad block lists and secured DNS traffic.
It's also an availability thing. There's that one archive website on a vendetta against cloudflare for not forwarding enough data in DNS requests (eDNS or something?) that I can access by using alternative servers as well. In the rare case of a cloudflare outage, this also ensures uptime.
DNS cannot be made fully anonymous, though that double encrypted DoH thing seems promising. Picking a few trusted providers isn't a problem for me personally.
Maybe something exists for that already?
I have a PiHole, and have the cloudflare DoH client installed on it.
Requests from my network go to the PiHole, and the PiHole is set to query localhost:5053, which then hits a DoH provider.
Why do you have separate setups for mobile vs. desktop web browser, why not have the OS do native DNS to your PiHole?
Similarly, I use DoT on my phone but if I want to connect to any hotspot, I have to disable DoT because the hotspot login detection fails with DoT configured. I think it's a Xiaomi thing. Regardless, I need to disable it to use. In one particular case (scanning groceries in the supermarket for the automated payout) I can't fall back to LTE like usual. Just in case I forget to turn DoT back on, I've also configured Firefox on my phone to use DoH because the mechanism is there and I might as well.
There's small edge cases where I just like to fall back to browser DoH. DoT and I'm network DNS still works fine, of course.
So you'd likely configure your browser to do DoH destined for that proxy, and have the proxy generate DoH requests to the remote ends. The downside is you'd have to somewhat manually set up certificate trust between your client and your proxy - either by trusting the proxy's certificate, or installing a root CA that issues the proxy's certificate in your browser's trust store.