How to Change DNS Settings in Windows 11?

How to Change DNS Settings in Windows 11?
We independently review everything we recommend. When you purchase through links on our site, we may earn an affiliate commission, which help support our testing. Learn more!

Domain Name System (DNS) server plays a significant role in connecting with the internet.

Windows has the same DNS server as Wi-Fi and LAN used to connect with the internet. They also mentioned that most Windows users use the default DNS server provided by the internet service providers because they need to learn that the ISP can track their data. 

Default DNS servers can slow down your internet speed, and you might face security issues like DNS hijacking, cache poisoning, etc. To prevent this type of security breach and improve internet speed, you should use a custom DNS server. Read this article to learn how to change DNS settings in Windows 11. 

We Covered- ways to Change DNS Settings in Windows 11

What is DNS in Windows 11?

A Domain Name System (DNS) is called a Phonebook for the internet.

Let’s assume that you tried to open a website on your Windows 11 laptop; then, you will automatically connect to a DNS server to find the IP address of the website you want to open. Most users can’t remember a website’s complex IP address, so we need the DNS server. 

Different types of DNS servers are available, like ISP servers, OpenDNS servers, Cloudflare, etc. Every DNS service provider claims they are the fastest and more reliable than others.

A few servers also provide the best security protocols, like DNS-over-TLS.   

Recently Beebom released an article that mentioned that Windows 11 users should change their default DNS server to the custom DNS server because default servers are not secure and ISP can track your data.

Custom DNS servers will not log your queries, provide faster information retrieval, and have the best security protocols.  

Free DNS Servers for Windows 11

These days there are hundreds of DNS servers available on the internet. A limited number of servers are available for free of cost, and most of the servers ask for subscription fees. Don’t worry. Here I will mention a few free and reliable DNS servers for your Windows 11 laptop. 

Cloudflare

  • Preferred DNS: 1.1.1.1
  • Alternative DNS: 1.0.0.1

Google

  • Preferred DNS: 8.8.8.8
  • Alternative DNS: 8.8.4.4

Open DNS

  • Preferred DNS: 208.67.222.222
  • Alternative DNS: 208.67.220.220

Comodo Secure DNS

  • Preferred DNS: 8.26.56.26
  • Alternative DNS: 8.20.247.20

Quad9 DNS

  • Preferred DNS: 9.9.9.9
  • Alternative DNS: 149.112.112.112

Change DNS Server from the Settings  

There are many different methods to change the DNS server, and between all those methods, it is the simple and easiest way to modify your DNS server. Follow the steps below to change the DNS server in your Windows 11.

  • First, press the “Windows button” and “I button” at the same time then a “Settings menu” will appear on the screen.

Windows-11-settings
Credit: PCVenus

On the left-side corner, you will find the “Network & Internet” tab; click on it.

Network and Internet Settings of a Computer
Image Credit: PCVenus

On the right side of the screen, you can see a “Wi-Fi” option set to “ON.”

Wi fi Settings turn on

  • Now scroll downwards to find the “Hardware Properties” tab, then click on it to open. 
  •  After that, look for “DNS server assignment” then, on the right side, you can see an “Edit” option tap

DNS Edit Settings

  • on it. By default, it is set to Automatic, which means internet service providers choose the DNS server. 
  •  Now an ‘Edit DNS settings” box will appear on the screen there, and you will see the “Automatic (DHCP)” option tap on it, then set it to “Manual.” 

DNS Edit Settings automatic and manual

  •  After that, turn on either “IPv4 or IPv6”; it depends on your need. 
  •  Above, I mentioned a few free-of-cost DNS servers, so I chose one and typed the IP address here in Preferred DNS and Alternative DNS. For example, if I choose the Google DNS server, Preferred DNS is 8.8.8.8, and Alternative DNS is 8.8.4.4.
  • Isn’t it quite simple? 

DNS Edit Settings automatic and manual ip4

  • Now look for the “Alternative DNS encryption” and “Preferred DNS encryption” options and set these options to the “Encrypted only option.  
  •  Below you can see a “Save” option” tap on it. Now your DNS server has been changed. 

Change DNS Server from the Control Panel

You can also have the option to change the server from the Control Panel. Don’t worry; the process is quite simple; follow a few simple steps to change the DNS server. 

  • First, press the “Windows button” and “R button” at the same time then a Run box will pop up on the screen.
  • Now, type “ncpa.cpl” then you can see an “Ok” option tap on it.
  • After that, a “Network Connection” window will pop up on the screen. It will directly open the “Network & Internet” tab inside the Control Panel.
  •  Now look for a “Wi-Fi” option, then right-click on it.

DNS server address

  • After that, a menu will appear on the screen there find the “Properties” option then tap on it. 
  • Now a “Wi-Fi Properties” window will pop up on the screen; there, scroll downwards and look for the “Internet Protocol Version 4 (TCP/IPv4)” option, then tap on it.
  • After that, another window will appear on the screen; look for the “Use the following DNS server address” option, then tap on it.
  • Now look for “Preferred DNS server” and “Alternative DNS server,” which I already mentioned above; just choose a server then paste it here. For example, let’s assume I want to use Cloudflare’s DNS server. Then Preferred DNS is 1.1.1.1 and Alternative DNS is 1.0.0.1; isn’t it quite simple?
  • After completing, all these steps, tap on the “Ok” button. Now DNS server has been changed in Windows 11.

Change DNS Server by Using Command Prompt (CMD)

This is another way to change the DNS server in Windows 11 laptops. It will take a few simple steps to complete, so follow the procedure mentioned below.

  • On the Taskbar, you can see a “Search box” tap on it, then type “cmd,” then a menu will appear on the screen. Now on the right side of the menu, you can see a “Run as administrator” option tap on it.

CMD-under-Windows-RUN-settings
Image Credit: PCVenus

  • Now a window will pop up on the screen there, and you have to copy-paste the code of Preferred DNS as well as Alternative DNS. For example, I want to use the Google server, so instead of typing 8.8.8.8 as Preferred DNS, copy and paste the code- “netsh interface ipv4 set DNS servers Wi-Fi Static preferred primary”.

netsh interface ipv4 set DNS servers Wi-Fi Static preferred primary”

  • Instead of typing 8.8.4.4 as Alternative DNS, copy and paste the code- “netsh interface ipv4 add DNS servers Wi-Fi Alternative index=2”. After this, press the “Enter” button.
  • Now go to “Settings” on the left side; you can find a “Network & Internet” tab, then tap on it to open.
  •  Now scroll downwards then you can see a “Hardware Properties” option tap on it to open the tab.  

There you can see that the “DNS server assignment” is updated to manual and connected to the Google server. If you want to reset the DNS settings, copy and paste the code- “netsh interface IP set DNS “Local Area Connection” DHCP” in the Command Prompt.  

Change DNS Server by Using PowerShell 

You can also change the DNS server by using the PowerShell method. Follow a few simple steps to change the DNS server in your Windows 11 laptop. 

  • On the Taskbar, you can see a “Search box”; type “PowerShell,” then a menu will pop up on the screen. Now look for the “Run as Administrator” option, then tap on it to open the PowerShell window.  

Windows-10-Powershell

  • fter that, look for the InterfaceAlias and InterfaceIndex below these options; copy & paste the code- DnsClientServerAddress -InterfaceIndex N -ServerAddresses (“Preferred, “Alternative “) then press “Enter.” Now DNS server has been changed.

  • Remember that you need to replace the value; for example, if you want to connect to the Google server, then instead of “Preferred,” just put the value 8.8.8.8, and instead of “Alternative,” just put the value 8.8.4.4.

Change DNS Server in Windows 11 by using DNS Jumper.

If you think all the methods mentioned earlier are complicated, you can use a third-party app to change the DNS server. If you ask me which tool you should use, I suggest trying the “DNS Jumper.” you can download this app from the Microsoft Store for free.

  • First, download the DNS Jumper app and double-click on it to open it.
  •  After that, you have to select a “DNS server” then, on the left side, you can see an “Apply DNS” tab then tap on it to change the server (Here, given all the DNS servers are free to use and secure).
  •  Now, the DNS server has been changed. You also have the option to customize the server.
  •  Below the “Choose a DNS Server” option, you can see a “Customize DNS Server” tap on it and type the IP address of the server to which you want to connect.

FAQs

What is DNS Server in Windows 11?


A DNS server is a tool where you can find the IP address of a website you want to connect. For example, let’s say that you type Google.com, then the DNS server looks for the IP address of the Google server and then tries to connect it.

Which Server Offers Lowest Latency in Windows 11?


Google and Cloudflare are the best in terms of internet speed and security.

Can We Change the DNS Server from Control Panel?


Yes, you can change the DNS server from Control Panel, and the process is also quite simple. Above, I already mentioned this method so you can check it out.


Final Words

In this article, we discussed different types of methods to change the DNS server in Windows 8, 10 and 11. I will suggest you try each method mentioned in this article to know which method works on your device.

If you are facing any problems in implementing these methods, then you can write in the comment box, and we will get back to you as soon as possible.

How to Change DNS Settings in Windows 11?
How to Change DNS Settings in Windows 11?

Ali

Ali

I am Ali, a Software Engineer and founder of PCVenus. I love the latest technology as well as digital marketing. Also, I love to write about the latest and upcoming technologies and gadgets. I love to travel around the world and learn new things.

We will be happy to hear your thoughts

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

PCVenus
Logo