This page will guide you through the setup process on a Linux computer using the built-in terminal, which is available on almost all versions and distributions of Linux.
If you are using Ubuntu and would like to set Google DNS via its Unity desktop environment, kindly refer our instructions here:
- Go to your Terminal and type in sudo bash . This will give you super user privilege.
- Once you have the super user (administrator) access, type in the command below to back up your network configuration file.
cp /etc/resolv.conf /etc/resolv.orig
- Next, type in the command below to remove the resolv.conf file.
- Now, type in the command below one at a time.
echo "nameserver 188.8.131.52" > /etc/resolv.conf
echo "nameserver 184.108.40.206" >> /etc/resolv.conf
- Finally, type in the command below.
If the set up was successful , it will display the Google DNS that you've specified earlier.
If you wish to set a custom DNS on a different device or system, please refer to our article here:
How to Set Google DNS on your device / system