Most people connect to the internet via their ISP’s DNS servers which more than likely are not the best and more than likely is slowing down your browsing. Using a 3rd party service not only speeds up your experience online. A while ago we wrote about OpenDNS, today we’re going over Google’s DNS service.
Google Public DNS IP addresses
IPv4 addresses are as follows:
IPv6 addresses are as follows:
Making the changes
- Start the
Network and Sharing Center(this process varies by windows version)
Change adadpter settings
Local Area Connectionor
Wireless Network Connectionslelect
- Type in your administrator password if you are promted for it.
- Click the
- Under the
Internet Protocol Version 4 (TCP/IPv4)or
Internet Protocol Version 6 (TCP/IPv6)and click
Advancedand select the
DNStab, write down any IP’s that are listed here for future reference in case you want to revert later on.
Use the following DNS server addresses
- Enter the IP’s from above
- Restart your computer
- Click the Apple menu ()
System Preferencesand click the
- Select the connection you want to configure (
Display Ethernet) then click
- Select the
- Click the
+icon to enter the IP Addresses (repeat for each address)
I will go over doing this in Ubuntu since that is one of the more common flavors.
System Preferencesand click
- Select the connection you want to configure
Wirelesstab, then select the appropriate network.
Edit, and in the window that appears, select the
- If the selected method is
Automatic (DHCP), open the dropdown and select
Automatic (STATIC) addresses onlyinstead.
- If the method is set to something else, do not change it.
- In the DNS servers field, enter the IP addresses, separated by a space:
- If you are prompted for a password or confirmation, type the password or provide confirmation.
If your distribution doesn’t use Network Manager, your DNS settings are specified in
sudo vi /etc/resolv.conf
If any nameserver lines appear, write down the IP addresses for future reference. Replace or add, the following lines:
nameserver 220.127.116.11 nameserver 18.104.22.168 nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844
Save and exit
Restart any Internet clients you are using.
sudo /etc/init.d/networking restart
Every router uses a different user interface for configuring DNS server settings; we provide only a generic procedure below. For more information, please consult your router documentation.
- In your browser, enter the IP address to access the router’s administration console.
- When prompted, enter the password to access network settings.
- Find the screen in which DNS server settings are specified.
- If there are IP addresses specified in the fields for the primary and seconday DNS servers, write them down for future reference.
- Replace those addresses with the IP addresses from above
- Save and exit.
- Restart your browser.