CosmicDNS
A COSMIC panel applet that switches which DNS servers this device uses — one click between Cloudflare, Quad9, NextDNS, your Pi-hole, or the router's default — with an automatic DNS cache flush.
About
Sometimes you want your ad-blocking Pi-hole; sometimes you need it out of the way. CosmicDNS makes that a panel click: an orange badge when a custom DNS is forced, grey when the router's default is in use, and a popup with your saved servers — seeded with Cloudflare, Google and Quad9, editable and reorderable. Every switch flushes the DNS cache, so the change takes effect immediately.
Entries can use DNS over TLS, and pasting a NextDNS profile ID adds an encrypted entry that applies your profile's filtering. The override follows your active network: unplug the LAN and join Wi-Fi, and the applet moves your chosen DNS to the new connection and cleans it off the old one, reacting instantly via nmcli monitor. Everything goes through NetworkManager and systemd-resolved — no daemon, no root — and a VPN that takes over DNS gets a warning rather than being fought.
Highlights
- State at a glance — orange badge for a custom DNS, grey for the router's default
- One-click switching — saved server list with checkmarked active entry, drag to reorder
- DNS over TLS & NextDNS — strict-mode DoT per entry, NextDNS added from just a profile ID
- Follows the network — the override moves with you between LAN and Wi-Fi, instantly; tunnels are left alone
- Automatic cache flush on every switch, plus flush-on-demand
- No daemon, no root — plain NetworkManager under the hood, self-updating from GitHub releases
Install
$ curl -fsSL https://raw.githubusercontent.com/davidboulay/CosmicDNS/main/install.sh | bash
Installs the prebuilt x86_64 binary, or builds from source elsewhere. Then Settings → Desktop → Panel → Add Applet → DNS. Binaries are also on the releases page.
