Updated on

To change router DNS, sign in to the router’s settings and replace the DNS server addresses in the relevant internet or DHCP settings. Record the old values first. The exact menu depends on the model, and some devices or browsers may use their own DNS instead.
How to tell whether a DNS change reached your device
Suppose you set a new resolver on your home router but Windows still reports the router’s local address as the DNS server. That can be correct. A router can accept DNS requests from your devices and forward them upstream. If it instead distributes the resolver’s address through DHCP, a reconnected device may display the provider’s address directly.
- Write down which menu you changed and its old values. A setting under Internet/WAN may control the router’s upstream resolver. A setting under LAN/DHCP may control what it advertises to clients.
- Reconnect one test device to the network. In Windows, run
nslookup example.comand read the Server and Address lines. They identify the server answering that tool, which can be the router itself. - If the provider offers a test page, open it in your browser. A browser configured with a custom secure DNS provider, or a VPN with its own DNS policy, may give a different result. Check those settings before editing the router again.
To undo the test, restore the original entries in the same menu and reconnect the device. For provider-specific instructions, see Google’s router and device DNS setup guide.
How to change DNS on your router
- Connect to your own router and open the management address shown in its manual or network settings.
- Record the original DNS values or the Automatic/Obtain from ISP setting.
- Find the DNS section under Internet, Network, LAN or DHCP, following the exact model’s instructions. If both menus are available, see which DNS setting to change. If the fields are locked, use the per-device steps below.
- Enter the chosen provider’s correct primary and secondary addresses. Check IPv6 settings if relevant.
- Save or apply the change. Follow any restart instruction shown by the router.
- Reconnect a test device or renew its connection if it still has an old DHCP configuration.
TP-Link’s router guide shows why menus differ, while its Deco guide separates WAN and LAN methods. Cloudflare’s resolver setup guide is one provider’s example, not a guarantee it is fastest for you.
What will changing DNS do?
DNS helps turn a name such as a website address into the address needed to reach it. A different resolver may help with a faulty lookup service, filtering choices or a particular connection problem. It does not increase your contracted bandwidth or fix weak Wi-Fi and mobile coverage.
For a mobile-internet setup, our 4G and 5G router guide explains why the radio connection and data plan still matter.
WAN DNS and DHCP DNS are different settings
| Setting | Usual role |
|---|---|
| Internet/WAN DNS | Resolvers used by the router or its upstream connection. |
| LAN/DHCP DNS | Resolver addresses offered to devices obtaining network settings automatically. |
| IPv6 DNS | DNS configuration for IPv6-capable connections. |
| Device, browser or VPN DNS | May override or bypass the router’s suggested resolver. |
Some routers give devices the router’s own address and forward requests upstream. Others hand out the chosen resolver addresses directly. Do not assume that one screen controls every device in every model.
Check what the device actually uses
Open several sites and check the network’s DNS details. On Windows, ipconfig /all shows configured adapter DNS addresses; a query with nslookup example.com shows the server that tool contacts. Seeing the router’s local address can be normal when it forwards queries.
Also review Secure DNS/DNS-over-HTTPS in the browser, any manually configured device DNS and active VPN software. A browser using its own encrypted resolver may not follow the router’s choice. Changing resolver addresses alone does not encrypt all internet traffic.
If websites stop opening
Restore the saved values or automatic DNS, apply the change and reconnect the test device. Check for typing errors before changing more settings. If the problem affects a whole service or region, our NetBlocks guide explains how wider outage reports differ from a fault inside your home.
Frequently asked questions
What if my ISP router locks the DNS settings?
Some ISP routers have fixed DNS settings. In that case, you can choose a resolver on each device you manage, as described in Google’s setup guide.
- On Windows 11, open Settings → Network & internet and select the Wi-Fi or Ethernet connection you use.
- Next to DNS server assignment, select Edit and choose Manual. Turn on IPv4 if you plan to enter IPv4 addresses.
- Enter your provider’s preferred and alternate addresses, then save and test the connection. For example, Cloudflare’s Windows setup lists
1.1.1.1and1.0.0.1for its standard resolver.
How do I undo a DNS change on a Windows 11 device?
Open DNS server assignment again. If the device originally got DNS settings from the router, select Automatic (DHCP) and save. If it already used manual DNS, restore the addresses you recorded.