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 18.104.22.168 nameserver 22.214.171.124 nameserver 126.96.36.199
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/BlockAds 1 (206) 456-1449 email@example.com
free adblock web filter dns filter server content filter tracking profiling malware protection business security library campus school cipa affordable easy alternative for barracuda fortinet sonicwall sophos untangle ba.net/adblock-dns-filter-server adblock-speed-vpn-iphone firstname.lastname@example.org