Changing DNS settings in Windows 10

Changing DNS settings in Windows 10

There are several ways of using safer and more private DNS servers and changing DNS settings that have been mentioned in this article.

After the user’s registration and internet buying, ISP (Internet Service Provider) changes necessary network settings as a part of the service (settings such as system address, domain name, or DNS). With these settings, the user can load his/her desired websites, have access to online services, and download different files. However, DNS servers are sometimes low-speed and not safe; Also, they are not so private. But several solutions or third-party companies can be used to improve the internet in Windows10.

What is DNS?

Domain Name System or DNS is a service (usually without any cost) that allows the user to type the desired name in the web browser load the desired webpage.

Every computer connected to a network (and internet) needs IP Address to connect with other devices; however, it’s not easy to keep these addresses in mind (e.g. IP Address is like This is where DNS comes in as a mechanism to translate user-friendly domain names like into understandable IP Addresses for computers.

By typing, you can have access to the desired site. But to run this command, in the background, the web browser sends a request for DNS servers to analyze the web site’s name and convert it to IP Address. When the address is found, the web browser downloads the content and shows the page.

Due to the speed of this process (done in milliseconds), users usually don’t see it happen. If the resolvers are not reliable, internet speed will decrease. In this condition, Windows 10 has provided the ability to change the DNS settings so that if the users want to use more private and faster servers, they can use it. In the following, you can read how to change the device’s DNS using Control Panel, Command Prompt, and settings application.

Changing DNS settings via Control Panel

To change the current DNS settings through network settings on the Control Panel, follow the steps below:

  1. Open Control Panel.
  2. Click on Network and Internet.
  3. Click on Network and Sharing Center.
  4. Click on Change adapter settings on the left panel.

Changing DNS settings 1

  1. Click on the Network interface that is connected to the internet and choose Properties.

Changing DNS settings 2

  1. Choose Internet Protocol Version 4 (TCP/Ipv4)
  2. Click on Properties

Changing DNS settings 3

  1. Click on Use the following DNS server addresses
  2. Type preferred and alternate addresses for DNS

Changing DNS settings 4

If you use Google Public DNS, OpenDNS, or CloudFare, you can apply the settings:

Google Public DNS: ,

OpenDNS: ,

CloudFlare: ,

Note: If you need more than two DNS addresses, you can click on Advanced, and in the DNS tab, you can add, edit, or remove your desired resolvers. You can even set your priorities in this tab.

  1. Click on OK
  2. Click on close

After completing these steps, the device will start with the DNS settings you applied.

Changing DNS settings using Command Prompt

If you don’t have access to Control Panel and working with commands is easier for you, you can use Command Prompt for changing DNS settings in Windows 10:

  1. Open start
  2. Search Command Prompt, right-click on the result and choose Run as administrator.
  3. Type below commands for changing network settings and then press Enter.


  1. Type this command for determining network adaptors name and press Enter:

Interface show interface

  1. Type this command to adjust the original DNS IP address and press Enter:

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

in the command line, replace the ADAPTER-NAME with the adaptor name of your network. Then, instead of x.x.x.x insert the IP address of your desired DNS server.

Changing DNS settings 6

If you use Google Public DNS, OpenDNS, or CloudFare, you can apply the settings:

Google Public DNS: ,

OpenDNS: ,

CloudFlare: ,

  1. Insert below command for adding the IP address of the replaced DNS, and press Enter:

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

Changing DNS settings 7

In the command section, replace ADAPTER-NAME with the network adaptor name you wrote in step 4 and then replace x.x.x.x with the desired secondary address.

Note: if you need to add more DNS addresses, you can repeat the above steps, except that, this time increase the number of index options by one. For example:

interface ip add dns name=”Ethernet1″ addr=”″ index=3

after completing the above steps, Windows 10 will use new DNS server addresses to convert domain names into numeric addresses that are understandable for the device.

Changing DNS using Settings

To change DNS settings through the Settings application in Windows 10, follow these steps:

  1. Open settings.
  2. Click on Network & Internet.
  3. Click on Ethernet (or Wi-Fi, depending on connection).
  4. Choose your network connection.

Changing DNS settings 8

  1. Click on the Edit button below the IP Settings.

Changing DNS settings 9

  1. Through the Edit IP settings menu, choose Manual.
  2. Activate the Ipv4 toggle.
  3. Choose preferred DNS and alternate DNS addresses

Changing DNS settings 10

If you use Google Public DNS, OpenDNS, or CloudFare, you can apply the settings:

Google Public DNS: ,

OpenDNS: ,

CloudFlare: ,

  1. Click on save.
  2. Restart your computer.

After completing these steps, new DNS settings will be applied and you can connect to the internet with new resolvers. Although using the Settings application for changing DNS is recommended, due to the designing errors that might be confusing for some people, it has been stated as the last priority. For example, when the changes are made, new settings will not be applied until the computer restarts or the current TCP / IP is updated. Furthermore, with this application, you cannot add more than two DNS addresses.


Also to use different resolvers of Windows 10, there are several ways to change DNS. For example, changing rooter settings or using third-party applications.

Users usually follow the above instructions when they want to customize one or two devices, or when they are in a public place and want to use different DNS servers. However, changing DNS on work-computers is not recommended because the new setting can make connection problems. Therefore, if you need to change DNS settings, you should talk to your network administrator.

Related Posts

Leave a Reply

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