By default, Windows uses the DNS servers used by your Wi-Fi or LAN router. However, if these DNS servers are slow and unreliable, you may want to upgrade to a better and faster DNS server on Windows 11.
Fortunately, changing DNS servers on Windows is relatively quick and painless. In this article, we will tell you 3 different ways to change DNS server on Windows 11. So, let’s get started.
When should you change it
Under ideal conditions, you wouldn’t need to change DNS servers on Windows. However, if you are experiencing abnormally slow internet speeds and errors like DNS server not responding, it is a good idea to switch to public DNS servers on Windows 11.
Moreover, using the default DNS server also endangers your privacy, as your Internet Service Provider (ISP) may record your browsing history.
So, if you are looking for better internet speed or want to protect your privacy, changing your DNS servers would be a good idea. Some of the best options for switching to a free public DNS server are Cloudflare, OpenDNS, and Google.
1. Change DNS Server Using Settings App
Windows 11 gives you access to all important settings with the new and improved Settings app, unlike its previous iterations. Here is how you can use it to change the DNS server on your PC.
Step 1: Press Windows Key + I on your keyboard to launch the Settings app.
2nd step: Navigate to the Network & Internet tab on your left.
Step 3: Click your current Internet connection type, Wi-Fi or Ethernet.
Step 4: Go to hardware properties.
Step 5: Click the Edit button next to the DNS server assignment.
Step 6: In the Edit DNS Settings window, use the drop-down menu to select Manual.
Step 7: Enable the IPv4 or IPv6 setting, depending on the type of IP connection you want to change.
Step 8: We will use Google’s public DNS servers. So you can enter 184.108.40.206 in the preferred DNS field and 220.127.116.11 in the Alternate DNS field.
You can also use the drop-down menu to enable DNS over HTTPS for better privacy and security.
Step 9: Press the Save button to apply the changes.
It is more or less that. You will find your DNS server specified under Wi-Fi properties.
2. Change DNS Server Using Control Panel
If you prefer the old-fashioned way, you can also use Control Panel to change the DNS servers on your PC. Here’s how.
Step 1: Click the Search icon on the taskbar, type control Panel, and select the first result that appears.
2nd step: Use the drop-down menu in the upper right corner to change the display type to large or small icons.
Step 3: Go to Network and Sharing Center.
Step 4: Click Change adapter settings on your left.
Step 5: Right-click on your Internet connection and select Properties.
Step 6: Under Network, double-click “Internet Protocol Version 4 (TCP/IPv4)” to open its properties.
Step 7: Select the “Use the following DNS server addresses” option. Enter the primary and secondary DNS addresses in the Preferred DNS Server and Alternate DNS Server fields, respectively.
Step 8: Check the ‘Validate settings on exit’ box and click OK.
And you are good to go. Windows will immediately start using the specified DNS settings.
3. Change DNS Server Using Command Prompt
If you are an experienced user and familiar with Windows command prompt utility, you can run a few commands to change the DNS server on your PC. Here’s how.
Step 1: Press Windows Key + S to open Windows Search. Type ordered and click Run as administrator.
2nd step: In the console, type the following command and press Enter.
netsh interface show interface
Step 3: Note the name of your current network connection.
Step 4: Run the following command to configure the primary DNS server.
netsh interface ip set dns name="AdapterName" source="static" address="X.X.X.X"
Replace AdapterName in the command above with the name of your network connection noted in step 3. Replace XXXX with the actual address of the DNS server you want to use.
Step 5: Similarly, run the following command to configure another DNS server.
netsh interface ip add dns name="ADAPTER-NAME" addr="X.X.X.X" index=2
Again, replace AdapterName in the command above with the actual name of your network connection. Replace XXXX with the secondary address.
You can confirm the DNS server change by viewing your current network configuration. To do this, run the following command.
It’s time to change
Changing the DNS server is something you may need to do when you are having internet connection issues on your PC. And it’s nice to see how Windows offers different ways to make this change.