How To Change DNS on Windows 10 - 3 Easy Methods

Reading time icon 3 min. read


Readers help support MSpoweruser. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help MSPoweruser sustain the editorial team Read more

How to Change DNS on Windows 10

Knowing how to change DNS on Windows 10 can improve your internet speed and security, and grant you access to restricted content. The Domain Name System (DNS) is crucial in translating website names into IP addresses, making web browsing seamless.ย 

You can change it via Settings, Control panel, or Command Prompt. Iโ€™ll show you how!

How To Change DNS on Windows 10 with the Settings App

Follow the steps below:

  1. Press Windows + I to open the Settings and tap Network & Internet.
Network & Internet
  1. Under the active network connection, click Properties to open more options.
Properties
  1. Scroll to the IP settings section and click the Edit button.
Edit
  1. Select Manual from the dropdown menu that appears.
Select Manual
  1. Toggle on the IPv4 switch. Input the preferred DNS server address and alternate in the respective fields. Iโ€™ll use Google Public DNS (preferred DNS 8.8.8.8 and alternate DNS 8.8.4.4). Then tap Save.
Toggle on the IPv4 switch

Restart your computer to ensure the changes take effect and reconnect to the network.

Change DNS Using the Control Panel

Here’s how:

  1. Press the Windows Key + S, Type Control Panel, then click Open.
Control Panel
  1. Click Network and Internet.
Network and Internet
  1. Tap Network and Sharing Center.
Network and Sharing Center
  1. Select Change adapter settings.
Change adapter settings
  1. Right-click on your active network (Wi-Fi or Ethernet) and choose Properties.
Properties
  1. Double-click Internet Protocol Version 4 (TCP/IPv4). Select Use the following DNS server addresses and input your preferred DNS (8.8.8.8) and alternate DNS (8.8.4.4).
Use the following DNS server addresses

Click OK, then restart your computer to apply the settings.

Change DNS Using Command Prompt

Here are the steps to follow:

  1. Press Windows + S, type cmd, and select Run as Administrator to open the Command Prompt.
Run as Administrator
  1. Type netsh and hit Enter.
Type netsh
  1. Type interface show interface and press Enter to find the names of the network adapters.
Type interface show interface
  1. Once youโ€™ve identified your network adapter, type interface ip set dns name=”ADAPTER-NAME” source=”static” address=”X.X.X.X”. Replace “ADAPTER-NAME” with the name of the network adapter you found in step 3, and  “X.X.X.X” with the desired IP address. For example, interface ip set dns name=”Wi-Fi” source=”static” address=”8.8.8.8โ€.
interface ip set dns name="Wi-Fi" source="static" address="8.8.8.8โ€
  1. Type interface ip add dns name=”ADAPTER-NAME” addr=”X.X.X.X” index=2. Replace “ADAPTER-NAME” with the name of the network adapter andย  “X.X.X.X” with the Alternate DNS. In my case, itโ€™s interface ip add dns name=”Wi-Fi” addr=”8.8.4.4″ index=2 and hit Enter.
interface ip add dns name="Wi-Fi" addr="8.8.4.4" index=2

Thatโ€™s it!

So, now you know how to change your DNS on Windows 10. The Settings app is the most user-friendly for beginners, while the Command Prompt is ideal for advanced users. Choose the method that suits you and enjoy faster and more secure browsing.

Also, learn how to fix the โ€œDNS address cannot be foundโ€ error on Windows 11 and to use custom DNS in Windows 10.

User forum

0 messages