How do I set up Secure DNS (eg over TLS or HTTPS) on 16.04?
I would prefer to use functionality built into 16.04 or apps available on the 16.04 repository. I plan to use either the Google Public DNS (eg 8.8.8.8, 8.8.4.4) or Cloudflare (1.1.1.1, 1.0.0.1) or some combination of the two.
From a web search, the commonly recommended way is to use stubby on 18.04 for DNS over TLS, but stubby does not seem to be available on the 16.04 repository.
Current options for DNS over HTTP seems to be cloudflared by Cloudfare and doh-proxy by Facebook, neither of which seem to be available on the 16.04 repository.
In Ubuntu there is the dnss package (official site)
From man page:
On Firefox, you can enable this by navigating to the browser's Settings → Network Settings and checking Enable DNS over HTTPS as shown in the screenshot:
Chrome/Chromium/Brave has a similar setting, which you can enable by navigating to the browser's Settings → Privacy and security → Advanced → Use secure DNS.