How to Change DNS Servers in Windows (2024)

What to Know

  • Open Control Panel > Network and Internet > Network and Sharing Center > Change adapter settings.
  • Right-click a connection and select Properties. Choose Internet Protocol Version 4 (or Version 6) > Properties.
  • Select Use the following DNS server addresses. Google's are 8.8.8.8 and 8.8.4.4, but there are others to pick from.

This article explains how to change the DNS servers in Windows 11, Windows 10, Windows 8, and Windows 7. It also details how to use a CMD commandto change DNS settings.

How to Change Windows DNS Servers

Below are the steps required to change the Windows DNS settings. However, the procedure differs somewhat depending on the version of Windows.

  1. Open Control Panel. There are several ways to get there, including searching for it or executing the control command from the Run dialog box.

    On Windows 8.1, select Network Connections from the Power User Menu (press Win+X), then skip to Step 5.

  2. Select Network and Internet.

    How to Change DNS Servers in Windows (1)

    Network and Internet doesn't appear if the Control Panel displays large or small icons. Instead, choose Network and Sharing Center, then skip to Step 4.

  3. Select Network and Sharing Center.

    How to Change DNS Servers in Windows (2)

  4. Select Change adapter settings.

    How to Change DNS Servers in Windows (3)

  5. Double-click or double-tap the connection you want to change the DNS servers for. Wired connections are labeled as Ethernetor Local Area Connection, while wireless ones are labeled as Wi-Fi.

    If you don't see the right connection, change the view to Details, go to the Connectivity column, and use the connection that lists Internet access.

  6. In the Status window, select Properties.

    How to Change DNS Servers in Windows (5)

    In some versions of Windows, provide the administrator password if you're not logged in to an admin account.

  7. From the section called This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol (TCP/IP)to select the IPv4 option, or select Internet Protocol Version 6 (TCP/IPv6)to change the IPv6 DNS server settings.

    How to Change DNS Servers in Windows (6)

  8. Select Properties to open the Windows DNS settings.

  9. Choose Use the following DNS server addresses.

    If Windows has custom DNS servers configured, replace the existing DNS server IP addresses with new ones.

  10. Enter the IP address for the Preferred DNS server and for the Alternate DNS server.

    How to Change DNS Servers in Windows (7)

    You can also enter only a preferred DNS server, replace the preferred DNS server from one provider with a secondary DNS server from another, or enter more than two DNS servers using fields in the DNS tab (select Advanced to enter multiple DNS servers).

  11. Select OK to make the DNS server changes.

You can now close any windows you opened to change the DNS servers and verify that the new servers work properly. Visit several websites in your favorite web browser. You'll know the servers are working if web pages show up as quickly as before.

How to Change DNS Servers With Command Prompt

The preferred DNS server in Windows can be changed through Command Prompt. Use this method if you're comfortable entering commands on the command line.

  1. Open an elevated Command Prompt.

  2. Type netsh and press Enter.

    How to Change DNS Servers in Windows (8)

  3. At the prompt, type this and then press Enter:

     interfaceipshowconfig
  4. Locate the network connection for which you want the DNS server changed. In our example, we're looking for the Wi-Fi connection.

    How to Change DNS Servers in Windows (9)

  5. Enter the following command, replacing Wi-Fi with the name of your connection and 8.8.8.8 with the DNS server you want to use.

     interfaceipsetdns"Wi-Fi"static8.8.8.8

    How to Change DNS Servers in Windows (10)

    Check out our list of free and public DNS servers for the complete list of publicly available DNS servers which may be more complete than the list provided by your ISP.

When the command is completed, the netsh> prompt displays. You can now close Command Prompt.

DNS Server Settings Are Device-Specific

Setting up customDNS servers for your computer only applies to that computer, not to the other devices on the network. For example, you can set up a Windows laptop with one set of DNS servers and use an entirely different set on a desktop, phone, or tablet.

DNS settings apply to the closest device they're configured on. Say you use one set of DNS servers on the router. Your laptop and phone will use these DNS servers when they connect to Wi-Fi. However,if the router has its own set of servers and the laptop has its own separate set, the laptop will use a different DNS server than the phone and the other devices that use the router. The same is true if the phone uses a custom set.

DNS settings only trickle down a network if each device is set up to use the router's DNS settings and not their own. This means that if four devices are on a network, for example, all four could be using separate DNS servers.

Why Change the Windows DNS Servers?

Most computers and devices connect to a local network using DHCP and DNS servers that are automatically configured in Windows. DNS servers are sometimes the cause of certain types of internet problems, and changing them can help troubleshoot the problem.

Double Your Internet Speed for Free

FAQ

  • What is a DNS server?

    A DNSserver is a computer server that contains a database ofpublic IP addressesand their associatedhostnames. It works to translate those names to IP addresses as requested. Once the IP address is returned, the website you want to visit is displayed in your web browser.

  • What is a DNS error and how do I fix it?

    These errors typically state the “DNS server is not responding,” and mean your device won’t be able to connect to the internet. Common causes include a misbehaving internet provider; malfunctioning TCP/IP or DHCP services; overly aggressive antivirus software; or a malfunctioning router or modem.

  • How do I change DNS settings on my Android phone?

    To change DNS settings on phones with Android 9 or higher, tap Settings > Network & internet>Private DNS> Private DNS provide hostname. Enter the DNS provider's information.

Was this page helpful?

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Tell us why!

How to Change DNS Servers in Windows (2024)
Top Articles
How much does the average person have in savings? The answer may surprise you
How To Save $1,000 A Month
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
Non Sequitur
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Nicola Considine CPA

Last Updated:

Views: 6080

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Nicola Considine CPA

Birthday: 1993-02-26

Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

Phone: +2681424145499

Job: Government Technician

Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.