How to Change DNS on Windows 11: A Step-by-Step Guide

If websites are loading slowly, certain domains are not opening, or your internet connection feels inconsistent, changing the DNS settings on Windows 11 may help. In this How to Change DNS on Windows 11: A Step-by-Step Guide, you’ll learn exactly how to change DNS servers using Windows 11 Settings, Control Panel, Command Prompt, and Windows PowerShell.

DNS, or Domain Name System, works like the internet’s phone book. When you type a website address such as example.com, your computer uses DNS to find the IP address associated with that domain. Your internet service provider normally assigns DNS servers automatically, but you can manually switch to another DNS provider.

Why would you want to do that? Alternative DNS services can sometimes provide faster lookups, better reliability, additional security features, or filtering options.

The good news is that changing DNS on Windows 11 is relatively simple. You don’t need to be a networking expert. Follow the methods below, and you can change your DNS configuration in just a few minutes.

Table of Contents

What Is DNS in Windows 11?

DNS stands for Domain Name System. It translates human-readable website names into IP addresses that computers can understand.

For example, when you enter a website address into your browser, your PC needs to discover where that website is hosted. DNS performs that lookup in the background.

Without DNS, you would generally need to remember numerical IP addresses instead of convenient domain names.

Think of DNS as a directory service. You know the name of the business, and DNS helps your computer find its address.

Why Change DNS Servers on Windows 11?

Your default DNS server may work perfectly well, but there are several reasons you might want to change it.

A different DNS service may provide:

  • Faster domain-name lookups
  • Better reliability
  • Additional privacy options
  • Security filtering
  • Protection against some known malicious domains
  • More consistent browsing
  • An alternative when your ISP’s DNS service has problems

However, changing DNS does not magically increase your internet connection’s maximum speed. Your download speed is primarily determined by your internet plan, network equipment, Wi-Fi quality, and other factors.

DNS mainly affects how quickly your computer resolves domain names.

Popular DNS Servers You Can Use

Several public DNS services are available. Always check the provider’s current documentation before configuring advanced features.

Here are some commonly used options:

DNS Provider Preferred DNS Alternate DNS
Cloudflare 1.1.1.1 1.0.0.1
Google Public DNS 8.8.8.8 8.8.4.4
Quad9 9.9.9.9 149.112.112.112

These are examples of IPv4 DNS addresses. If your network uses IPv6, you may also configure IPv6 DNS addresses provided by your chosen DNS service.

Before Changing DNS Settings

Changing DNS is generally straightforward, but it is smart to make a note of your current settings first.

You should also know which connection you’re using.

Windows 11 can have multiple network interfaces, including:

  • Wi-Fi
  • Ethernet
  • VPN adapters
  • Virtual network adapters
  • Mobile broadband adapters

If you change DNS on the wrong adapter, your active internet connection may not be affected.

If you’re using a VPN, remember that the VPN may apply its own DNS settings.

How to Change DNS on Windows 11 Using Settings

The easiest method for most users is through the Windows 11 Settings app.

Step 1: Open Windows Settings

Press Windows + I on your keyboard.

Alternatively, open the Start menu and select Settings.

Step 2: Open Network & Internet

In Settings, select Network & internet from the left-hand menu.

You’ll see options such as:

  • Wi-Fi
  • Ethernet
  • VPN
  • Mobile hotspot
  • Proxy
  • Advanced network settings

Choose the connection you’re currently using.

Step 3: Select Your Active Connection

If you’re connected through Wi-Fi, select Wi-Fi.

If you’re connected through a network cable, select Ethernet.

For Wi-Fi, open your connected network or its properties.

Step 4: Find DNS Server Assignment

Look for DNS server assignment.

It will normally be set to Automatic (DHCP).

Select Edit next to it.

Step 5: Change Automatic to Manual

A window will appear with a dropdown menu.

Change Automatic (DHCP) to Manual.

You’ll see switches for IPv4 and potentially IPv6.

Turn on IPv4.

Step 6: Enter Your DNS Addresses

Enter the DNS addresses you want to use.

For example, if you’re using Cloudflare DNS:

Preferred DNS: 1.1.1.1

Alternate DNS: 1.0.0.1

You may also see options related to DNS encryption.

Depending on your Windows 11 version and network configuration, you can select an available encrypted DNS option when supported.

Step 7: Save the Changes

Click Save.

Windows 11 will apply the new DNS configuration.

Try opening a few websites afterward to confirm that your connection still works normally.

How to Change DNS for Ethernet on Windows 11

If your computer uses a wired Ethernet connection, the process is very similar.

Open:

Settings → Network & internet → Ethernet

Then locate DNS server assignment.

Click Edit, select Manual, enable IPv4, and enter your preferred DNS addresses.

For example:

Preferred DNS: 8.8.8.8

Alternate DNS: 8.8.4.4

Click Save when finished.

If you switch between Ethernet and Wi-Fi, remember that each network adapter can have its own DNS configuration.

How to Change DNS on Windows 11 Using Control Panel

The Settings app is easier for most people, but Windows 11 still provides the traditional Control Panel method.

This is useful if you prefer the classic network configuration interface.

Step 1: Open Control Panel

Press Windows + R.

Type:

control

Press Enter.

Step 2: Open Network Settings

Select:

Network and Internet → Network and Sharing Center

Then select Change adapter settings.

Step 3: Find Your Network Adapter

You’ll see available network connections.

Look for the adapter you’re currently using.

For example:

  • Wi-Fi
  • Ethernet

Right-click your active connection and select Properties.

Step 4: Open Internet Protocol Version 4

Find:

Internet Protocol Version 4 (TCP/IPv4)

Select it and click Properties.

Step 5: Enter Custom DNS Addresses

Select:

Use the following DNS server addresses

Enter your preferred and alternate DNS addresses.

For example:

Preferred DNS server: 1.1.1.1

Alternate DNS server: 1.0.0.1

Step 6: Apply the Configuration

Click OK.

Then click Close on the remaining network properties window.

Your computer should now use the new DNS servers for that adapter.

How to Change DNS Using Command Prompt

Advanced users can change network configuration from Command Prompt.

First, open Command Prompt as administrator.

Press Start and search for Command Prompt.

Select Run as administrator.

Step 1: Find Your Network Interface

Run:

netsh interface show interface

You’ll see your network interfaces.

Look for the name of your active connection, such as:

Wi-Fi

or

Ethernet

Step 2: Set the Preferred DNS Server

For example, to configure Cloudflare DNS on a Wi-Fi connection, you can use:

netsh interface ip set dns name="Wi-Fi" static 1.1.1.1

Replace "Wi-Fi" with the exact name of your network interface if necessary.

Step 3: Add the Alternate DNS Server

You can add another DNS server with:

netsh interface ip add dns name="Wi-Fi" 1.0.0.1 index=2

Afterward, test your connection.

Be careful when using Command Prompt commands because entering the wrong interface name or address can change your network configuration unexpectedly.

How to Change DNS Using PowerShell

Windows 11 also allows advanced network configuration through PowerShell.

Open Windows PowerShell or Windows Terminal as administrator.

First, you can inspect your network adapters with:

Get-NetAdapter

Then identify the interface index associated with the adapter you want to configure.

You can view DNS configuration using:

Get-DnsClientServerAddress

To configure DNS, PowerShell provides networking commands such as Set-DnsClientServerAddress.

For example:

Set-DnsClientServerAddress -InterfaceIndex 5 -ServerAddresses ("1.1.1.1","1.0.0.1")

Replace 5 with the appropriate interface index for your computer.

Because PowerShell works directly with your network configuration, double-check the interface index before applying changes.

How to Check Whether the New DNS Is Working

Changing the settings is only half the job. It’s a good idea to verify the configuration.

Open Command Prompt and enter:

ipconfig /all

Look for the DNS Servers section associated with your active network adapter.

You should see the DNS addresses you configured.

You can also use:

nslookup example.com

The output can show which DNS server handled the request.

If the expected DNS server appears, your configuration is likely active.

How to Flush DNS Cache in Windows 11

Windows stores DNS lookup information in a cache. This can improve performance, but after changing DNS servers, you may want to clear the old cache.

Open Command Prompt as administrator and run:

ipconfig /flushdns

You should receive a message indicating that the DNS resolver cache was successfully flushed.

Then restart your browser and try accessing the website again.

Does Changing DNS Make Internet Faster?

This is one of the most common questions.

The answer is: sometimes, but not necessarily.

DNS can affect the time required to resolve a domain name. A responsive DNS server may make the initial lookup feel faster.

However, DNS does not normally increase your actual broadband speed.

If your internet plan provides 100 Mbps, changing DNS won’t turn it into a 500 Mbps connection.

Other factors can have a much larger impact, including:

  • Wi-Fi signal strength
  • Router performance
  • Network congestion
  • ISP limitations
  • Distance from the router
  • Ethernet versus Wi-Fi
  • Background downloads
  • Server-side website performance

So think of DNS as optimizing one part of the connection rather than upgrading the entire internet service.

How to Use Automatic DNS Again

You can always return to your ISP-provided DNS servers.

Open:

Settings → Network & internet → Your connection → DNS server assignment → Edit

Change the setting back to:

Automatic (DHCP)

Save the change.

Windows will then normally obtain DNS information automatically from your network.

This is useful if your custom DNS server causes connection problems.

How to Fix DNS Problems After Changing Settings

Sometimes a DNS change can cause unexpected issues.

Don’t panic. Most problems are easy to reverse.

Check the DNS Addresses

Make sure you entered the addresses correctly.

Even one incorrect digit can prevent DNS resolution.

For example, compare:

1.1.1.1

with an incorrectly entered address such as:

1.1.1.11

Flush the DNS Cache

Run:

ipconfig /flushdns

Then try again.

Restart Your Browser

Close your browser completely and reopen it.

Browsers can maintain their own DNS-related information, so restarting may help.

Restart Your Computer

A normal restart can reload network services and apply configuration changes cleanly.

Temporarily Return to Automatic DNS

If nothing works, switch DNS back to Automatic (DHCP).

If the internet immediately starts working again, the custom DNS configuration may be responsible.

What If Only One Website Won’t Open?

Don’t immediately assume DNS is broken.

Try several unrelated websites.

If most websites work but one particular website doesn’t, the problem may be related to:

  • The website’s server
  • Browser cache
  • Browser extensions
  • Local network filtering
  • The website’s DNS configuration
  • Regional availability

Try another browser or use nslookup to investigate the domain.

How to Troubleshoot “DNS Server Isn’t Responding”

The Windows message DNS server isn’t responding usually means your computer cannot successfully communicate with the DNS resolver it is configured to use.

Try these steps:

  1. Restart your router.
  2. Restart your PC.
  3. Run ipconfig /flushdns.
  4. Check your DNS addresses.
  5. Try another DNS provider.
  6. Temporarily return to Automatic DNS.
  7. Disable a VPN temporarily if you’re troubleshooting your own network configuration.
  8. Check whether other devices on the same network have internet access.

If every device is experiencing the same issue, the problem may be with the router, ISP, or broader network rather than your Windows 11 PC.

Should You Use IPv4 or IPv6 DNS?

For most beginners, IPv4 DNS is the simplest place to start.

Many networks still support IPv4, and configuring IPv4 DNS is straightforward.

If your network uses IPv6, you can configure IPv6 DNS addresses as well. However, don’t randomly enter IPv4 addresses into IPv6 fields.

IPv4 and IPv6 use different address formats.

If you’re unsure whether you need custom IPv6 DNS, start with the IPv4 configuration and leave the existing IPv6 settings alone unless your network or DNS provider specifically recommends otherwise.

DNS Over HTTPS in Windows 11

Modern DNS configuration can also include encryption.

DNS over HTTPS, commonly called DoH, sends DNS queries through HTTPS rather than sending them as traditional unencrypted DNS traffic.

When supported and correctly configured, encrypted DNS can make DNS requests harder for intermediaries on the network to inspect.

Windows 11 may expose DNS encryption options through the network settings interface, depending on the Windows version and DNS server you’re using.

If Windows offers an encrypted option for your selected DNS provider, you can consider enabling it.

Can Changing DNS Improve Privacy?

Potentially, but DNS is only one part of online privacy.

Changing DNS does not make you anonymous on the internet.

Your browser, websites, applications, ISP, VPN provider, operating system, and other services can all play different roles in how network activity is handled.

Some DNS providers offer additional privacy or filtering features, but you should review the provider’s privacy policy before choosing a service.

Can DNS Block Websites?

Some DNS providers offer filtering services that can block certain categories of domains.

For example, a provider might offer protection against known malicious or phishing domains.

However, DNS filtering is not a complete security solution.

It should complement, not replace:

  • Windows security features
  • Browser protections
  • Safe browsing habits
  • Software updates
  • Strong account security

DNS Settings for Wi-Fi vs Ethernet

One important detail often confuses beginners.

Your Wi-Fi adapter and Ethernet adapter are separate network interfaces.

You might configure DNS for Wi-Fi but later connect an Ethernet cable and wonder why the DNS behavior changed.

That’s because Windows may now be using the Ethernet adapter’s DNS settings.

If you regularly switch between Wi-Fi and Ethernet, check the configuration of both adapters.

Common DNS Mistakes to Avoid

Changing DNS is easy, but a few mistakes can create unnecessary problems.

Entering the Wrong Address

Double-check every number.

Configuring the Wrong Adapter

Make sure you’re changing the connection you actually use.

Assuming DNS Increases Download Speed

DNS can improve name resolution but doesn’t increase your internet plan’s bandwidth.

Forgetting VPN Settings

A VPN can change how DNS requests are handled.

Changing Too Many Settings at Once

If you’re troubleshooting, change one thing at a time.

That makes it much easier to identify what solved or caused the problem.

When Should You Change DNS?

Changing DNS can make sense when:

  • Your current DNS server frequently fails
  • Website lookups seem unreliable
  • You want to test another DNS provider
  • You want a provider with specific filtering features
  • Your ISP’s DNS service is experiencing problems
  • You want to explore encrypted DNS options

You don’t need to change DNS simply because another provider is popular.

If your current DNS service is reliable and performs well, there’s nothing wrong with keeping it.

How to Find the Best DNS Server for Your Connection

There isn’t one DNS server that is automatically best for everyone.

Performance can depend on:

  • Your geographic location
  • Your ISP
  • Network routing
  • DNS provider infrastructure
  • Current network conditions

You can test several reputable DNS providers and see which one responds reliably on your connection.

Don’t choose a DNS provider solely because someone claims it is the “fastest DNS in the world.” Your results may be different.

Quick DNS Troubleshooting Checklist

If your internet stops working after changing DNS, work through this checklist:

  • Confirm the DNS address is correct.
  • Check that you edited the active adapter.
  • Run ipconfig /flushdns.
  • Restart the browser.
  • Restart Windows.
  • Restart your router.
  • Test another DNS server.
  • Temporarily return to Automatic (DHCP).
  • Check whether a VPN is affecting DNS.
  • Test another device on the same network.

This simple process can solve many DNS-related problems without requiring complicated network troubleshooting.

Frequently Asked Questions

What is the best DNS for Windows 11?

There is no single best DNS server for every Windows 11 computer. Popular choices include Cloudflare, Google Public DNS, and Quad9. Performance depends on your network and location, so you may get different results from another user.

Does changing DNS make Wi-Fi faster?

Changing DNS can sometimes make website lookups feel faster, but it does not increase the maximum speed of your Wi-Fi connection. Wi-Fi signal quality, router performance, network congestion, and your internet plan have a much greater effect on overall speed.

How do I change DNS in Windows 11?

Open Settings → Network & internet, select your active Wi-Fi or Ethernet connection, find DNS server assignment, select Edit, change the configuration to Manual, enter your preferred DNS addresses, and save the settings.

Can I undo a DNS change in Windows 11?

Yes. Go back to the DNS server settings for your network adapter and select Automatic (DHCP). Windows will normally obtain DNS information automatically from your network.

Why does Windows 11 say the DNS server isn’t responding?

The message can appear when Windows cannot communicate properly with its configured DNS server. Incorrect DNS settings, network problems, router issues, ISP problems, VPN configurations, or temporary DNS outages can all contribute.

Conclusion

Knowing how to change DNS on Windows 11 gives you more control over how your computer handles domain-name lookups. For most users, the simplest approach is to open Windows Settings, select the active Wi-Fi or Ethernet connection, edit the DNS server assignment, and enter the DNS addresses provided by a reputable DNS service.

If you’re comfortable with advanced tools, Control Panel, Command Prompt, and PowerShell provide additional ways to manage DNS.

Remember that DNS is only one piece of your internet connection. Changing it may improve reliability or domain lookup performance in some situations, but it won’t automatically increase your broadband speed.

If your custom DNS configuration causes problems, don’t worry. You can flush the DNS cache, verify the addresses, restart your connection, or simply return the setting to Automatic (DHCP).

Quick Takeaways

  • DNS translates website names into IP addresses.
  • Windows 11 normally receives DNS settings automatically.
  • You can manually configure DNS through Settings.
  • Control Panel provides another configuration method.
  • Command Prompt and PowerShell offer advanced options.
  • Cloudflare, Google Public DNS, and Quad9 are popular public DNS services.
  • Changing DNS doesn’t directly increase your internet bandwidth.
  • ipconfig /flushdns can clear the local DNS cache.
  • Wi-Fi and Ethernet adapters can have separate DNS settings.
  • You can restore automatic DNS at any time.