Technical Anshu
Tutorials Blog
⚙️ Change DNS Server

Change DNS Server in Windows to Google DNS or Cloudflare DNS

When your ISP's resolver is the broken part, pointing your PC at a large public DNS server is a five-minute repair. Here is the exact setting, both Windows routes, and the honest limits of what it can do.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 7 minute read
🎥 Watch the full fix in the video above — every command shown live, step by step

Every PC is normally told which DNS server to use by the router, and that is usually the ISP's resolver. When that resolver is slow, stale or down, websites fail while the connection itself is perfectly healthy. The fix shown in the video is to set the DNS server manually on the network adapter — Google DNS in the video, with Cloudflare as the other common choice. The setting takes five minutes, is completely reversible, and only affects this one PC. This page walks through it on Windows 11 and the classic Control Panel route, and then says plainly what the change will and will not do for you.

IPv4 Properties — manual DNS entered (dialog recreated)
Internet Protocol Version 4 (TCP/IPv4) Properties

( • ) Use the following DNS server addresses:

Preferred DNS server:  8.8.8.8

Alternate DNS server:  8.8.4.4

[ OK ]  [ Cancel ]

👆 The IPv4 properties dialog with Google DNS filled in — address values are the real published Google DNS addresses.
1

What You Are Actually Changing

With this setting, your PC stops asking the router's chosen resolver and asks Google or Cloudflare directly, every time it needs to translate a name. Nothing else about your connection changes — same router, same line, same IP address from the router's point of view.

That narrow scope is what makes the change both safe and diagnostic. If websites spring back to life the moment you switch, you have proven the old resolver was the fault. If nothing improves, the fault was never DNS at the server level, and you have lost only five minutes finding out.

2

The Windows 11 Settings Route

  1. Open Settings → Network and internet → Wi-Fi
  2. Open Hardware properties
  3. Find DNS server assignment and click Edit
  4. Choose Manual, switch IPv4 on
  5. Preferred DNS: 8.8.8.8 — Alternate DNS: 8.8.4.4
  6. Click Save, then test with ping google.com

For Cloudflare, the pair is 1.1.1.1 and 1.0.0.1. Always fill in both fields — the alternate is what keeps you online if the preferred server ever hiccups.

3

The Classic Control Panel Route

The older route reaches the exact dialog in the panel above and still works on Windows 10 and 11:

  1. Press Windows + R, type ncpa.cpl and press Enter
  2. Right-click your Wi-Fi adapter → Properties
  3. Select Internet Protocol Version 4 (TCP/IPv4) → Properties
  4. Choose Use the following DNS server addresses and type the pair
  5. Click OK twice, then test

Change the adapter you actually use. Many PCs list Ethernet, WiFi and old VPN adapters side by side; editing a disconnected adapter changes nothing and is a classic reason this fix appears not to work.

4

Google or Cloudflare — the Honest Comparison

Both are large, free, professionally run public resolvers, and either one is a sound repair for a broken ISP resolver. Google DNS, 8.8.8.8, is the pair used in the video and the most widely tested. Cloudflare, 1.1.1.1, publishes a privacy-leaning policy and is the popular alternative.

What neither does: raise your download speed, fix a weak WiFi signal, or make a down line come back. A resolver only translates names. Replacing a failing translator makes pages start loading again — which can feel dramatic — but the pipe itself is exactly as fast as it was yesterday.

5

How to Undo It, and When You Should

Reversing the change takes the same path: return the setting to Automatic (DHCP) in Settings, or select Obtain DNS server address automatically in the IPv4 dialog. Do this if you take the PC onto a network that manages its own name resolution — above all, an office network with a domain, where manual public DNS breaks logins and internal names.

A manual DNS entry is also invisible in daily use, which is its one real danger: months later, nobody remembers it is there. If you set it as a temporary test, note it down or undo it once the test is finished.

🔴 Set DNS only on your own home PC. On an office or school machine, name resolution is usually managed deliberately — a manual public DNS there can break domain login, shared drives and printers. The office case has its own page in this series; do not improvise around it.

🎥 Watch the Complete DNS Fix Video

See every step on a real Windows PC — the tests, the commands and the DNS change, in order.

▶️ Watch Full Video
❓ Frequently Asked Questions

Is it safe and legal to use Google DNS?

Yes. Google DNS and Cloudflare DNS are public services offered free for anyone to use, and setting them on your own computer is a normal, documented Windows configuration. You are simply choosing a different phone book for name lookups — nothing about your connection or accounts is altered.

Why are there two DNS addresses, preferred and alternate?

The alternate is a fallback. Your PC asks the preferred server first; if it does not answer in time, the alternate is asked instead. With only one address filled in, a single resolver outage takes your browsing down with it, so always enter the complete pair.

Should I change DNS on the PC or on the router?

On the PC when you are testing or only one machine is affected — it is quick and reversible. On the router when every device in the house has the same problem, because one router change then repairs all of them at once. There is a dedicated page in this series on choosing between the two.

This guide is based on the Technical Anshu WiFi and DNS fix video • Stuck on a step? Ask in the video comments — you will get a reply 🙏