PDF download Download Article
Update your DNS server settings to improve your internet experience
PDF download Download Article

If you're dealing with sluggish internet or you're looking for a little more security while browsing the web on your Windows 11 computer, you might want to try changing your DNS server. Changing the DNS server is simple and easy to revert if you want to go back to the automatic DNS set by your ISP. In this article, we go over three ways to change your DNS server, as well as provide more info about DNS and some public DNS servers you can try. Keep reading to learn more!

Ways to Change DNS on Windows 11

  • Open your network settings in the Settings app and choose to manually input a DNS.
  • Access your connection in the Control Panel and manually set the DNS there.
  • Use PowerShell to quickly change your DNS server with a few simple commands.
Section 1 of 6:

Using the Settings App

PDF download Download Article
  1. You can do this in a number of ways:
    • Click on the Windows icon in your taskbar, then click on the Settings option. By default, it's under the "pinned" header.
    • Type "settings" into the taskbar search bar and click on Settings in the Start menu that pops up.
    • Press Win+I.
    • Right-click the Windows icon in the taskbar and click Settings.
  2. 2
    Click Network and Internet. It has an icon of a computer screen and a globe.
    Advertisement
  3. 3
    Click on your connection type. If you use wireless internet, click Wi-Fi. If you have wired internet, click Ethernet.
  4. 4
    Click Edit next to "DNS server assignment." By default, this will be set to "Automatic (DHCP)."
  5. 5
    Choose Manual in the dropdown. You'll see two options appear.
  6. 6
    Toggle on IPv4. This will cause more options to appear.
  7. 7
    Enter your preferred and alternative DNS. You can also choose to do DNS over HTTPS. If you're not sure what to do here, leave these options set to "Off."
  8. 8
    Click Save. You can now exit Settings, as your DNS settings are saved. If you'd like to go back to automatic DNS, you can go back into your Settings and change the dropdown back to "Automatic (DHCP)."[1]
  9. Advertisement
Section 2 of 6:

Using Control Panel

PDF download Download Article
  1. 1
    Open Control Panel. The easiest way to do this is to type "control panel" into the taskbar search bar, then click Control Panel in the Start menu.
  2. 2
    Click View network status and tasks. It's the small link under the "Network and Internet" header.
  3. 3
    Click on the name of your connection next to the "Connections" label. This will be near the top of the window.
  4. 4
    Click Properties. It's near the bottom of the pop-up window. The button also has an icon of a blue and yellow shield, as you need to have administrator access to edit your connection's properties.
  5. 5
    Choose Internet Protocol Version 4 (TCP/IPv4). It's near the top of the list in the box in the middle of the pop-up window.
  6. 6
    Click Properties. It's under the box in the middle of the pop-up window.
  7. 7
    Click the radio button next to Use the following DNS server addresses. By default, your computer will find a DNS server address for you.
  8. 8
    Enter a preferred and alternate DNS server. If, for some reason, the preferred DNS server isn't available, your computer will try the alternate DNS server.
  9. 9
    Click OK to save your DNS settings. You can now exit the Control Panel. To change your DNS back to automatic, go back into your connection settings and choose Obtain DNS server address automatically.[2]
  10. Advertisement
Section 3 of 6:

Using Windows PowerShell

PDF download Download Article
  1. There are two ways to do this:
    • Type "powershell" in the taskbar search bar to look for it, then click on it in the Start menu to open it.
    • You can also right-click on the Windows icon in your taskbar and click Terminal to open a Terminal window running Windows PowerShell.
  2. 2
    Type the command Get-NetIPConfiguration. Press Enter to run the command.
  3. 3
    Note your InterfaceIndex. Make sure you're looking at the connection that you're trying to change, as you may have more than one if you have Ethernet, Wi-Fi, Bluetooth, etc.
  4. 4
    Enter the command to change your DNS. This command is as follows: Set-DnsClientServerAddress -InterfaceIndex [interface_index] -ServerAddresses [dns_1], [dns_2], where [interface_index] is the InterfaceIndex you noted in the last step, [dns_1] is your preferred DNS, and [dns_2] is your alternate DNS.
    • Press Enter to run the command.
  5. 5
    Run Get-NetIPConfiguration to make sure your DNS has changed. You should see the new DNS server addresses after the "DNSServer" label.[3]
  6. Advertisement
Section 4 of 6:

Why change DNS servers?

PDF download Download Article
  1. Most people change their DNS server if the automatic server has issues. By default, you'll automatically be assigned a DNS (Domain Name System) server by your ISP (Internet Service Provider). However, you may find that these automatic DNS servers don't work for you for a number of reasons.[4] Here are some of the top reasons people change DNS servers manually:
    • Speed: Sometimes, the automatic DNS server is sluggish, and it can slow you down online.
    • Privacy: Some public DNS servers are more private and secure than others. If you're not sure how private your ISP-assigned DNS server is, you might want to try a different one.
    • Ad blocking: Some public DNS servers will automatically block ads for you.
    • Censorship: If you live in an area where certain websites are blocked, changing to a public DNS server can help you circumvent this censorship.
    • Website blocking: Some public DNS servers will automatically block certain content, such as adult content. This is a good idea if you're a parent, though know that tech-savvy kids can figure out how to change the DNS server to something else if they have access to those permissions on your computer.
Section 5 of 6:

Common DNS Servers

PDF download Download Article
  1. These DNS servers can be used by anyone for free, and you may want to use them if the DNS servers provided by your ISP are slow or have some other issue. The first DNS listed is the primary DNS, while the second is the secondary (or alternate) DNS.
    • Google: 8.8.8.8, 8.8.4.4
    • Control D: 76.76.2.0, 76.76.10.0
    • Quad9: 9.9.9.9, 149.112.112.112
    • OpenDNS Home: 208.67.222.222, 208.67.220.220
    • Cloudflare: 1.1.1.1, 1.0.0.1
    • AdGuard DNS: 94.140.14.14, 94.140.15.15
    • CleanBrowsing: 185.228.168.9, 185.228.169.9
    • Alternate DNS: 76.76.19.19, 76.223.122.150
    • Dyn: 216.146.35.35, 216.146.36.36
    • OpenNIC: 138.197.140.189, 168.235.111.72
    • Yandex DNS: 77.88.8.8, 77.88.8.1
    • DNS for Family: 94.130.180.225, 78.47.64.161
    • Hurricane Electric: 74.82.42.42
    • CIRA Canadian Shield: 149.112.121.10, 149.112.122.10
    • Comodo Secure DNS: 8.26.56.26, 8.20.247.20
    • CenturyLink: 205.171.3.65, 205.171.2.65
  2. Advertisement
Section 6 of 6:

FAQ

PDF download Download Article
  1. 1
    Does a public DNS give me access to free internet? No, you still need your own internet service to access the internet, regardless of what DNS server you go through.
  2. 2
    Can I change my DNS server if I'm on public Wi-Fi? Yes, you can still change the DNS server your device uses if you're on public Wi-Fi. You may even want to do this to add a layer of privacy and security while using public internet.
  3. 3
    What is DNS? DNS stands for Domain Name System. When you type a URL into your address bar (i.e. [http://wikihow.com wikihow.com]), DNS will translate that URL into an IP (Internet Protocol) address that your browser can actually understand (i.e. 151.101.129.91).[5] Without DNS, we'd have to memorize the IP address of each website we want to access.
  4. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

About This Article

Stan Kats
Written by:
Professional Technologist
This article was written by Stan Kats and by wikiHow staff writer, Hannah Dillon. Stan Kats is a Professional Technologist and the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan holds a BA in International Relations from The University of Southern California. He began his career working in the Fortune 500 IT world. Stan founded his companies to offer an enterprise-level of expertise for small businesses and individuals.
How helpful is this?
Co-authors: 3
Updated: October 12, 2025
Views: 211
Categories: Windows
Thanks to all authors for creating a page that has been read 211 times.

Is this article up to date?

Advertisement