How to change DNS server settings on Windows 7 and above

The DNS system is what allows your computer to find out where the websites you want to visit are hosted. The DNS settings on your device allows you to choose what DNS servers you with to use. There are a few factors that go into choosing a server, like speed and security. Let's jump in!

Alternatively, you can watch the video below for a step by step guide.

Why should I change my DNS server settings?

Most people chose to change their DNS settings because the default DNS servers (Generally set to use your ISP's DNS servers) can be slow, and in some cases, incorrectly configured for caching and security. Such configuration can possibly slow down your internet connection speed. Additionally, Your default DNS servers may not offer phishing protection and support for DNSSEC. Lastly, most ISP's use their DNS servers as an additional way to track and monitor your internet usage.

Now that you've learned why you should you change your DNS server, below is a list of options that you can choose from! Majority of the time your system will take the IPv4 address of the DNS server. If you need the IPv6 address, we will add it below as well.

IPv4 (Most Commonly Used)

Server ProviderPrimary ServerAlternative Server
CloudFlare (Recommended)


Server ProviderPrimary ServerAlternative Server
CloudFlare (Recommended)2606:4700:4700::11112606:4700:4700::1001


How to change your DNS server

In this section, we will change our default DNS server to a new one.

  1. First, launch the Control Panel (Click the Windows Icon and search "Control Panel") Open the Control Panel3. In the control panel, navigate to to "Network and Internet", then "Network and Sharing Center" Navigate to the Network and Sharing Center5. Select "Change Adapter Settings" from the left side of the control panel Open Network Adapter Settings7. Select the network that your are currently using (Most likely "Wi-Fi" or "Ethernet") Select the current network9. Select the "Properties" button. You may have to provide an administrator password Open Network Properties

In the new window that opens, select either "Internet Protocol Version 4 (TCP/IPv4)" or "Internet Protocol Version 6 (TCP/IPv6)", whichever appears in the list (Note: Only one will appear, not both)

Select IPv4 or IPv613. Only you have highlighted the selection from the above step, select "Properties"

  1. If it is not selected, choose the "Use the following DNS server addresses:" radio button
  2. For "Preferred DNS server", enter the "Preferred DNS server" from above, for example, (For Cloudflare)
  3. For "Alternate DNS server", enter the "Alternate DNS server" from above, for example (For Cloudflare)

Select the "OK" button on the current window, then the "Close" button on the other windows to exit

Final DNS server configuration

You can now close the control panel. You have now changed the DNS server on your computer, congratulations!

How to Clear Your DNS Cache

While all new DNS queries will be sent using your new DNS settings, you may want to clear all existing records. If you do, see the three quick steps below.

  1. Open a Command Prompt window by clicking on Start and searching for "cmd".
  2. Once the Command Prompt is open, type: ipconfig/flushdns
  3. Press the enter key.
  4. That's it!


That's it! After following all the steps, you've changed your DNS server and are on your way to having a faster and more secure browsing experience. Once again, congrats and happy browsing!


Article Author

Related Articles

What Are Nameservers (And What They Do)

Nameservers are part of the DNS (Or Domain Name System) and are used to control your domain and its contents. Nameservers tell the visitors browser where the web server is located, so the website can ...


All code and content © 2024. Contact Us to learn more.