. Fast . Block Ads Net

Block Ads . Config . FAQ . Share . RPi3 . PRO
How to configure DNS settings for my DSL or wireless router

Changing DNS Settings on Linux

Manual DNS

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




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.

Block Ads . Config . FAQ . Share . RPi3 . PRO

AdBlock DNS . Ad Report . Hardware AdBlock Server . Business AdBlock VPN Server . Blog . FAQ . Privacy . CIPA . Testimonials . Tools . Video Demo . PRO

BA.net/BlockAds 1 (206) 456-1449 iphone@ba.net

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 adblock@ba.net