How to change your DNS server in Windows 11

Who I am
Philippe Gloaguen

Author and references

Think you know all the ways to change DNS server settings? Think again. Here are some alternative ways to change it on Windows 11.

A DNS (Domain Name System) server translates website domains (,, etc.) entered in the 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 usually the one provided by your ISP (Internet Service Provider). However, your ISP's DNS server may not be the fastest and most reliable. If you prefer to have a different one, you can change your server with numerous alternatives.

Here are five alternative ways to change DNS server settings.

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 no surprise that you can change your DNS server in Settings. To do that, follow the steps below.

  • Open Settings by clicking on the app in the Start menu.
  • Select Rete and Internet in Settings.
  • Click on the navigation option Wi-Fi o Ethernet.
  • Then select your Wi-Fi or Ethernet network card in Advanced Network Settings.
  • Then, click on the option View additional properties.
  • Push the button Modification next to DNS server assignment .
  • Select the option Manual.
  • Enable the option IPv4 if it isn't already.
  • Enter new servers in the DNS boxes preferito e DNS alternative
  • Click the Save button.

How to change the DNS server in the control panel

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

  • Awards Win + X , which will bring up the Power User menu. Select Run in that menu
  • Type Panel control in Run and press the button OK .
  • Select Big icons in the drop-down menu View by
  • click on Connection Center of network and sharing in the Control Panel.
  • Then click on the option Change adapter settings on the Net and sharing.
  • Right-click on the Internet Network Adapter and select Property
  • Select Internet Protocol versione 4 (TCP / IPv4) in the card Network and click the button Property .
  • Click the button Use the following DNS server addresses option .
  • Enter the preferred and alternate DNS addresses for a server into the DNS server boxes
  • Press the OK buttons on the IPv4 and properties windows.

How to change DNS servers with command prompt

Here's how to change DNS server settings with Netsch:

  • Open the search utility with the hotkey Win + S.
  • To find the command prompt, enter cmd in the search text box.
  • Then select Run as administrator for the command prompt search result.
  • To view the names of the Internet sources, enter this command and press Submit :

    netsh interface show interface

  • Make a note of the currently connected network interface listed there.
  • Then enter this netsch command and hit Submit :

    netsh interface ipv4 set dnsservers "Interface Name" static preferred-DNS-address primary

  • To specify an alternate DNS server address, enter this command and press Submit :

    netsh interface ipv4 add dnsservers "Interface Name" alternate-DNS-address index=2

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

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

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

Come modificare i server DNS con PowerShell

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

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

  • Displays the Windows 11 search box.
  • Type PowerShell in that search box.
  • Click the Run as administrator option of the PowerShell search result.
  • First, enter the following PowerShell command and hit Enter:


  • Write down the InterfaceAlias ​​details for your Internet connection (Wi-Fi or Ethernet).
  • To change your DNS server, enter this command:

    Set-DNSClientServerAddress "InterfaceAlias" –ServerAddresses ("preferred-DNS-address", "alternate-DNS-address")

  • Press the button Submit to execute the command

The Set-DNSClientServerAddress command specified above will not change the DNS server unless you change the details alternative DNS-address , InterfaceAlias e preferred DNS-address in it. Replace these details with an actual alternate DNS address, InterfaceAlias, and a preferred DNS address. For example, a Google DNS Wi-Fi command should look like this:

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

How to change DNS servers with DNS jumper

There are also a number of third-party software packages with which DNS server settings can be changed. DNS Jumper is a freely available portable utility that you can use on any Windows platform. The good thing about Jumper is that it allows you to select 36 different servers. So, you don't need to look up the addresses to switch servers with that program.

Here's how to change DNS server settings with DNS Jumper:

  • Open the web page of the.
  • Click on Download at the bottom of that page.
  • Open File Explorer (press the keyboard shortcut Win + E ).
  • Then, open the folder which includes the DNS Jumper ZIP.
  • Select the option Extract everything of File Explorer.
  • To choose a different extraction path, click the button Shop by Department .
  • Select the option Show extracted files on completion in the Extract compressed window.
  • Finally, click Extract to view the extracted folder of Jumper.
  • Double-click DnsJumper to open the window in the snapshot directly below
  • Click on the drop-down menu Choose the default DNS server.
  • Then choose a server option there
  • If the server you want isn't available in the drop-down menu, click the checkbox Custom DNS Server. Then you can manually enter the primary and alternate addresses in the boxes.
  • Push the button Apply DNS .

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

Alternate DNS server addresses

If you don't use the DNS jumper, however, you'll need to search for and enter addresses for different servers. Google, Cloudflare, Quad 9, CleanBrowsing, and OpenDNS are five popular alternatives to default DNS servers. To save yourself some research, these are the IPv4 addresses for those DNS servers.

  • Google : (primary) (alternative)
  • OpenDNS : (primary) (alternative)
  • CloudFlare : (primary) (alternative)
  • CleanBrowsing : (primary) (alternative)
  • Quad9 : (primary) (alternative)


Overall, it is relatively easy to change the DNS server in Windows 11 with the above methods. Changing your server with DNS Jumper is probably the quickest and easiest method once you have downloaded and extracted its ZIP archive. However you choose to do this, you may find servers like Google Public DNS, OpenDNS, Cloudflare, and other servers that are faster and more reliable than the current one.

add a comment of How to change your DNS server in Windows 11
Comment sent successfully! We will review it in the next few hours.