How to change DNS Windows

Who I am
Valery Aloyants
Author and references

Change the DNS settings, increases the speed of the Internet. You may not know this, but there are many protocols and processes that work in the background and make sure that your computer can perform all the functions it is programmed for. An important component of accessing websites are the DNS, which stands for Domain Name System.

Learn more about the news: How to resolve DNS Server Not Responding Error

Essentially, DNS translates web addresses that are easy for users to remember (e.g. into IP addresses that browsers can use to access sites (e.g. is the IP address owned by Wikipedia).

It is important to note that DNS is not managed by a system. In a corporate environment, it may be managed by a firewall or server, while at home it is likely managed by your ISP.

However, you can change your DNS settings in any way you want. This could benefit you by providing you with greater stability, better performance, and / or security if your current DNS configuration isn't up to par.

When you change DNS servers in Windows, you change the servers that Windows uses to translate host names (such as to IP addresses (such as 2xx.18x.1xx7.40). Since DNS servers are sometimes the cause of certain types of Internet problems, changing DNS servers can be a good troubleshooting step.

Since most computers and devices connect to a local network via DHCP, there are probably DNS servers automatically configured in Windows for you already. What you will do here is override these automatic DNS servers with others of your choice.

Below are the steps required to change the DNS servers used by Windows. However, the procedure is slightly different depending on the version of Windows you are using.

How to change DNS Windows

On Windows, this is achieved by typing first Network in the Start menu to access the network and sharing center. Next, click on your network name on the top right of Connections and choose Property in the resulting window.

To access your DNS settings, you will need to double-click Internet protocol version 4. If IPv6 is enabled, make the same changes to that entry as well.

At the bottom of the IPv4 or IPv6 window, you will probably see the DNS server address configured automatically from your ISP. Go ahead and select Use the following DNS server addresses, to enter yours.

Now, you will actually need to provide a DNS address. Thankfully, there are many available. Take a look at the list of public DNS servers there are many more than you could ever want, or choose one of these two options, the most used.

  • Google DNS  - for primary, for secondary.
  • OpenDNS  - primary, secondary.

Depending on where you live, change Windows DNS it may also allow you to access blocked content. Try and let me know what you think!

It might interest you: How to set up OpenDns DNS on your pc or laptop

How to change Windows DNS with command prompt

You can also change the preferred DNS server in Windows via Command Prompt. It's definitely not as simple as following the instructions above because you have to issue commands via the command line, but it's doable.

  • Open an elevated command prompt.
  • Type netsh I awarded Submit.
  • When you see netsh>, type interface ip show config, then press Submit.
  • Find the network connection for which you want to change the DNS server.
  • Type this command followed by Enter, but be sure to replace Ethernet0 with the name of your connection and with the DNS server you want to start using.

interface ip set dns “Ethernet0” static

  • The command was entered successfully if netsh> is displayed again. You can now close the command prompt.

Remember that setting up custom DNS servers for your computer only applies to that computer, not all other devices on your network. For example, you can change Windows DNS with one set of DNS servers and use a completely different set on desktop, phone, tablet, etc.

Also, remember that DNS settings apply to the “closest” device they are configured on. For example, if you use a set of DNS servers on your router, your laptop and phone will also use them when they connect to Wi-Fi.

However, if the router has its own set of servers and the laptop has its own separate set, the laptop will use a different DNS server from the phone and other devices that use the router. The same is true if your phone uses a custom set.

add a comment of How to change DNS Windows
Comment sent successfully! We will review it in the next few hours.