What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

This Itechguide teaches you how to change DNS on Windows 10. The guide covers steps for 3 methods to change DNS on Windows 10 – from adapter settings, CMD or PowerShell.

Option 1: Change DNS from Adapter Settings

  • Right-click the Windows 10 Start menu and click Settings.
How to Change DNS on Windows 10 from Adapter Settings
  • On the Windows Settings screen, click Network & Internet.
How to Change DNS on Windows 10 from Adapter Settings
  • When Network status setting opens, scroll down to Change your network settings and click Change adapter options. Network connections will open and display all network connections on your computer.
How to Change DNS on Windows 10 from Adapter Settings
  • On Network connections, double-click the adapter you want to change the DNS. The Properties of the adapter will open.
  • On the properties of the adapter, click Internet Protocol Version 4 (TCP/IPv4) to highlight it. Then, click Properties.
  • Finally, on the Internet Protocol Version 4 (TCP/IPv4) Properties, select Use the following DNS server address.
  • Then, enter the Preferred DNS server and Alternate DNS server.
  • After adding the IP addresses for the DNS servers, click OK.

Option 2: Change DNS with CMD (Command Prompt)

  • Type command prompt in the search box. Then, from the search result, right-click Command Prompt and select Run as administrator.
  • If you receive a User Account Control confirmation, click Yes.
How to Change DNS on Windows 10 with CMD
  • On Command Prompt, type the command below and click the enter key on your keyboard.
 netsh
  • Then, on the netsh prompt, type the command below and press enter.
interface ip show config
  • The command lists the network information for all the network adapters on your computer. Note the name of the adapter you want to change its DNS.
  • In this example, I want to change the DNS for the network adapter, called “Ethernet”.
  • Finally, to change DNS on Windows 10 with command prompt, type the command below and press enter.
 interface ip set dns "Ethernet" static 8.8.8.8 
Change “Ethernet” to the name of your adapter and 8.8.8.8 to the IP address of your DNS server.
  • When the command completes, it will return to the netsh command prompt. To exit netsh, type exit and press enter.

Option 3: Change DNS with PowerShell

  • Type powershell in the Windows 10 search box. Then, beneath Windows PowerShell, click Run as Administrator.
  • If you receive a User Account Control confirmation prompt, click Yes.
How to Change DNS on Windows 10 with PowerShell
  • On the PowerShell prompt, type the command below and press enter.
Get-NetAdapter
  • The command lists the basic information for all the network adapters on your PC. Note the interfaceIndex (ifIndex) for the adapter you want to change DNS for.
  • In this example, I want to change the DNS for “Ethernet”. The ifIndex is 22.
  • Finally, to change DNS on Windows 10 from PowerShell, type the command below and press enter.
 Set-DNSClientServerAddress –interfaceIndex 22 -ServerAddresses (“8.8.8.8”,”8.8.8.4”) 
Change 22 to the interfaceIndex for your adapter. Also, change the IP addresses “8.8.8.8” and ”8.8.8.4” to your primary and secondary DNS server IP addresses. If you want to set the primary DNS without adding an alternative (secondary) DNS server, use a single IP address.
  • Here is the above command in PowerShell

It is very easy to change DNS Windows 10! I hope you found this Itechguide helpful. If it was, click on “Yes” beside the “Was this page helpful” question below.

You may also express your thoughts and opinions by using the “Leave a Comment” form at the bottom of this page.

Finally, for more Windows 10 Itechguides, visit our Windows How-To page.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Jadaol Cat6/Cat6A Ethernet Cable 50FT Flat with Clips 10Gbps Network, White
  • Cat 6 performance at a Cat5e price but with higher bandwidth
  • High Performance Cat6, 30 AWG, RJ45 Ethernet Patch Cable provides universal connectivity for LAN network components such as PCs,computer servers,printers,routers,switch boxes,network media players,NAS,VoIP phones
  • Jadaol cat6 standard cable support Cat8 and Cat7 network and provides performance of up to 250 MHz 10Gbps and is suitable for 10BASE-T, 100BASE-TX (Fast Ethernet), 1000BASE-T/1000BASE-TX (Gigabit Ethernet) and 10GBASE-T (10-Gigabit Ethernet)
  • UTP(Unshielded Twisted Pair) patch cable with RJ45 gold-plated Connectors and are made of 100% bare copper wire, ensure minimal noise and interference
  • The unique flat cable shape allows for a cleaner and safer installation. You can easily and seamlessly make the cable run along walls, follow edges & corners or even make it completely invisible by sliding it under a carpet.
Rank #4
Sale
Vabogu Cat 8 Ethernet Cable 6FT, 40Gbps 2000MHz High Speed Network Cable
  • 【Ultra Internet speed】Cat 8 ethernet cable support bandwidth up to 2000MHz and boosts the speed of data transmission up to 40Gbps,26AWG Cables suitable Indoor/Outdoor at hyper speed without worrying about cable mess, Cat8 can reduce any signal interference to the full extent. Allow you to stream HD videos, music, surf the net, play games at Hyper Speed
  • 【RJ45 Connectors & Wide Compatibility】With two shielded RJ45 connectors at both ends, the Cat8 Ethernet cable works perfectly Compatible with all the previous(cat5, cat5e, cat6, cat6a and cat7), And with IP Cam, routers, Nintendo switch, ADSL, Adapters, Modem, PS3, PS4, X-box, Patch panel, Servers, Networking Printers, Netgear, NAS, VoIP phones, laptop, Coupler, Hubs, Keystone jack, Smart TV, Imac and other device with RJ45 connectors
  • 【Durable & Weatherproof & UV Resistant】Cat8 lan cable is uses 100% oxygen-free copper inside, 4 Pairs 100% 26WAG pure & thick shielded twisted pair (STP) of copper wires, Aluminium foil shield, Woven mesh shield, Shielded with high quality UV-resistant PVC jacket, the outdoor rated Cat8 Ethernet cable is anti-aging, It can withstand direct sunlight and extreme cold & humid & hot weather yet still working efficiently. Can be buried directly . Suitable for both outdoor and indoor use
  • 【26AWG & Superior Performance】Comparing with other 32AWG Ethernet cable, 26AWG Cat8 is thicker, a lot faster and stable in data transferring, which is perfectly suitable for AI smart products, like Amazon Alexa, Apple Siri, Google Home, It is suitable for small or middle enterprise LANs, especially for data center switch-to-server interconnections.With sturdy high speed network cable, you will not experience a lag or stop on transferring data
  • 【Customer Care 24-7】You can contact us: we're here for you and we will reply as soon as possible. We believe in our clients' satisfaction and we always do our best to help
Rank #3
UGREEN Cat 8 Ethernet Cable 10FT, High Speed Braided 40Gbps 2000Mhz Network Cord Cat8 RJ45 Shielded Indoor Heavy Duty LAN Cables Compatible with Gaming PC PS5 PS4 PS3 Xbox Modem Router 10FT
  • 40 Gbps 2000 Mhz High Speed: The Cat 8 ethernet cable support max. 40 Gbps data transfer and 2000 MHz Brandwith, ideal for gaming and streaming, greatly improving upload and download speed, sound, image and resolution quality
  • Excellent Anti-interference: The ethernet cable comes with 4 shielded foiled twisted pairs (F/FTP), pure copper core and gold-plated RJ45 connector, reducing interference, noise and crosstalk, making network speed faster and more stable
  • Marvelous Durability: Internet cable wrapped with quality cotton braided cord, which makes the LAN cable stronger and more durable. The test proves that this internet cable can be bent at least 10000 times without broken, very suitable for long-term use
  • PoE Supported: All lengths of ethernet cord can support the PoE power supply function except 65ft. You don't need additional power supply when installing a PoE camera, which is very convenient and safe
  • Wide Compatibility: With the RJ45 Connector, network cable can be perfectly compatible with computers, laptops, modems, routers, PS5, X-Box and other networking devices. It can also be fully backward compatible with Cat7, Cat6e, Cat6, Cat5e, Cat5
Rank #2
DbillionDa Cat 8 Ethernet Cable, 6FT 40Gbps 2000MHz RJ45 LAN Cable
  • Designed for Outdoor & Direct Burial Installations – Heavy-duty double-shielded Cat8 Ethernet cable minimizes EMI/RFI interference and delivers stable long-distance performance. Waterproof, anti-corrosion PVC jacket allows safe direct burial and reliable use in outdoor or indoor environments.
  • 26AWG for Stable High-Load Networks – Thicker 26AWG conductors provide faster, more stable data transmission than standard 32AWG cables. Ideal for high-performance home networks, gaming setups, smart homes, and data-intensive applications.
  • F/FTP Shielding & Hyper-Speed Performance: Cat8 Ethernet cable constructed with 4 shielded foiled twisted pairs and 26AWG OFC conductors; supports bandwidth up to 2000 MHz and data transmission speeds up to 40 Gbps, effectively reducing signal interference and ensuring stable connections. Ideal for low-latency gaming, 4K/8K streaming, and high-speed internet connections.
  • RJ45 Connectors & Wide Compatibility: Cat8 Ethernet cable with two shielded RJ45 connectors; compatible with networking switches, IP cameras, routers, Nintendo Switch, modems, PS3, PS4, Xbox, patch panels, servers, smart TVs, and more; works with Cat7, Cat6, Cat5e, and Cat5 devices
  • Weatherproof & UV Resistant: Outdoor-rated Cat8 Ethernet cable with UV-resistant PVC jacket; withstands direct sunlight, extreme cold, humidity, and hot weather; anti-aging and durable; Includes 18-month support.
#1 Best Overall
Sale
UGREEN Cat 8 Ethernet Cable 6FT, High Speed Braided 40Gbps 2000Mhz Network Cord Cat8 RJ45 Shielded Indoor Heavy Duty LAN Cables Compatible with Gaming PC PS5 PS4 PS3 Xbox Modem Router 6FT
  • 40 Gbps 2000 Mhz High Speed: The Cat 8 ethernet cable support max. 40 Gbps data transfer and 2000 MHz Brandwith, ideal for gaming and streaming, greatly improving upload and download speed, sound, image and resolution quality
  • Excellent Anti-interference: The ethernet cable comes with 4 shielded foiled twisted pairs (F/FTP), pure copper core and gold-plated RJ45 connector, reducing interference, noise and crosstalk, making network speed faster and more stable
  • Marvelous Durability: Internet cable wrapped with quality cotton braided cord, which makes the LAN cable stronger and more durable. The test proves that this internet cable can be bent at least 10000 times without broken, very suitable for long-term use
  • PoE Supported: All lengths of ethernet cord can support the PoE power supply function except 65ft. You don't need additional power supply when installing a PoE camera, which is very convenient and safe
  • Wide Compatibility: With the RJ45 Connector, network cable can be perfectly compatible with computers, laptops, modems, routers, PS5, X-Box and other networking devices. It can also be fully backward compatible with Cat7, Cat6e, Cat6, Cat5e, Cat5

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi