To change DNS servers just takes a quick edit in the right place.
On Linux the DNS servers the system uses for name resolution are defined in the file:
It's spelled just like that, with no "e" at the end of "resolv".
In that file we'll want to have at least one "nameserver" line (two is better, so we have a fallback). Each line defines a DNS server.
The name servers will be prioritized in the order the system finds them in the file. Use the IP addresses of the name servers when entering them, since the system won't know what to do with domain names until after it knows how to get to the DNS servers.
Open resolv.conf with an editor like nano to make the necessary changes (if it doesn't exist already this will create the file for us):
sudo nano /etc/resolv.conf
nameserver 126.96.36.199 nameserver 188.8.131.52 nameserver 184.108.40.206
It's that simple - change or add those name servers and once the settings are saved the system will use them right away. Make sure the changes take with a quick ping to test it and you'll be done.
BA.net - AdBlock Speed VPN for Mobile iPhone iOS Android Save Data Usage content filter tracking profiling openvpn blinkt tunnelblick pptp malware protection business security library campus school cybercafe cipa affordable easy alternative for barracuda fortinet sonicwall sophos untangle adblock-speed-vpn-iphone firstname.lastname@example.org