I have released the version 1.0 of what I call The Privacy DNS Chooser Script. This very simple but very easy to use CLI script allows you to choose Quad9, Mullvad DNS and NextDNS (more coming soon!) and use them on Linux with the systemd-resolved package (which is nowadays installed on all Linux distros, except Debian).
One of the cool features of the script is an NextDNS integration. This means that when the user chooses NextDNS to use it, the script will ask him to enter his configuration number (e.g. a12345)
Also, if you are in trouble (like if your Internet’s not working anymore after running the script). There’s a “rescue script” which will recover /etc/systemd/resolved.conf to his default state. Thus recovering your internet connection.
Why did I make this script? Well, I think on Linux, we are very late when it comes to setting up a DNS provider. We can only set up an IP address as an DNS while on Windows 11 and macOS Ventura, we have the ability to use DNS-over-HTTPS and DNS-over-TLS which are way more secure ways of using DNS, directly into a GUI. Where on Linux, the only way to do that is via, you guessed it : /etc/systemd/resolved.conf a.k.a. systemd-resolved.
Upcoming features for the script :
Add Support for AdGuard (should come out at the end of the year)
Add options for the user to choose the Ad, Tracker and Malware blocking version of Mullvad DNS or the standard non-blocking DNS (Early January 2024)
Add Cloudflare and ControlD support (March/April 2024)
Agree that we are behind with GUI support for secure DNS and I like how enthusiastic your are about the script. Unfortunately, this is just a teaser.
Actually, the functionality should be in systemd-resolved or network manager (or elsewhere maybe). And then configured via the default GUI. This will take time.