How to change the DNS settings on your PC with Windows 10

8 min read

When you sign up for Internet access, the Internet service provider (ISP) also provides the required network settings (including the Domain Name System (DNS) addresses) that you can use to load your favorite websites, access online services, and access files. to download . However, their DNS servers are usually slower, sometimes unreliable and not very private. But you can use different resolvers from external companies to improve your internet experience on Windows 10. Here's how!

Related: How to configure Cloudflare 1.1.1.1 DNS service on Windows 10 or router

What is DNS?

A domain name system is a service (usually available for you free of charge) that allows you to type a friendly domain name in the web browser to load a web page.

Every computer that is connected to a network (and internet) receives an IP address to communicate with other devices. However, these addresses are not easy to remember (104.18.189.55) because DNS provides the mechanism for translating friendly domain names, such as & # 39; WindowsCentral.com & # 39 ;, into an IP address that your computer can understand.

Although you can type in the background at https://windowscentral.com to go to our site, the web browser first sends a request to the DNS servers to convert the name of the website to an IP address. When the address is found, it is displayed and then the browser downloads the content and displays the page.

Usually you don't notice this process, because it happens fairly quickly (in milliseconds), but if the resolvers you use are not reliable, they slow down your internet or you want to use private servers faster and more often, Windows 10 allows you to change these settings change to all services that you want to use.

In this Windows 10 manual we will discuss the steps to change the DNS settings on your device via the Control Panel, Command Prompt and Settings app.

How to change DNS settings via the Control Panel

To change the current DNS settings via the network settings in the Control Panel, follow these steps:

  1. Open Control panel.
  2. click on Network and internet.
  3. click on Network Center.
  4. Click on the Change adapter settings option in the left pane.

  5. Right click on the network interface that is connected to the internet and select the properties choice.

  6. Select and check the Internet Protocol version 4 (TCP / IPv4) choice.
  7. Click on the properties button.

  8. Click on the Use the following DNS server addresses choice.
  9. Type your "preferred" and "alternative" DNS addresses.

    If you use Google Public DNS, OpenDNS or CloudFlare, you can use these settings:

    • Google Public DNS: 8.8.8.8 and 8.8.4.4
    • OpenDNS: 208.67.222.222 and 208.67.220.220
    • Cloudflare: 1.1.1.1 and 1.0.0.1

    Quick tip: If you must use more than two DNS addresses, click on the advanced button and on the DNS tab you can add, edit and delete as many resolvers as you want. You even have an option on the side to set their priority.

  10. Click on the OK button.

  11. Click on the Close to button.

After you complete the steps, your device immediately uses the DNS settings that you specified.

How to change DNS settings using the command prompt

If you do not have access to the Control Panel or are more comfortable using commands, you can also use the command prompt to change the DNS settings in Windows 10 with the following steps:

  1. Open Get started.
  2. Search Command Prompt, right click on the top result and select it Run as administrator choice.
  3. Type the following command to change the network settings and press enter:

    netsh

  4. Type the following command to identify the names of the network adapters and press enter:

    show interface interface

  5. Type the following command to set the primary DNS IP address and press enter:

    interface ip set dns name = "ADAPTER-NAME" source = "static" address = "X.X.X.X"

    Don't forget to change in the command ADAPTER NAME with the name of your network adapter that you specified step no. 4and change X.X.X.X with the IP address of the DNS server that you want to use.

    If you use Google Public DNS, OpenDNS or CloudFlare, you can use these settings:

    • Google Public DNS: 8.8.8.8 and 8.8.4.4
    • OpenDNS: 208.67.222.222 and 208.67.220.220
    • Cloudflare: 1.1.1.1 and 1.0.0.1
  6. Type the following command to add an alternate DNS IP address and press enter:

    add interface ip dns name = "ADAPTER NAME" addr = "X.X.X.X" index = 2

    Don't forget to change in the command ADAPTER NAME with the name of your network adapter on which you have hired step no. 4and change X.X.X.X with the secondary address that you want to use.

    Quick tip: If you want to add more DNS addresses, you can repeat the above step, but then increase the number of the index option by 1. For example interface ip add dns name = "Ethernet1" addr = "8.8.4.4" index = 3

After you complete the steps, Windows 10 will start using the new DNS server addresses to resolve domain names to numeric addresses that your device can understand.

How to change DNS settings using Settings

To change the DNS settings with the Settings app on Windows 10, follow these steps:

  1. Open settings.
  2. click on Network and internet.
  3. click on Ethernet (or Wifi depending on your connection).
  4. Select the network connection.

  5. Click in the & # 39; IP Settings & # 39; on the Edit button.

  6. Use the & # 39; Edit IP settings drop-down list & # 39; and select the Manual choice.
  7. Switch the IPv4 switch switch.
  8. Type your "Preferred DNS" and "Alternate DNS" addresses.

    If you use Google Public DNS, OpenDNS or CloudFlare, you can use these settings:

    • Google Public DNS: 8.8.8.8 and 8.8.4.4
    • OpenDNS: 208.67.222.222 and 208.67.220.220
    • Cloudflare: 1.1.1.1 and 1.0.0.1
  9. Click on the Save button.
  10. Restart your computer.

After you complete the steps, the new DNS settings will take effect and you can now connect to the Internet using the new resolvers.

Although using the Settings app should be the recommended option to change the DNS settings on your computer, we will list this option last, because the feature has some design errors and can be confusing for some people. For example, if you make changes, the new settings will not apply until you restart your computer or extend the TCP / IP lease of your current configuration. With this interface you can also add no more than two DNS addresses.

Pack things up

In addition to the ability to use different resolvers on Windows 10, there are many more methods you can use, including changing the settings on your router or using third-party applications.

You will usually want to use the instructions above if you need to customize one or two devices at home or if you want to use different DNS servers when you are in a public place.

If you use a computer at work, it is recommended that you do not use these instructions because the new settings can cause connection problems. In case you need to change the DNS settings, you should ask your network administrator for help.

We focus this guide on Windows 10, but at least you can use the steps to change the DNS settings through the Control Panel and the command prompt on Windows 8.1 and Windows 7.

More Windows 10 resources

For more useful articles, coverage, and answers to frequently asked questions about Windows 10, visit the following resources:

Mauro recommends all these affordable accessories

Hello, I am Mauro Huculak, the help of Windows Central and the how-to-guru. I have written the message that you are reading now and I know the Windows operating system inside out. But I'm also a bit of a hardware nerd. These are some of the affordable gadgets on my desk today.

This message may contain links. Consult our disclosure policy for more information.

!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=();t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)(0);s.parentNode.insertBefore(t,s)}(window,
document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, ‘1674633419534068’);
fbq(‘track’, ‘PageView’);

(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)(0);
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “http://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.7”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));

var fbAsyncInitOrg = window.fbAsyncInit;
window.fbAsyncInit = function() {
if(typeof(fbAsyncInitOrg)==’function’) fbAsyncInitOrg();
FB.init({
appId: “291830964262722”,
xfbml: true,
version : ‘v2.7’
});

FB.Event.subscribe(‘xfbml.ready’, function(msg) { // Log all the ready events so we can deal with them later
var events = fbroot.data(‘ready-events’);
if( typeof(events) === ‘undefined’) events = ();
events.push(msg);
fbroot.data(‘ready-events’,events);
});

var fbroot = $(‘#fb-root’).trigger(‘facebook:init’);
};

Written by

Emily Parker

Leave a Reply

Your email address will not be published. Required fields are marked *