5 Different Ways to Change DNS Server Settings on Windows 11

5 Different Ways to Change DNS Server Settings on Windows 11

A DNS (Domain Name System) server translates the website domains (Google.com, Yahoo.com, etc) you enter in your browser’s URL bar into IP addresses. Without DNS servers, you wouldn’t be able to open websites in your browser using its domain name.

Your default DNS server is typically the one given to you by your ISP (Internet Service Provider). However, your ISP’s DNS server might not be among the fastest and most reliable ones. If you would prefer to have a different one, you can change your server to numerous alternatives.

Here are five alternative ways you can change DNS server settings

1. How to Change DNS Servers in Settings

The Settings menu includes a wide variety of network and internet options for you to configure. So, it’s not surprising you can change your DNS server in Settings. To do so, follow the steps below.

  1. Open Settings by clicking that app on the Start menu.
  2. Select Network and Internet in Settings.
  3. Click the Wi-Fi or Ethernet navigation option.
  4. Then select your Wi-Fi or Ethernet network adapter in Advanced network settings.
  5. Next, click the View additional properties option.
  6. Press the Edit button next to DNS server assignment.
    The Edit button for DNS server assignment
  7. Select the Manual option.
  8. Turn on the IPv4 option if it’s not already.
  9. Enter new servers in the Preferred DNS and Alternative DNS boxes.
    The Edit DNS settings options
  10. Click the Save button.

MAKEUSEOF VIDEO OF THE DAY

Read also: Why Using Third-Party DNS Servers Is More Secure

2. How to Change Your DNS Server in the Control Panel

Although Microsoft is gradually sidelining the Control Panel, the CP still includes many handy settings. It includes a Network Connections applet, from which you can change adapter settings. You can change your DNS server via that applet as follows:

  1. Press Win + X, which will bring up the Power User menu. Select Run on that menu.
    The WinX menu
  2. Type Control Panel in Run, and press the OK button.
  3. Select Large icons on the View by drop-down menu.
    The Control Panel
  4. Click Network and Sharing Centre in the Control Panel.
  5. Then click the Change adapter settings option in Network and Sharing.
  6. Right-click your internet network adapter and select Properties.
    The Properties option
  7. Select Internet Protocol Version 4 (TCP/IPv4) on the Networking tab, and click the Properties button.
  8. Click the Use the following DNS server addresses radio button.
  9. Input preferred and alternative DNS addresses for a server within the DNS server boxes.
    The Use the following DNS server addresses option
  10. Press the OK buttons on the IPv4 and properties windows.


3. How to Change DNS Servers With the Command Prompt

If you prefer to utilize the Command Prompt, you can change your DNS server with that instead. The Command Prompt has a Netsch command-line utility you can utilize for that purpose.

Here is how to change DNS server settings with Netsch:

  1. Open the search utility with the Win + S hotkey.
  2. To find Command Prompt, input cmd in the search text box.
  3. Then select Run as administrator for the Command Prompt search result.
  4. To view internet source names, input this command and press Enter:
    netsh interface show interface
  5. Note down your currently connected network interface listed there.
    The netsch interface command
  6. Then input this netsch command and press Return:
    netsh interface ipv4 set dnsservers "Interface Name" static preferred-DNS-address primary
  7. To specify an alternative DNS server address, enter this command and press Return:
    netsh interface ipv4 add dnsservers "Interface Name" alternate-DNS-address index=2


You will need to change the alternative-DNS-address, preferred-DNS-address, and “Interface Name” details in those commands with actual DNS server address and interface name details. For example, netsch commands to change to Google DNS server for a Wi-Fi interface would look like this:

netsh interface ipv4 set dnsservers "Wi-Fi" static 8.8.8.8 primary
netsh interface ipv4 add dnsservers "Wi-Fi" 8.8.4.4 index=2

The above commands change the DNS server for IPv4. If you utilize IPv6, you’ll need to replace ipv4 in those commands with ipv6 as shown in the screenshot directly below.


The change DNS Command Prompt command

4. How to Change DNS Servers With PowerShell

Windows PowerShell is an alternative command-line interpreter you can change DNS server settings with. However, the PowerShell commands you’ll need to enter to do so are not the same as those for the Command Prompt method.


You can change your DNS server with the Set-DNSClientServerAddress command as follows:

  1. Bring up Windows 11’s search box.
  2. Type PowerShell in that search box.
  3. Click the PowerShell search result’s Run as administrator option.
  4. First, input the following PowerShell command and press Enter:
    Get-DnsClientServerAddress
  5. Note down the InterfaceAlias detail for your internet connection (Wi-Fi or Ethernet).
    The GetDnsClientServerAddress command
  6. To change your DNS server, input this command:
    Set-DNSClientServerAddress "InterfaceAlias" –ServerAddresses ("preferred-DNS-address", "alternate-DNS-address")
  7. Press the Enter key to execute the command.

The change DNS address PowerShell command

The Set-DNSClientServerAddress command specified above won’t change your DNS server unless you modify the alternate-DNS-address, InterfaceAlias, and preferred-DNS-address details in it. Replace those details with an actual alternative DNS address, InterfaceAlias, and preferred DNS address. For example, a Wi-Fi Google DNS command should look like this:

Set-DNSClientServerAddress "Wi-Fi" –ServerAddresses ("8.8.8.8", "8.8.4.4")

5. How to Change DNS Servers With DNS Jumper

There are also numerous third-party software packages with which you can change your DNS server settings. DNS Jumper is a freely available portable utility you can utilize on any Windows platform. The good thing about Jumper is that it enables you to select 36 different servers. So, you don’t need to look up addresses to change servers with that program.

Here is how to change your DNS server settings with DNS Jumper:

  1. Open the DNS Jumper webpage.
  2. Click Download at the bottom of that page.
  3. Open File Explorer (press its Win + E keyboard shortcut).
  4. Next, open up the folder that includes the DNS Jumper ZIP.
  5. Select File Explorer’s Extract all option.
    The Extract all option
  6. To choose a different extraction path, click the Browse button.
  7. Select the Show extracted files when complete option on the Extract Compressed window.
    The Show extracted files when complete checkbox
  8. Finally, click Extract to view Jumper’s extracted folder.
  9. Double-click DnsJumper to open the window in the snapshot directly below.
    The DNS Jumper window
  10. Click the Choose default DNS server drop-down menu.
  11. Then choose a server option there.
    The Choose a DNS Server drop-down menu
  12. If the server you want isn’t available on the drop-down menu, click the Custom DNS Server checkbox. Then you can manually enter primary and alternative addresses in the boxes.
  13. Press the Apply DNS button.


Remember that you can also set up a desktop shortcut for DNS Jumper. To do that in Windows 11, right-click DnsJumper in its extracted folder and select Show more options. Select Send to > Desktop on the classic context menu.

Read also: What Is a Desktop Shortcut and How Does It Work?

Alternative DNS Server Addresses

If you don’t utilize DNS Jumper, however, you’ll need to look up and enter addresses for different servers. Google, Cloudflare, Quad 9, CleanBrowsing, and OpenDNS are five popular alternatives to default DNS servers. To save you some searching, these are the IPv4 addresses for those DNS servers.

  • Google: 8.8.8.8 (primary) 8.8.4.4 (alternative)
  • OpenDNS: 208.67.222.222 (primary) 208.67.220.220 (alternative)
  • Cloudflare: 1.1.1.1 (primary) 1.0.0.1 (alternative)
  • CleanBrowsing: 185.228.168.9 (primary) 185.228.169.9 (alternative)
  • Quad9: 9.9.9.9 (primary) 149.112.112.112 (alternative)

Read also: The Best DNS Servers for Improved Online Safety

Give an Alternative DNS Server a Try

Overall, it’s relatively straightforward to change your DNS server in Windows 11 with the above methods. Changing your server with DNS Jumper is probably the quickest and most straightforward method once you’ve downloaded and extracted its ZIP archive. However you choose to do it, you might find the likes of Google Public DNS, OpenDNS, Cloudflare, and co to be faster and more reliable servers than your current one.


whats-dns
What Is a DNS Server and Why Is It Unavailable?

A DNS server matches a host and domain name with its server IP address. When a DNS server is unavailable, you can’t reach the URL.

Read Next


About The Author

Leave a Comment

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