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: 126.96.36.199 and 188.8.131.52
- Cloudflare: 184.108.40.206 and 220.127.116.11
- OpenDNS: 18.104.22.168 and 22.214.171.124
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.
- Select your current Internet connection.
- Select the Hardware properties option.
- Hit the Edit button of the DNS server assignment option.
- Once the Edit DNS settings window pops up, select Manual from the drop-down menu.
- Now, turn on IPv4 or IPv6, depending on what type of IP connection you desire to have.
- Enter 126.96.36.199 for the Preferred DNS field and 188.8.131.52 for the Alternate DNS field if you want to use google DNS server.
- Besides, for superior privacy and security, you can enable DNS over HTTPS through its drop-down menu.
- To save changes, hit the Save button.
- Now, navigate to the Wi-Fi properties section. Here, you can find your specified DNS server.
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.
3.Select Large icons or Small icons from the drop-down menu of the View by option.
4.Go to the Network and Sharing Center section.
5.Select the Change adapter settings option from the left-side pane.
6.Now, right-click on your internet connection.
7.Choose Properties from the menu.
8.Once the Wi-Fi Properties window pops up, select the Internet Protocol Version 4 (TCP/IPv4) option and then hit the Properties button.
9.In the pop-up window, checkmark the Use the following DNS server addresses option.
10.Enter 184.108.40.206 and 220.127.116.11 for the Preferred DNS server and Alternate DNS Server fields,respectively.
11.Checkmark the Validate settings upon exit option.
12.Hit the OK button.
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.
3.Once the Command Prompt window pops up, copy and paste the following command: netsh interface show interface
4.Write down the name of your current internet connection.
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.
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.
9.Copy and paste the following command to see the changes in your DNS server: ipconfig /all
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.