How to change DNS address to resolve faster in Windows 10

Hello again, my name is Fabian, as always we share great articles of value to our audience and this one won't be the only one, stay till the end of the post to stay up to date with the latest trends that we have prepared for you. As we told you last week, we read all the comments and create trending content for you, so if you haven't done so yet, leave us your email and we'll keep you updated. Without wasting any more time, I hope you read all the latest trends and see you next time, everything we know about Clomatica.

Domain Name System (DNS) is a service that translates friendly domain names (Google.com) into IP addresses (172.217.6.238) that are not easy to remember. Normally, you don't need to worry about adjusting your DNS settings, because your Internet Service Provider (ISP) always provides this service automatically. However, there are many other faster, more reliable, more private, and more secure DNS resolvers out there, including those provided by Cloudflare, GoogleY Cisco.

If the DNS servers your ISP offers are slow and unreliable, or you simply don't trust their resolvers, you can change DNS addresses in Windows 10 in at least four different ways using Command Prompt, PowerShell, Settings, and Control Panel.

In this guide, you will learn the steps to change DNS addresses to use a more reliable and secure resolver on your Windows 10 device.

Index of contents

Free, fast and reliable DNS services

While there are many resolver services, CloudFlare, Google, and OpenDNS are among the companies that offer fast, reliable, and secure resolvers.

CloudFlare DNS addresses

Google public DNS addresses

Cisco DNS OpenDNS addresses

  • 208.67.222.222
  • 208.67.220.220

Change the DNS address using the command prompt

While using command lines is not a suitable method for most users, it is one of the fastest ways to change DNS address in Windows 10.

To change the DNS address using a command prompt, follow these steps:

  1. To open Start on Windows 10.

  2. To seek System symbolright click on the top result and select the file Run as administrator option.

  3. Enter the following command to view the current network settings and press Access:

    ipconfig /all
  4. For the network card, note the name of the network card and the following information in these fields:

    IPConfig / all information

  5. Enter the following command to define the new DNS server address and press Access:

    netsh interface ip set dns name="Ethernet0" static 1.1.1.1
    Change the primary DNS IP address in Windows 10
    Change the primary DNS IP address in Windows 10

    In the command above, be sure to change ethernet0 with the name of the adapter e 1.1.1.1 with the address of the DNS server you want to use.

  6. Enter the following command to define an alternate DNS server address and press Access:

    netsh interface ip add dns name="Ethernet0" 1.0.0.1 index=2

    In the command above, be sure to change ethernet0 with the name of the adapter e 1.0.0.1 with the preferred alternate DNS server address.

    Add a second DNS IP address in Windows 10
    Add a second DNS IP address in Windows 10

After completing the steps, you can confirm the new settings using the ipconfig /all command and checking the DNS servers Addresses.

Microsoft is in the process of retiring netsh in Windows 10, as such, you should start using the NetTCPIP network module available in PowerShell instead.

Change the DNS address using PowerShell

Windows 10 also includes the PowerShell command-line platform that allows you to use the NetTCPIP module for managing network settings, including the ability to change the DNS address settings of your device.

To change the DNS address using PowerShell, follow these steps:

  1. To open Start.

  2. To seek shell powerright-click the result and select the file Run as administrator option.

  3. Enter the following command to view the current network settings and press Access:

    Get-NetIPConfiguration

    After running the command, note the following information:

    • InterfaceIndex
    • DNS servers

    Get network IP settings with PowerShell
    Get network IP settings with PowerShell

  4. Enter the following command to assign a primary DNS server address and press Access:

    Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 208.67.222.222
    Change the DNS IP address using PowerShell
    Change the DNS IP address using PowerShell

    (Optional) If you need to define a secondary DNS server address, you can use the same command, but adding a comma and adding the second address:

    Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 208.67.222.222, 208.67.220.220
    Set primary and alternate DNS addresses with PowerShell
    Set primary and alternate DNS addresses with PowerShell

    In the command above, make sure you change the file InterfaceIndex number with the one corresponding to your adapter and change Server Addresses with the IP address of the DNS.

After completing the steps, you can test your new setup using this guide.

Change the DNS address using Settings

You can also specify new DNS addresses using the Settings app, but all TCP/IP settings must be set to static for this to work. If you are not familiar with assigning a static TCP/IP configuration, do not use this option.

To change the Windows 10 DNS address with Settings, follow these steps:

  1. To open Definitions.

  2. click on Networks and the internet.

  3. click on Condition.

  4. In the "Network Status" section, click the button property button for the network you want to edit.

    Network status configuration
    Network status configuration

  5. In the "IP Settings" section, click Change button.

    Option to change IP settings
    Option to change IP settings

  6. Use the drop down menu and select the Manual option.

  7. turn on the IPv4 Light switch.

  8. In the "IP address" section, specify the TCP/IP address of the device.

  9. In the "Subnet Prefix Length" section, define the length of the subnet. Typically, home networks have a length 24 to represent the subnet address 255.255.255.0.

  10. In the "Gateway" section, define the default gateway address. This is usually the router's IP address.

  11. In the "Preferred DNS" section, specify the IP address of the DNS server (for example, 1.1.1.1).

    Network settings change DNS
    Network settings change DNS

  12. In the "Alternate DNS" section, specify the IP address of the secondary DNS address.

  13. Click on Save  button.

After completing the steps, the device will still get its TCP/IP address from the DHCP server, but will use the specified DNS addresses.

In future updates, Windows 10 will make DNS settings more accessible on the "Properties" page, including the ability to enable DNS over HTTPS (DoH) to make online connections a little more private.

Change the DNS address using the control panel

Alternatively, you can also use Control Panel to change DNS settings in Windows 10.

To change the Windows 10 DNS address using Control Panel, follow these steps:

  1. To open Control Panel.

  2. click on Networks and the internet.

  3. click on Networks and shared resources.

  4. Click on Change the adapter settings left panel option.

    Control Panel Network and Sharing Center
    Control Panel Network and Sharing Center

  5. Right click on the network adapter and select the property option.

  6. Select the Internet Protocol Version 4 (TCP/IPv4) option.

  7. Click on property button.

    Control Panel Network Adapter Properties
    Control Panel Network Adapter Properties

  8. In the section "Use the following DNS server addresses", define preferred DNS serverwhich is the IP address of the server providing DNS resolutions (for example, 8.8.8.8)

    Change DNS server addresses using Control Panel
    Change DNS server addresses using Control Panel

  9. (Optional) Set the Alternate DNS serverwhich is the DNS address your device will use if it can't access the preferred server address.

  10. Click on All right button.

  11. Click on To close button.

After completing the steps, you can open your web browser and try loading a website to see if the new settings work.

Whichever method you use, make sure your DNS server IP address is correct to allow for proper resolution. Otherwise, you won't be able to connect to the Internet.

Although we focus on Windows 10 in this guide, you can use the Command Prompt and Control Panel methods in Windows 8.1 and Windows 7.

If you need more help assigning a DNS address in Windows 10, be sure to ask Pure infotech forum.

September 15, 2020 Patch: Originally released in January 2019 and updated in September 2020 to reflect new changes.

Rate this post

If you want to know other articles similar to How to change DNS address to resolve faster in Windows 10 you can visit the category Tutorials.

Leave a Reply

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

Go up Change privacy settings