A simple C program that helps you set your Linux DNS to several predefined or custom DNS servers.
yay -S dnsch
paru -S dnsch
- Clone the project from GitHub:
git clone https://github.com/MohammadRostamiorg/dnsChanger.git 2. Navigate to the project directory:
cd dnsChanger
- Build and install the package:
makepkg -sri
sudo make install
sudo dnsch {g|sh|ag|cf|403|bg|rd|el}
sudo dnsch --set 1.2.3.4 5.6.7.8
sudo dnsch {-c|--clear}
sudo dnsch {-p|--ping}
sudo dnsch {-r|--restore}
This program requires root privileges to modify system DNS settings.