EBH DNSCHECK
Your IP:
en

How to Change DNS on Windows 11: Step-by-Step Guide

August 21, 2026
Windows 11 network settings showing preferred DNS, alternate DNS and DNS over HTTPS options

How to Change DNS on Windows 11: Step-by-Step Guide

Windows 11 allows you to replace DNS addresses assigned by DHCP with manually selected resolvers. This can help test an ISP DNS problem, enable a public resolver or configure encrypted DNS.

Changing DNS is different from changing the device IP address, subnet mask or default gateway. Only edit the fields required for the resolver configuration.

Check DNS records after changing Windows 11 settings.

Change DNS from Windows Settings

The current Windows 11 interface exposes DNS server assignment within the active network adapter. Menu wording may differ slightly between releases, but the process is to open the adapter, edit DNS assignment, enable IPv4 or IPv6 and enter preferred and alternate resolver addresses.

Step-by-Step Process

  1. Open Settings.
  2. Select Network & internet.
  3. Open the active Wi-Fi or Ethernet connection.
  4. Find DNS server assignment and select Edit.
  5. Change Automatic DHCP to Manual.
  6. Enable IPv4 and enter preferred and alternate DNS.
  7. Choose the DNS over HTTPS mode when supported.
  8. Save and test the connection.

Important Concepts

Automatic DHCP

Receives DNS settings from the router or network.

Manual DNS

Uses resolver addresses entered on the computer.

Preferred DNS

The first resolver Windows normally queries.

Alternate DNS

A secondary resolver used when the preferred service is unavailable.

Common Problems and Mistakes

  • Editing IP assignment instead of DNS assignment
  • Entering the same mistyped address twice
  • Forgetting IPv6 resolver settings
  • DoH template incompatible with the resolver
  • VPN overriding Windows settings
  • Losing access to internal company domains

Troubleshooting Checklist

  1. Record existing settings.
  2. Change only DNS fields.
  3. Configure both addresses.
  4. Run ipconfig /flushdns.
  5. Test nslookup.
  6. Return to Automatic if public Wi-Fi captive portals fail.

Frequently Asked Questions

Do I need administrator rights?

Changing network settings commonly requires administrative permission.

Should DNS over HTTPS be enabled?

It can encrypt queries to a compatible resolver, but business policies and filtering requirements should be considered.

How do I undo the change?

Set DNS server assignment back to Automatic DHCP.

Conclusion

How to Change DNS on Windows 11 is an important topic for anyone managing websites, networks or online services. Use the diagnostic steps above to separate local-device, resolver, authoritative DNS and application problems.

Check DNS records after changing Windows 11 settings.