Windows Networking

Change DNS server on Windows (Cloudflare, Google, Quad9)

Point Windows at fast, privacy-conscious DNS resolvers and confirm the change actually took effect.

8 min read Beginner Updated 9 Jun 2026

Step-by-step guide

Work through each section in order. Stop when your issue is resolved — you do not need every step for every situation.

Warning

Use an administrator account for these steps, and keep a recent backup before making repair or security changes.

What you will achieve

Point Windows at fast, privacy-conscious DNS resolvers and confirm the change actually took effect.

1) Change DNS in Settings

  1. Press Win + I and open Network & Internet.
  2. Choose Wi-Fi or Ethernet, then select your adapter.
  3. Under DNS server assignment, click Edit and set manual IPv4/IPv6 values.

2) Suggested DNS providers

  • Cloudflare: 1.1.1.1 and 1.0.0.1
  • Google: 8.8.8.8 and 8.8.4.4
  • Quad9: 9.9.9.9 and 149.112.112.112

3) Flush and verify

ipconfig /flushdns
nslookup example.com
cloudflare dns networking windows