Change the DNS on Windows 11
Applies to: Windows 11 PCs (Home, Pro, Enterprise) connected over Wi-Fi or Ethernet
Short answer: On Windows 11, DNS lives under Settings > Network & internet: open Wi-Fi or Ethernet, select your network and set DNS server assignment to Manual. Every Windows 11 PC supports manual DNS, so no model is excluded. The two things that bypass your entries are IPv6 and DNS over HTTPS, in Windows and in the browser.
This guide is for anyone running Windows 11 on a laptop or desktop who wants a specific DNS server for one PC - most often a Smart DNS service, a public resolver, or a work network's resolvers. It covers the current Settings-app flow, the classic adapter dialog that provider guides still use, and the two settings (IPv6 and DNS over HTTPS) that can quietly bypass a manual DNS change. If you are unsure what Smart DNS does first, read What is Smart DNS before you change anything.
This guide is for anyone running Windows 11 on a laptop or desktop who wants a specific DNS server for one PC - most often a Smart DNS service, a public resolver, or a work network's resolvers. It covers the current Settings-app flow, the classic adapter dialog that provider guides still use, and the two settings (IPv6 and DNS over HTTPS) that can quietly bypass a manual DNS change. If you are unsure what Smart DNS does first, read What is Smart DNS before you change anything.
Before you start
- Have both DNS addresses ready. Smart DNS providers publish two server addresses per account; our provider comparison lists the services and what they support, and standalone-only services are compared on the standalone hub.
- If your provider works by IP registration, register the public IP address you browse from before changing anything. Unlocator's setup page makes the point directly: "It is always a good idea to set up your computer first so you can check your setup on your account page" [5].
- Note the current DNS addresses in case you want to go back. A screenshot of the DNS editor is enough.
- Know that DNS is stored per adapter. If the PC switches between Wi-Fi and Ethernet you will repeat these steps twice [2].
Which version do I have?
Windows 11 and Windows 10 use different menu paths, so check the edition first. Microsoft documents the two quickest ways: open Settings > System > About and read the Edition and Version lines, or type winver in the taskbar search box [3]. If About says Windows 11, this guide is the right one. If it says Windows 10, use the Windows 10 guide instead. The full decoder for this brand lives on the Windows PC setup page.
Steps
Step 1: Open the Settings app
Press Windows+i to open Settings, or right-click the Start button and choose Settings [2]. Anything that opens the Settings app works, including searching for Settings from the Start menu.
Menu path: Start > Settings
You should now see: the Settings home page, with System, Bluetooth & devices and other categories listed on the left.
If it doesn't work: if Settings will not open, use the classic dialog instead - press Windows+R, type ncpa.cpl and press Enter to jump straight to the network adapter list, then continue at Step 4's alternative route below.
Step 2: Open Network & internet
In the Settings sidebar, select Network & internet. Microsoft's support article opens its DNS procedure with exactly this step: "Select the Start > Settings > Network & internet" [1]. The taskbar shortcut works too - right-click the network icon and choose Network and internet settings.
Menu path: Settings > Network & internet
You should now see: the Network & internet page with Wi-Fi, Ethernet (if present), VPN, Advanced network settings and other entries.
If it doesn't work: if the left sidebar is missing, the window is too narrow - widen it or open Settings maximized, because the sidebar collapses on small windows.
Step 3: Select Wi-Fi or Ethernet, then your connection
Pick the adapter the PC actually uses. For a wireless connection select Wi-Fi; for a cable connection select Ethernet [1]. On the Wi-Fi page, select the network you are connected to. How-To Geek describes it as clicking the name of the connection "in the list (such as \"Wi-Fi\" or \"Ethernet\")" [2].
Menu path: Network & internet > Wi-Fi > (your network) or Network & internet > Ethernet > (your network)
You should now see: the properties page for that connection, showing status, network profile type, and assignment rows including DNS.
If it doesn't work: if no network is listed under Wi-Fi, the PC is not connected - reconnect first. If Ethernet shows nothing, the cable or adapter is down; fix the connection before changing DNS.
Step 4: Open the DNS editor with Edit
On the connection properties page, find the row labelled DNS server assignment and click Edit beside it [2]. Microsoft's own article currently walks through the equivalent editor one row up - "Next to IP assignment, select Edit" - and its Manual mode covers IP settings as well as the DNS server address [1]. Both routes end in the same DNS editor; the DNS server assignment row is the one that changes only DNS.
Menu path: Wi-Fi (or Ethernet) > your network > DNS server assignment > Edit
You should now see: the Edit DNS settings pop-up with a drop-down at the top showing Automatic (DHCP) or Manual [2].
If it doesn't work: if no Edit row is visible, the provider guides use the adapter dialog instead. Smart DNS Proxy's Windows 11 route goes through "Advanced Network Settings" and then "More network adapter options" [3], and Unlocator's does the same under Related settings [4]. Right-click your connection, choose Properties, and continue at Step 5's alternative route.
Step 5: Switch to Manual and type the DNS addresses
In the Edit DNS settings pop-up, choose Manual from the drop-down, then switch on IPv4 [2]. Type the primary address into Preferred DNS and the secondary into Alternate DNS. Microsoft's wording for these boxes is exact: "To specify a DNS server address, in the Preferred DNS and Alternate DNS boxes, type the addresses of the primary and secondary DNS servers" [1]. Repeat with the IPv6 toggle if your provider publishes IPv6 resolvers.
Menu path: Edit DNS settings > Manual > IPv4 > Preferred DNS / Alternate DNS
You should now see: the IPv4 fields filled with both addresses, and the IPv6 fields empty or filled depending on your plan.
If it doesn't work: in the classic adapter dialog the fields live one level deeper. Unlocator's Windows 11 guide has you select the connection, click Properties, pick Internet Protocol Version 4 (TCP/IPv4), click Properties again, and "Select Use the following DNS server addresses" before entering the two addresses [4]. In that dialog, type only the DNS addresses and leave Obtain an IP address automatically selected unless your network needs a fixed IP.
Step 6: Decide what happens with DNS over HTTPS
Below each DNS address, Windows 11 offers a DNS over HTTPS choice: Off, On (automatic template) or On (manual template), plus a Fallback to plaintext switch. Microsoft defines all of them [1]. Keep it simple for a Smart DNS service: leave DNS over HTTPS set to Off unless the provider documents DoH support. The failure mode matters - Microsoft states that with fallback turned off, "a DNS query won't be sent if it can't be sent over HTTPS" [1], so a DoH setting aimed at a resolver that lacks DoH support can stop name resolution entirely.
Menu path: Edit DNS settings > Manual > DNS over HTTPS > Off
You should now see: the DNS over HTTPS drop-downs reading Off for each enabled address family.
If it doesn't work: if the DoH drop-downs are greyed out, the server has not been recognized as DoH-capable - that is normal for Smart DNS resolvers and not an error.
Step 7: Save and flush the DNS cache
Click Save to close the pop-up; How-To Geek confirms the pop-up closes and the properties page then lists the new servers with their encryption status [2]. Now clear the old answers out of the resolver cache. Microsoft's troubleshooting article lists the cache flush among its reset commands: "Type ipconfig /flushdns and select Enter" [6]. Run it from a Command Prompt window opened from the taskbar search box.
Menu path: Edit DNS settings > Save, then Command Prompt > ipconfig /flushdns
You should now see: "Successfully flushed the DNS Resolver Cache." in the Command Prompt window, and the DNS servers listed with their new addresses on the connection properties page.
If it doesn't work: if Command Prompt says access denied, run it as administrator: type command prompt in search, right-click it, and choose Run as administrator [6].
Verify it works
Open a website that only resolves correctly through the new servers, such as the streaming service your Smart DNS plan covers, and check that it loads the right regional catalogue. Two independent checks make this reliable. First, check the provider's own status display - the Unlocator setup page recommends checking the setup on your account page after configuring the computer [5]. Second, confirm Windows is really using the new resolver: open Command Prompt and run ipconfig /all, then compare the DNS Servers line for your adapter against what you typed. If the site loads but the checker says the provider does not see your IP, the usual cause is the provider not knowing your current public address - re-register it in the provider dashboard, then flush the cache again.
Undo this change
Return everything to automatic: open the same DNS editor, set the drop-down back to Automatic (DHCP) and click Save. Microsoft describes this state as the recommended one, where "the IP address settings and DNS server address setting are set automatically by your router or other access point" [1]. In the classic adapter dialog, the matching step is selecting Obtain DNS server address automatically instead of the manual radio button. Finish with ipconfig /flushdns so the PC stops reusing answers the old resolvers gave it [6].
Common errors on this device
- "Your DNS server might be unavailable" - a Windows troubleshooter report meaning the configured resolver answers nothing. See fix "Your DNS server might be unavailable".
- "The DNS server isn't responding" with the detail "Your computer appears to be correctly configured, but the device or resource (DNS server) is not responding" - the other troubleshooter wording. See fix "The DNS server isn't responding".
- ERR_NAME_NOT_RESOLVED in Chrome - a browser error page, not a Windows message. See fix ERR_NAME_NOT_RESOLVED.
- DNS_PROBE_FINISHED_NXDOMAIN in Chrome - the browser concluding the name does not exist. See fix DNS_PROBE_FINISHED_NXDOMAIN.
The first two appear inside the Windows troubleshooter window; the last two are drawn by the browser itself. Keep that distinction in mind, because a browser error can appear even while Windows-side DNS is working.
Tips and warnings
- IPv6 can bypass your change. If the network hands out IPv6 DNS and you only changed IPv4, Windows may keep asking the old resolver. How-To Geek warns the opposite failure too: "If you configure IPv6 DNS servers on a computer without IPv6 connectivity, this could cause connection problems" [2]. Decide for IPv6 the same way you did for IPv4 in Step 5, and leave the fields empty if you do not have IPv6 resolvers.
- Browsers can bypass Windows entirely. Chrome's secure DNS defaults to automatic mode, but a custom provider stops the fallback to unencrypted lookups [7]. Check it under Settings > Privacy and security > Security > Use secure DNS and set it to the OS default before blaming your DNS change.
- The adapter dialog is the route most Smart DNS provider guides document for Windows 11: Smart DNS Proxy and Unlocator both go through Advanced network settings and the adapter Properties sheet [3] [4]. Their steps are the same mechanics as the Settings-app flow, just aimed at the classic dialog.
- Provider guides often tell Windows users to uncheck IPv6 in the adapter dialog; that turns IPv6 networking off for the adapter, which is a bigger change than it looks. It is not required for DNS to work - treat it as a last resort, and remember to re-enable it afterwards.
FAQ
Can every Windows 11 PC use Smart DNS?
Yes. Manual DNS is a per-adapter network setting that Windows 11 offers on every adapter, so there are no excluded PC models. Microsoft documents the manual flow under Edit IP settings for both Wi-Fi and Ethernet [1]. If you would rather cover every device at once, a router setup does the same job.
Why do I have to set DNS for Wi-Fi and Ethernet separately?
Windows stores DNS per network adapter, not globally. How-To Geek notes that after changing one adapter you may need to repeat the steps for the other one, for example Ethernet if you already set Wi-Fi [2].
What is the difference between Preferred DNS and Alternate DNS?
Preferred DNS is the primary server your PC asks first and Alternate DNS is the secondary server it uses as a fallback. Microsoft describes entering the primary and secondary DNS servers in exactly those two boxes [1].
Should I turn on DNS over HTTPS for a Smart DNS service?
Only if the provider documents DoH support. Microsoft offers three DoH states plus a Fallback to plaintext switch, and warns that with fallback turned off a query will not be sent if it cannot be sent over HTTPS [1]. For a typical Smart DNS resolver, leave DNS over HTTPS set to Off unless the provider says otherwise.
My browser ignores the DNS change. Why?
Chrome can resolve names through its own secure DNS instead of the system setting. Google's help page explains that a custom provider stops Chrome from falling back to unencrypted lookups [7], so a browser with a custom DoH provider never asks your Windows DNS servers. Set Use secure DNS to off or to the OS default, then retest.
Do I need to restart the PC after changing DNS?
The Settings-app flow does not require a restart. Some provider guides written for the classic adapter dialog still end with a restart step [3], and flushing the DNS cache after the change is a good idea either way [6].
Need a provider first? The comparison table has the live values:
Sources
- Microsoft Support - Essential network settings and tasks in Windows - accessed 2026-11-23
- How-To Geek - How to Change DNS Servers on Windows 11 - accessed 2026-11-23
- Smart DNS Proxy Support - Windows 11 Setup for Smart DNS Proxy - accessed 2026-11-23
- Unlocator Support - How to Set Up DNS on Windows 11 - accessed 2026-11-23
- Unlocator - Setup guides (check your setup on your account page) - accessed 2026-11-23
- Microsoft Support - Fix Wi-Fi connection issues in Windows - accessed 2026-11-23
- Google Chrome Help - Manage Chrome safety and security (secure DNS) - accessed 2026-11-23