Operating System

How to Set Custom DNS Settings on Windows 11 Devices?

The DNS of your Wi-Fi router or LAN is used by Windows by default. But, in the case when that DNS server is sluggish or untrustworthy, you may want to change it to a faster and better one.

In this article, we are going to illustrate How to set different DNS settings on devices running Windows 11. To learn more, read the following article.

When Should I Change the DNS Server?

When you are experiencing a slow internet speed or some errors like the DNS server not responding, it is time to switch your DNS server on Windows 11.

Also, if you use the default DNS server, your privacy will be at risk since they have access to your browsing history.

So, changing your DNS server for a better internet speed or protection of your privacy is a great idea. Here is a list of some free public DNS servers:

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

3 Methods to Change DNS Server on Windows 11

1.      Using Settings

You can easily access all the crucial settings through the Settings app. To change the DNS server via Settings, walk through the steps below:

  • Hold Windows + I hotkey to open Settings.
  • Go to the Network & Internet section, which is located at the left side of the window.
Change DNS Server on Windows 11 using Settings
  • Select your current Internet connection.
Change DNS Server on Windows 11 using Settings
  • Select the Hardware properties option.
Change DNS Server on Windows 11 using Settings
  • Hit the Edit button of the DNS server assignment option.
Change DNS Server on Windows 11 using Settings
  • Once the Edit DNS settings window pops up, select Manual from the drop-down menu.
Change DNS Server on Windows 11 using Settings
  • Now, turn on IPv4 or IPv6, depending on what type of IP connection you desire to have.
Change DNS Server on Windows 11 using Settings
  • Enter 8.8.8.8 for the Preferred DNS field and 8.8.4.4 for the Alternate DNS field if you want to use google DNS server.
Change DNS Server on Windows 11 using Settings
  • Besides, for superior privacy and security, you can enable DNS over HTTPS through its drop-down menu.
  • To save changes, hit the Save button.
Change DNS Server on Windows 11 using Settings
  • Now, navigate to the Wi-Fi properties section. Here, you can find your specified DNS server.
Change DNS Server on Windows 11 using Settings

2.      Using Control Panel

You can also use Control Panel to change the DNS server on Windows 11. To do so, follow the steps below:

1.Hit on the Search icon, which is located on the Taskbar.

2.Type the control panel and choose the first option from the result.

Change DNS Server on Windows 11 using  Control Panel

3.Select Large icons or Small icons from the drop-down menu of the View by option.

Change DNS Server on Windows 11 using  Control Panel

4.Go to the Network and Sharing Center section.

Change DNS Server on Windows 11 using  Control Panel

5.Select the Change adapter settings option from the left-side pane.

Change DNS Server on Windows 11 using  Control Panel

6.Now, right-click on your internet connection.

7.Choose Properties from the menu.

Change DNS Server on Windows 11 using  Control Panel

8.Once the Wi-Fi Properties window pops up, select the Internet Protocol Version 4 (TCP/IPv4) option and then hit the Properties button.

Change DNS Server on Windows 11 using  Control Panel

9.In the pop-up window, checkmark the Use the following DNS server addresses option.

10.Enter 8.8.8.8 and 8.8.4.4 for the Preferred DNS server and Alternate DNS Server fields,respectively.

Change DNS Server on Windows 11 using  Control Panel

11.Checkmark the Validate settings upon exit option.

12.Hit the OK button.

Change DNS Server on Windows 11 using  Control Panel

13.From now on, Windows will use that specific DNS setting.

3.      Using Command Prompt

You can use Command Prompt to change the DNS server settings with a few commands. To do that, use the following steps:

1.Hold Windows + S hotkey to open Windows Search.

2.Type cmd and select the Run as administrator option.

Change DNS Server on Windows 11 using  Command Prompt

3.Once the Command Prompt window pops up, copy and paste the following command: netsh interface show interface

Change DNS Server on Windows 11 using  Command Prompt

4.Write down the name of your current internet connection.

Change DNS Server on Windows 11 using  Command Prompt

5.To set up the Primary DNS server, copy and paste the following command: netsh interface ip set dns name=”AdapterName” source=”static” address=”X.X.X.X”

6.In the command above, replace AdapterName and X.X.X.X with the name of your current internet connection and the real address of your desired DNS server, respectively.

Change DNS Server on Windows 11 using  Command Prompt

7.To set up an alternate DNS server, copy and paste the following command: netsh interface ip add dns name=”ADAPTER-NAME” addr=”X.X.X.X” index=2

8.Once again, replace AdapterName and X.X.X.X with the name of your current internet connection and the secondary address of your desired DNS server, respectively.

Change DNS Server on Windows 11 using  Command Prompt

9.Copy and paste the following command to see the changes in your DNS server: ipconfig /all

Change DNS Server on Windows 11 using  Command Prompt

The Bottom Line

When you have faced an issue with internet connection, you need to change the DNS server of your device. Here, we describe three methods to change the DNS server of your device on Windows 11. Which method do you prefer? Do you know any other methods to change the DNS server? Share your ideas with us.

Kimia Sh

Kimia is an accomplished author and technology enthusiast with a keen interest in writing about Windows tips and tricks. Born and raised in Tehran, Iran, Kimia always had a fascination for technology and its ever-evolving capabilities. After completing her studies in Computer Science, Kimia started working in the software development industry, where she gained extensive experience and technical expertise. Her passion for writing about technology led her to create a blog focused on providing Windows users with useful tips and tricks. Kimia's blog quickly gained popularity, and she became known for her ability to communicate technical concepts in an accessible and easy-to-understand manner. Her articles are praised for their clarity and practicality, and she has developed a loyal following of readers who look to her for advice on getting the most out of their Windows systems. In addition to writing about technology, Kimia is also an accomplished software developer and has contributed to the development of numerous applications and software programs. Her technical expertise gives her a unique perspective on the challenges faced by Windows users, and she is always seeking out new ways to make their lives easier and more efficient. When she's not working on her blog or developing software, Kimia enjoys hiking, reading, and spending time with her family and friends. She is also an avid traveler and loves to explore new cultures and cuisines. Overall, Kimia is a talented author and technology expert who is passionate about sharing her knowledge with others. Her dedication to providing practical, useful advice to Windows users has made her a respected figure in the industry, and she continues to inspire and educate others through her work on her blog and beyond.

Leave a Reply

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

Back to top button