How to Change Your DNS Server on Windows 11

    Last updated: June 2026

    Quick Summary

    Changing your DNS server on Windows can speed up browsing, add privacy, and block malicious sites. This guide walks through the Windows 11 and Windows 10 steps, including encrypted DNS, and shows how to confirm the change worked.

    • Windows 11 sets DNS under Settings → Network & internet → your adapter
    • Use Cloudflare (1.1.1.1) or Quad9 (9.9.9.9) for privacy
    • Turn on DNS over HTTPS to encrypt your lookups
    • Changing DNS at the OS level covers every browser and app

    Your DNS server is what turns a name like example.com into an IP address. By default Windows uses your ISP's resolver, which can be slow, log your lookups, and skip encryption. Switching to a privacy-focused provider takes about a minute.

    Why Change Your DNS Server?

    • Privacy: stop your ISP from seeing and logging every domain you visit.
    • Speed: providers like Cloudflare are often faster than ISP defaults.
    • Security: resolvers like Quad9 block known malicious and phishing domains.
    • Encryption: DNS over HTTPS (DoH) hides your lookups from anyone on the network.

    Change DNS on Windows 11 (Settings)

    1. Open Settings → Network & internet.
    2. Select your connection: Wi-Fi or Ethernet, then click your network name.
    3. Next to DNS server assignment, click Edit.
    4. Switch the dropdown from Automatic to Manual.
    5. Turn IPv4 on and enter a preferred and alternate DNS, e.g. 1.1.1.1 and 1.0.0.1.
    6. Set DNS over HTTPS to On (automatic template) to encrypt lookups.
    7. Click Save.

    Change DNS on Windows 10 (Control Panel)

    1. Open Control Panel → Network and Sharing Center → Change adapter settings.
    2. Right-click your active adapter and choose Properties.
    3. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
    4. Choose Use the following DNS server addresses and enter 1.1.1.1 and 1.0.0.1.
    5. Click OK and close the dialogs.
    Tip: Popular resolvers — Cloudflare: 1.1.1.1 / 1.0.0.1 · Quad9: 9.9.9.9 / 149.112.112.112 · Google: 8.8.8.8 / 8.8.4.4. Enter the second address as the alternate so lookups keep working if the first is unreachable.

    OS-Level vs Browser-Level DNS

    Browsers like Chrome and Firefox have their own "secure DNS" setting, but it only covers that browser. Changing DNS in Windows covers everything — every browser, app, and background service. For a browser-only approach instead, see how to fix DNS leaks in Chrome, Brave, and Firefox.

    Verify the Change Worked

    After saving, run our free DNS leak test. The DNS servers shown should now belong to your chosen provider (for example, Cloudflare) rather than your ISP. If your ISP still appears, double-check the adapter you edited, or read what DNS leaks are and why they happen.

    Frequently Asked Questions

    Test Your Privacy Now

    Check if your browser is leaking your IP address

    Test My Privacy Now →

    Published: 2025-11-05 | Updated: June 2026

    Privacy