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

Have you ever noticed slow internet speeds or trouble accessing certain websites even though your connection seems fine? One hidden culprit could be your DNS settings. By learning how to change DNS server on Windows 11, you can speed up browsing, improve privacy, and even bypass some restrictions.

This guide will walk you through everything — from understanding DNS to changing it using multiple methods, with clear, actionable steps.


🔑 Key Takeaways

  • DNS (Domain Name System) translates website names (like google.com) into IP addresses.

  • Using a faster or more secure DNS can improve internet speed, reliability, and security.

  • Windows 11 lets you change DNS via Settings, Control Panel, Command Prompt, or PowerShell.

  • Popular free DNS servers include Google DNS, Cloudflare, and OpenDNS.

  • You can configure DNS for Wi-Fi, Ethernet, or even system-wide.


What Is a DNS Server and Why Change It?

Every time you visit a website, your device contacts a DNS server to find its matching IP address. Think of it as the “phonebook” of the internet.

By default, your ISP (Internet Service Provider) controls your DNS. However, switching to a public DNS has many benefits:

✅ Benefits of Changing DNS

  • Faster browsing – Public DNS like Google (8.8.8.8) or Cloudflare (1.1.1.1) respond quicker than ISP servers.

  • Better reliability – Avoid DNS outages that slow down or block websites.

  • Improved privacy – Some DNS providers don’t log your browsing history.

  • Access to blocked sites – Alternative DNS can bypass region-based restrictions.

  • Extra security – Providers like OpenDNS filter malicious websites.


Best Free Public DNS Servers for Windows 11

Here are some popular DNS options you can use:

Provider Primary DNS Secondary DNS Best For
Google DNS 8.8.8.8 8.8.4.4 Speed & reliability
Cloudflare DNS 1.1.1.1 1.0.0.1 Privacy & speed
OpenDNS 208.67.222.222 208.67.220.220 Security & parental control
Quad9 DNS 9.9.9.9 149.112.112.112 Malware blocking & safety

How to Change DNS Server on Windows 11 (Step-by-Step)

There are several ways to do this. Let’s go through them one by one.


1. Change DNS Server via Windows 11 Settings

This is the easiest method for most users.

Steps:

  1. Press Windows + I to open Settings.

  2. Go to Network & internet.

  3. Select Wi-Fi (for wireless) or Ethernet (for wired).

  4. Click Hardware properties.

  5. Under DNS server assignment, click Edit.

  6. Change from Automatic (DHCP) to Manual.

  7. Toggle IPv4 to On.

  8. Enter your preferred DNS servers (e.g., 8.8.8.8 and 8.8.4.4).

  9. Click Save.

💡 You can also enable IPv6 and use Cloudflare’s IPv6 DNS (2606:4700:4700::1111).


2. Change DNS via Control Panel

The classic method still works in Windows 11.

Steps:

  1. Press Windows + R, type ncpa.cpl, and hit Enter.

  2. Right-click your active network (Wi-Fi or Ethernet).

  3. Select Properties.

  4. Highlight Internet Protocol Version 4 (TCP/IPv4) and click Properties.

  5. Select Use the following DNS server addresses.

  6. Enter your preferred DNS (e.g., 1.1.1.1 and 1.0.0.1).

  7. Click OK, then Close.


3. Change DNS via Command Prompt

For advanced users who prefer command-line tools.

Steps:

  1. Press Start, type cmd, right-click, and select Run as administrator.

  2. Type the following command to list adapters:

    netsh interface show interface
  3. Identify your active adapter (e.g., Wi-Fi).

  4. Run this command (replace “Wi-Fi” with your adapter name):

    netsh interface ip set dns name="Wi-Fi" static 8.8.8.8
  5. To add a secondary DNS:

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

4. Change DNS via PowerShell

PowerShell is another fast option for scripting or automation.

Steps:

  1. Press Start, type PowerShell, and run as administrator.

  2. Type this command to list network adapters:

    Get-NetAdapter
  3. Replace “Wi-Fi” with your adapter name and enter:

    Set-DnsClientServerAddress -InterfaceAlias "Wi-Fi" -ServerAddresses 1.1.1.1,1.0.0.1

5. Change DNS via Router (Applies to All Devices)

Instead of changing DNS on your PC only, you can set it directly in your router. This way, all connected devices (phones, TVs, laptops) use the same DNS.

General Steps (varies by router brand):

  1. Open a web browser and log in to your router (usually 192.168.1.1).

  2. Enter username and password.

  3. Go to Network Settings > DNS.

  4. Replace the default DNS with your preferred one.

  5. Save and restart your router.


How to Verify Your New DNS Settings

Once you’ve changed DNS, make sure it’s working.

Method 1: Command Prompt

  • Open cmd and type:

    nslookup google.com
  • It should display the DNS server you configured.

Method 2: Online DNS Test


Common Issues and Fixes

  • No internet after changing DNS? → Double-check the addresses, remove typos.

  • Slow browsing? → Try another DNS provider (Cloudflare vs Google).

  • Some sites blocked? → Use a neutral DNS like Quad9 or Cloudflare.

  • Can’t save changes? → Run settings with administrator rights.


Comparison of Methods

Method Difficulty Best For Risk Level
Settings (Modern UI) Easy Beginners Low
Control Panel Medium Traditional users Low
Command Prompt Medium Advanced users Medium
PowerShell Medium Automation/scripts Medium
Router Medium Whole-network setup Low

Expert Tips for DNS Management

  • Try Cloudflare (1.1.1.1) for fastest speeds in most regions.

  • Use OpenDNS if you want parental controls and filtering.

  • Pair DNS changes with VPN for even stronger privacy.

  • Test different servers with DNS Benchmark tools.


Conclusion

Learning how to change DNS server on Windows 11 is a simple but powerful tweak that can improve speed, security, and browsing reliability. Whether you use the Settings app, Control Panel, Command Prompt, or PowerShell, the process takes just a few minutes.

By switching to a reliable DNS like Google, Cloudflare, or OpenDNS, you’ll enjoy smoother internet and better control over your online experience.


FAQs: Changing DNS Server in Windows 11

1. Is it safe to change DNS in Windows 11?
Yes, it’s completely safe. Just make sure you use trusted providers like Google, Cloudflare, or OpenDNS.

2. Does changing DNS make my internet faster?
Often yes, especially if your ISP’s DNS is slow. However, results vary by location.

3. Will changing DNS unblock websites?
Sometimes. Some DNS services bypass restrictions, but a VPN is more reliable for region-blocked sites.

4. Do I need to restart my PC after changing DNS?
Not always, but restarting ensures settings apply correctly.

5. Should I change DNS on my router or PC?
If you want all devices on your network to use the same DNS, set it on your router. Otherwise, per-PC changes work fine.

Scroll to Top