3 ms·
> OK so which is more likely to play nice with constantly changing wireless connections? If you use a public resolver that supports it (such as Cloudflare's 1.
by jlgaddis 9y ago
> OK so which is more likely to play nice with constantly changing wireless connections?
If you use a public resolver that supports it (such as Cloudflare's 1.1.1.1), I think you'd probably be best served by DNS-over-HTTPS as it uses 443/TCP.
DNS-over-TLS (supported by 1.1.1.1 and 9.9.9.9) would be my next choice, but since it uses 853/TCP, you might run into issues if/when you encounter a wireless network that blocks outbound access to this port.
DNSSEC, if you ran your own validating resolver on your laptop, should work regardless of the network you are connected to (as it just uses 53/UDP), but with the caveat that DNSSEC does not provide privacy (just "response integrity", as noted by the RFC).
> ... out of the box, Windows and macOS and Fedora all just defer to the DNS servers that are assigned by DHCP ... So I'm pretty much stuck, ...
Even when using DHCP, you should still be able to manually configure the DNS servers you want to use. AFAIK, this is still possible on any OS (but I haven't used Windows for years, nor OS X for quite a while). For example, on my laptop (which also hops between wireless networks), I run my own resolver (unbound, which points to a recursive resolver on the Internet that I control) and use DNS-over-TLS (on 853/TCP).
For more information, see the DNS Privacy Project's web site (wiki) [0].
[0]: https://dnsprivacy.org/wiki/ https://dnsprivacy.org/wiki/
- walrus01 9y agoIf you run and fully control your own recursive resolver, it's also possible (but non standard) to run DNS-over-TLS on port 443. The general steps are to install stunnel for a TLS proxy on the DNS server, set it up with the appropriate public/private keys, and then have stunnel forward traffic to localhost:53 on the same machine.