Web.pk

Changing DNS Server to Speed Up Your Internet

By Abdul Hadi — Published on 29/12/2016
ADVERTISEMENT
CONTINUE READING BELOW

Most of the internet users think that speed of their internet connection merely depends on bandwidth or transfer rate they are getting from their internet service provider. We want to tell you it is not true at all because there are dozens of other factors that also counts for enjoying fastest internet speed and DNS server is one of them.

ADVERTISEMENT
CONTINUE READING BELOW

Basically, when a user enters a website address in the web browser, the system sends a lookup request to a DNS name server to find out the IP address of the server hosting the website linked with that domain name. The same happens when the users use any other internet related thing like an email client, online messaging services or any other program or application that require an internet connection or use internet resources.

There are multiple DNS services and manual ways to change the DNS to get the fastest internet speed. Here we are mentioning some popular one.

Change DNS to Google DNS

To change DNS to Google DNS first, edit your network settings that are located in internet connection. This is the path: My Computer > My Network Places > Network Connections.

ADVERTISEMENT
CONTINUE READING BELOW

Click on Properties > Internet Protocol >TCP/IP and change your settings in “use the Following DNS server ”

The place, where you see settings for “Following DNS server address,” change it to 8.8.8.8 and 8.8.4.4.

Another Way to Change Google DNS

Changing DNS server settings on Windows 7

  1. Go to the Control Panel.
  2. Click Network and Internet > Network and Sharing Center > Change adapter settings.
  3. 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 > Properties.
    • To change the settings for a wireless connection, right-click Wireless Network Connection > Properties.

    If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

  4. Select the Networking tab. Under This connection uses the following items, selectInternet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) and then click Properties.
  5. 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.
  6. Click OK.
  7. 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.
  8. Replace those addresses with the IP addresses of the Google DNS servers:
    • For IPv4: 8.8.8.8 and/or 8.8.4.4.
    • For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844.
    • For IPv6-only: you can use Google Public DNS64 instead of the IPv6 addresses in the previous point.
  9. Restart the connection you selected in step 3.
  10. Test that your setup is working correctly; see Test your new settings below.
  11. Repeat the procedure for additional network connections you want to change.

Mac OS

DNS settings are specified in the Network window.

Example: Changing DNS server settings on Mac OS 10.5

  1. Click Apple > System Preferences > Network.
  2. 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.
  3. 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 clickAdvanced.
  4. Select the DNS tab.
  5. Click + to replace any listed addresses with, or add, the Google IP addresses at the top of the list:
    • For IPv4: 8.8.8.8 and/or 8.8.4.4.
    • For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844.
    • For IPv6-only: you can use Google Public DNS64 instead of the IPv6 addresses in the previous point.
  6. Click Apply > OK.
  7. Test that your setup is working correctly; see Test your new settings below.
  8. Repeat the procedure for additional network connections you want to change.

Linux

In most modern Linux distributions, DNS settings are configured through Network Manager.

Example: Changing DNS server settings on Ubuntu

  1. Click System > Preferences > Network Connections.
  2. 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.
  3. Click Edit, and in the window that appears, select the IPv4 Settings or IPv6 Settings tab.
  4. 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.
  5. In the DNS servers field, enter the Google Public DNS IP addresses, separated by a comma:
    • For IPv4: 8.8.8.8 and/or 8.8.4.4.
    • For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844.
    • For IPv6-only: you can use Google Public DNS64 instead of the IPv6 addresses in the previous point.
  6. Click Apply to save the change. If you are prompted for a password or confirmation, type the password or provide confirmation.
  7. Test that your setup is working correctly; see Test your new settings below.
  8. Repeat the procedure for additional network connections you want to change.

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

  1. Edit /etc/resolv.conf:
    sudo vi /etc/resolv.conf
    
  2. If any nameserver lines appear, write down the IP addresses for future reference.
  3. Replace the nameserver lines with, or add, the following lines:For IPv4:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    

    For IPv6:

    nameserver 2001:4860:4860::8888
    nameserver 2001:4860:4860::8844
    

    For IPv6-only, you can use Google Public DNS64 instead of the above IPv6 addresses.

  4. Save and exit.
  5. Restart any Internet clients you are using.
  6. Test that your setup is working correctly; see Test your new settings below.

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

  1. Back up /etc/resolv.conf:
    sudo cp /etc/resolv.conf /etc/resolv.conf.auto
    
  2. Edit /etc/dhcp3/dhclient.conf:
    sudo vi /etc/dhcp3/dhclient.conf
    
  3. If there is a line containing domain-name-servers, write down the IP addresses for future reference.
  4. Replace that line with, or add, the following line:For IPv4:
    prepend domain-name-servers 8.8.8.8, 8.8.4.4;
    

    For IPv6:

    prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;
    

    For IPv6-only, you can use Google Public DNS64 instead of the above IPv6 addresses.

  5. Save and exit.
  6. Restart any Internet clients you are using.
  7. Test that your setup is working correctly; see Test your new settings below.

Use OpenDNS

OpenDNS comes in both premium and free version. You can get it from here. Use the following DNS addresses to change the DNS servers

  • 208.67.222.222
  • 208.67.220.220

Method for changing same that is already mentioned in case of Google DNS

GRC’s DNS Benchmark and Namebench are other great tools for the internet users that are fully compatible with almost all operating systems.

Another Ultimate Guide to Changing Your DNS Server

Follow these screenshots to change the DNS server

About Author

Written by
Abdul Hady is a content expert on topics related to the dynamic and ever-changing entertainment and technology industries. He becomes an expert in multimedia content development and distribution because of his dedication to researching how these two rapid markets overlap.

Popular Articles

Register Mobile Devices for 120 Days on Each Visit to Pakistan – Dirbs
ADVERTISEMENT CONTINUE READING BELOWOverseas Pakistanis Can Register Mobile Devices for Temporary Use of Up to…
16 Jul 2025
How to renew NICOP Online via NADRA website
ADVERTISEMENT CONTINUE READING BELOWThe National Identity Card for Overseas Pakistanis (NICOP) is an essential document…
30 Jul 2025
PTCL DSL/Wireless Router Settings with IP – Username & Password
ADVERTISEMENT CONTINUE READING BELOWLots of new user face problems and difficulty in configuring their modems…
25 Feb 2013
Traditional Mehndi & Dholki Songs List With Lyrics 2024
ADVERTISEMENT CONTINUE READING BELOWPakistani wedding is incomplete without different traditions like Mehndi, , Jaga. These…
14 Nov 2013
Netflix Subscription Packages in Pakistan 2025
ADVERTISEMENT CONTINUE READING BELOWADVERTISEMENT CONTINUE READING BELOW When I first subscribed to Netflix in Pakistan,…
15 May 2025
YouTube Premium Packages – All YouTube Pricing in Pakistan
ADVERTISEMENT CONTINUE READING BELOWYouTube Premium Pricing in Pakistan: Plans, Benefits & Real User Value Breakdown…
5 Mar 2025
BPS Pay Scale 2024-25: FG Employees’ New Revised Pay Scales and Allowances
ADVERTISEMENT CONTINUE READING BELOWWith the announcement of the 2024-25 federal budget, the Government of Pakistan…
9 Jul 2025
MTMIS Punjab Vehicle Verification and Registration Online – Full User Guide
ADVERTISEMENT CONTINUE READING BELOWWhen I first needed to verify a vehicle before purchase, I turned…
30 Apr 2025
Official List Of Websites Banned In Pakistan
ADVERTISEMENT CONTINUE READING BELOWAlthough YouTube got a green signal by Government of Pakistan and Pakistan…
1 Apr 2017
Pakistan’s Solar Energy Boom: Current Status and Outlook
ADVERTISEMENT CONTINUE READING BELOWPakistan is undergoing a remarkable solar energy boom, driven by a combination…
10 Jun 2025
How to Renew POC card Online via Nadra website
ADVERTISEMENT CONTINUE READING BELOWHow Overseas Pakistanis Can Renew POC Online Through NADRA’s Official Website: A…
1 Aug 2025
Top 60 Pakistani Clothing Brands
ADVERTISEMENT CONTINUE READING BELOWWant to figure out the top 60 in Pakistan in 2023? Can…
28 Feb 2017