Changing DNS settings tells Windows which Domain Name System (DNS) servers to ask when converting a website name, such as example.com, into an address computers can use. You might switch servers to troubleshoot name-resolution problems or use a DNS provider you prefer. Before you begin, choose a reputable provider and note your current settings so you can restore them if needed. The steps below cover Windows 11 and Windows 10.
What You’ll Need
- A Windows 11 or Windows 10 computer and permission to change its network settings. You may need an administrator account.
- The DNS server addresses from a provider you trust. For example, Cloudflare lists 1.1.1.1 and 1.0.0.1 for IPv4, while Google Public DNS lists 8.8.8.8 and 8.8.4.4. These are examples, not requirements.
- A working internet connection and a way to identify the connection you are changing, such as Wi-Fi or Ethernet.
- Your current DNS configuration, if it was entered manually. A screenshot or written note makes it easy to switch back.
A DNS provider may receive information about the domain names your device looks up. Changing DNS does not hide your internet activity, encrypt all traffic, or replace a VPN. Review the provider’s privacy information before choosing it.
Step-by-Step
- Choose whether to change one device or your whole network. The instructions here change DNS on this Windows computer only. Other phones and computers will keep their existing settings. If you want the change to apply to every device on your home network, you may instead configure DNS in your router; router menus vary by model, and some internet providers manage this setting for you.
- Record the current configuration. If DNS is set to automatic, make a note of that. If there are existing server addresses, copy them exactly or take a screenshot. Changing a work-managed computer or a network with custom DNS may disrupt access to internal sites, printers, or company services, so check with the administrator first.
- Open the connection settings in Windows 11. Select Start, open Settings, then choose Network & internet. Select Wi-Fi if you are connected wirelessly, or Ethernet if you use a cable. For Wi-Fi, open the properties for the connected network or select the network name and its properties. Find DNS server assignment and select Edit. The wording or layout can differ slightly between Windows updates.
- Set a manual IPv4 DNS server in Windows 11. In the edit window, change the setting from Automatic (DHCP) to Manual, then turn on IPv4. Enter the provider’s preferred address in Preferred DNS and, if supplied, its second address in Alternate DNS. Check each number carefully; an extra digit or a misplaced period can prevent lookups. Leave IPv6 off in this window unless you have IPv6 DNS addresses you intend to use.
- Save and optionally configure encrypted DNS. Select Save to apply the Windows 11 settings. If an option for DNS over HTTPS appears, choose the provider’s supported automatic or encrypted setting where available. DNS over HTTPS encrypts DNS requests between your device and a compatible DNS server, but it does not encrypt unrelated web traffic. If Windows does not offer the option for your selected server, ordinary DNS can still work; do not enter a made-up encryption template.
- Change DNS in Windows 10. Open Start > Settings > Network & Internet. Choose Wi-Fi or Ethernet, then select Change adapter options. In the window that opens, right-click the active connection and choose Properties. Select Internet Protocol Version 4 (TCP/IPv4), then choose Properties. Select Use the following DNS server addresses and enter the preferred and alternate IPv4 addresses. Select OK, then Close. If the adapter list contains several connections, change the one currently carrying your internet connection.
- Handle IPv6 only if you have the right addresses. Windows may also use IPv6. If your provider supplies IPv6 DNS addresses and your network uses IPv6, you can configure them separately. In Windows 10, open the same adapter Properties window, select Internet Protocol Version 6 (TCP/IPv6), and enter the supplied addresses. In Windows 11, use the IPv6 controls if they are available. Do not copy IPv4 values into an IPv6 field. If you are unsure whether IPv6 is in use, leave its DNS configuration alone and test the IPv4 change first.
- Reconnect and test browsing. Disconnect and reconnect to Wi-Fi, or briefly disable and re-enable the Ethernet adapter if needed. Open a few familiar websites in a browser. You can also open Command Prompt and run
nslookup example.com. The command should return an address and may show which DNS server answered. A successful lookup confirms DNS is responding, but it does not guarantee every website or app is working. - Return to automatic DNS if necessary. In Windows 11, edit DNS server assignment and select Automatic (DHCP), then save. In Windows 10, reopen the IPv4 Properties window and select Obtain DNS server address automatically. If you changed IPv6 too, restore its previous setting as well. Reconnect and test again. Automatic DNS usually lets your router or network provide the appropriate servers.
Common Mistakes
- Entering the wrong address. DNS addresses are easy to mistype. Compare every group and punctuation mark with the provider’s published instructions. Avoid adding spaces or typing an IP address into the wrong field.
- Mixing unrelated providers. The preferred and alternate entries are fallback servers, not necessarily a primary and backup from different services. Use the pair recommended by one provider unless you understand the consequences of mixing them.
- Changing the wrong adapter. A computer can list Wi-Fi, Ethernet, VPN, and virtual adapters at once. Update the connection you actually use. Changing an inactive adapter may have no visible effect.
- Overlooking IPv6 or managed settings. A device or network may use both IPv4 and IPv6, and some organizations enforce DNS through policy or VPN software. A manual IPv4 change may not control every lookup in those cases. Do not disable IPv6 as a general fix; check with your network administrator if the settings are controlled.
- Expecting DNS to fix every connection issue. DNS only handles name lookups. It cannot fix a broken Wi-Fi signal, an expired account, a website outage, or a general loss of internet access.
Tips
- Use the server addresses published by the DNS provider, not addresses copied from an unfamiliar forum or advertisement. Check them again if the provider changes its service details.
- Test one change at a time. Record the original values, change the active adapter, and confirm the result before adjusting IPv6, router settings, or browser settings.
- Consider the trade-off between convenience and privacy. A new DNS provider may offer features such as filtering or encrypted DNS, but the provider can still receive DNS queries. Read its policies and understand what a filtering feature may block.
- If the computer uses a VPN, test DNS while the VPN is connected and disconnected. VPN software can direct DNS requests through its own servers or prevent manual settings from taking effect.
- For Windows 11, the network settings page may show whether DNS is automatic or manual. Keep a note of the provider and addresses you selected, especially if you troubleshoot several devices.
Troubleshooting
Websites stop loading after the change: Check the addresses for typing errors, confirm you edited the active connection, and reconnect. If access does not return, restore Automatic (DHCP) or the original server addresses. This quickly shows whether the manual DNS configuration caused the problem.
Some websites work but others do not: Run nslookup for a site that fails, then try another DNS provider’s documented addresses or temporarily return to automatic DNS. A cached result, provider filtering, or a temporary problem at a particular DNS server can affect only some names. Also test the site on another device to determine whether the issue is limited to this PC.
Windows says the DNS server is not responding: Check that the computer is online, then verify the preferred and alternate addresses. Try the other server in the provider’s pair. If neither responds, restore automatic DNS and restart the router only if it is safe to do so and you have permission. A router restart briefly disconnects other people and devices on the network.
The setting is missing, locked, or changes back: Confirm you are editing the correct Wi-Fi or Ethernet connection. A work or school administrator, VPN, security product, router, or Windows policy may manage DNS and overwrite local changes. Avoid repeatedly forcing the setting; contact the administrator or check the relevant software’s network configuration.
A command returns a result but browsing still fails: DNS may be working while the browser, proxy, firewall, or internet connection has a separate issue. Try another browser and verify that other apps can connect. If only one site fails, check whether that site is available rather than changing DNS repeatedly.
Frequently Asked Questions
What DNS address should I use on Windows?
Use addresses published by a DNS provider you trust. Cloudflare’s commonly listed IPv4 pair is 1.1.1.1 and 1.0.0.1; Google Public DNS lists 8.8.8.8 and 8.8.4.4. Your network administrator or internet provider may recommend different servers.
Will changing DNS make my internet faster?
It may make some domain lookups feel quicker if the new server responds faster from your location, but it will not increase your connection’s bandwidth. The effect varies by network, provider, and website, and may be hard to notice.
Is it safe to change DNS settings?
It is generally reversible when you use legitimate server addresses, but DNS providers can see the names your device requests. Choose carefully, keep a record of the original setting, and use automatic DNS again if something stops working.
Should I change DNS on my computer or router?
Change it on the computer if you only want that device to use different DNS servers. Change it on the router if you want compatible devices across the home network to receive the setting. Router behavior varies, and some devices can use their own DNS configuration.
How do I know whether the change worked?
Browse to familiar sites and run nslookup example.com in Command Prompt. The command should resolve the name and display a responding server. If you need to verify more precisely, compare the reported server with your chosen provider, while remembering that VPNs and network policies can affect which server is used.