Every ISP has its own DNS (Domain Name Server) but some time it response very slowly which affect your browsing speed. To increase your browsing speed you can use Google public DNS which are much faster then any other DNS server. To setup Google Public DNS follow these steps.
Microsoft Windows
DNS settings are specified in the TCP/IP Properties window for the selected network connection.
Example: Changing DNS server settings on Microsoft Windows 7
- Go the Control Panel.
- Click Network and Internet, then Network and Sharing Center, and click Change adapter settings.
- Select the connection for which you want to configure Google Public DNS. For example:
- To change the settings for an Ethernet connection, right-click Local Area Connection, and click Properties.
- To change the settings for a wireless connection, right-click Wireless Network Connection, and click Properties.
If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
- Select the Networking tab. Under This connection uses the following items, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
- Click Advanced and select the DNS tab. If there are any DNS server IP addresses listed there, write them down for future reference, and remove them from this window.
- Click OK.
- Select Use the following DNS server addresses. If there are any IP addresses listed in the Preferred DNS server or Alternate DNS server, write them down for future reference.
- Replace those addresses with the IP addresses of the Google DNS servers: 8.8.8.8 and 8.8.4.4.
- Restart the connection you selected in step 3.
Mac OS X
DNS settings are specified in the Network window.
Example: Changing DNS server settings on Mac OS 10.5
- From the Apple menu, click System Preferences, then click Network.
- If the lock icon in the lower left-hand corner of the window is locked, click the icon to make changes, and when prompted to authenticate, enter your password.
- Select the connection for which you want to configure Google Public DNS. For example:
- To change the settings for an Ethernet connection, select Built-In Ethernet, and click Advanced.
- To change the settings for a wireless connection, select Airport, and click Advanced.
- Select the DNS tab.
- Click + to replace any listed addresses with, or add, the Google IP addresses at the top of the list: 8.8.8.8 and 8.8.4.4.
- Click Apply and OK.
Linux
In most modern Linux distributions, DNS settings are configured through Network Manager.
Example: Changing DNS server settings on Ubuntu
- In the System menu, click Preferences, then click Network Connections.
- Select the connection for which you want to configure Google Public DNS. For example:
- To change the settings for an Ethernet connection, select the Wired tab, then select your network interface in the list. It is usually called eth0.
- To change the settings for a wireless connection, select the Wireless tab, then select the appropriate wireless network.
- Click Edit, and in the window that appears, select the IPv4 Settings tab.
- If the selected method is Automatic (DHCP), open the dropdown and select Automatic (DHCP) addresses only instead. If the method is set to something else, do not change it.
- In the DNS servers field, enter the Google Public DNS IP addresses, separated by a space: 8.8.8.8 8.8.4.4
- Click Apply to save the change. 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 /etc/resolv.conf.
Example: Changing DNS server settings on a Debian server
- Edit /etc/resolv.conf:
sudo vi /etc/resolv.conf
- If any
nameserverlines appear, write down the IP addresses for future reference. - Replace the
nameserverlines with, or add, the following lines:
nameserver 8.8.8.8 nameserver 8.8.4.4
- Save and exit.
- Restart any Internet clients you are using.
Additionally, if you are using DHCP client software that overwrites the settings in /etc/resolv.conf, you will need to set up the client accordingly by editing the client’s configuration file.
Example: Configuring DHCP client sofware on a Debian server
- Back up /etc/resolv.conf:
sudo cp /etc/resolv.conf /etc/resolv.conf.auto
- Edit /etc/dhcp3/dhclient.conf:
sudo vi /etc/dhcp3/dhclient.conf
- If there is a line containing
domain-name-servers, write down the IP addresses for future reference. - Replace that line with, or add, the following line:
prepend domain-name-servers 8.8.8.8, 8.8.4.4;
- Save and exit.
- Restart any Internet clients you are using.
Related posts:
Do you know how well this works for servers?
@Kimmono
i am using it on my server and it working fine