dnser
allows you to quickly change your system's DNS settings using various DNS providers. It supports NetworkManager, systemd-resolved, and resolv.conf methods.
✅ Change DNS to well-known providers (Google, Cloudflare, Shecan, etc.)
✅ Automatically detects your system's DNS management method
✅ Clears and resets DNS settings for a fresh configuration
✅ Works on Ubuntu, Debian, Arch, and most Linux distros
To download and install the latest release, run:
sudo wget -O /usr/local/bin/dnser https://github.com/mojtabana/dnser/releases/latest/download/dnser.sh
sudo chmod +x /usr/local/bin/dnser
sudo dnser dns status
sudo dnser dns clear --dns
sudo dnser dns clear --cache
sudo dnser dns set