How to Change DNS on Your Router (2026 Guide)

How to Change DNS on Your Router (2026 Guide)

How to Change DNS on Your Router (2026 Guide)

How to Change DNS on Your Router (2026 Guide)

Every time someone types a web address, a quiet lookup happens in the background. That lookup is handled by a DNS resolver, and by default it is almost always the one your internet provider assigned. In most homes, nobody ever changes it. Yet switching to a faster or more privacy-focused resolver is one of the few router tweaks that takes about five minutes and affects every phone, laptop, TV, and smart speaker on the network at once.

There is a catch, though. Router firmware menus vary wildly, IPv6 can quietly override your changes, and a single device with a hardcoded DNS server will ignore everything you just did. This guide walks through the process in a way that actually holds up in practice, including the mistakes that trip up even experienced users.

What DNS actually does, in plain terms

DNS, or the Domain Name System, is the internet’s phone book. Computers talk in numbers (IP addresses), and humans talk in names. DNS translates one into the other. When the lookup is slow, pages feel sluggish before a single byte of content loads. When the resolver is unreliable, sites fail to open even though the connection is fine.

The resolver your ISP provides is not necessarily bad. It is just not necessarily the best option for speed, logging policy, or filtering. Changing it is reversible, costs nothing, and requires no new hardware.

Why bother changing it at all

Why bother changing it at all

Three practical reasons come up again and again.

Speed. A resolver that answers in a few milliseconds instead of tens of milliseconds makes browsing feel snappier, particularly on sites that load resources from many different domains. The gain is real but modest; it will not fix a slow connection.

Privacy. Every DNS query reveals which sites you visit, even if the traffic itself is encrypted. Some public resolvers publish no-logging policies, which shifts who sees that metadata. It is worth reading those policies directly rather than trusting a summary.

Filtering and control. Some resolvers block malware domains or adult content at the network level, which is handy for households with kids. Others offer none, prioritizing raw speed.

A fourth reason is bypassing ISP-level DNS hijacking, where a provider redirects mistyped addresses to its own search page. That behavior is annoying and occasionally misleading.

Before you touch anything: the two-minute prep

Two things save a lot of grief.

First, write down your current DNS settings. If something breaks, you can restore them instantly. Second, confirm you can log into the router’s admin panel. The address is usually printed on a sticker on the device, along with the default username and password.

Common admin addresses include 192.168.0.1, 192.168.1.1, 192.168.1.254, and 10.0.0.1. If none of those work, check the sticker or the manual. If you have a combined unit, the setup differs slightly from a standalone router, so it helps to know which best modem router combo style of device you own before diving into menus.

One warning that matters: if you are on an ISP-supplied router, the DNS fields may be greyed out or reset themselves after a reboot. That is not you doing it wrong. Some providers lock those settings deliberately.

Step-by-step: changing DNS on the router

The exact menu labels differ by brand and firmware version, but the logic is nearly universal.

  • Connect to the network. Use Wi-Fi or an Ethernet cable. Wired is safer if you are about to reboot the router.

  • Open the admin panel. Type the router’s IP address into a browser and log in.

  • Find the DNS section. Look under LAN, DHCP, Network, Internet, or WAN settings. On many routers, DNS lives in two places: one for the router’s own upstream lookups (WAN) and one handed to devices via DHCP (LAN).

  • Enter the primary and secondary addresses. Two entries are standard: a primary and a backup.

  • Save and apply. The router will usually restart its network services.

  • Reboot the router. A full power cycle clears stale state more reliably than a soft apply.

  • Flush DNS on your devices. On Windows, run `ipconfig /flushdns` in a command prompt. On macOS, the flush command varies by version. Phones usually need airplane mode toggled or a restart.

  • Verify. Visit a DNS leak test page to confirm which resolver your traffic is actually reaching.

That last step is not optional. Plenty of people change the setting, assume it worked, and never check. Verification is the difference between a change and a belief.

Where the settings hide, by brand

Menu paths shift with every firmware release, so treat this table as a starting point rather than gospel.

Brand Typical path Notes
TP-Link Advanced > Network > DHCP Server DNS often set per-DHCP pool
Netgear Internet Setup > Domain Name Server WAN-level, applies network-wide
Asus WAN > Internet Connection > DNS Server Also has LAN DHCP DNS fields
Linksys Connectivity > Local Network Varies by firmware generation
D-Link Setup > Network Settings Manual DNS toggle required
Google Nest Wifi Advanced Networking > DNS App-based, no browser panel

If your model is not listed, search for the model number plus “DNS settings.” Vendor documentation is more reliable than generic guides because firmware menus change without notice.

Which DNS servers should you use?

The three most commonly recommended public resolvers are well known and widely documented.

Provider Primary Secondary Notable trait
Google Public DNS 8.8.8.8 8.8.4.4 Long-running, widely supported
Cloudflare 1.1.1.1 1.0.0.1 Privacy-forward positioning
Quad9 9.9.9.9 149.112.112.112 Malware blocking by default

Google’s service has been running since 2009, Cloudflare’s since 2018, and Quad9 since 2017. All three publish setup instructions and privacy policies on their own sites, and those pages are the ones to trust over any third-party summary, including this one.

There is no universal “fastest” option. Latency depends on where you live and which data centers are nearby. A resolver that is quick in one city can be sluggish in another. The honest approach is to try one for a few days, then try another, and compare how pages feel. Tools exist that benchmark resolvers from your own connection, and they are more useful than any global ranking.

The IPv6 trap almost everyone falls into

Here is the mistake that quietly wastes people’s time. If your network uses IPv6, the router may hand out IPv6 DNS servers through router advertisements or DHCPv6. Change only the IPv4 entries, and devices may keep using the old IPv6 resolver without any visible error.

The fix is to check for a separate IPv6 DNS field and update it too, or to disable IPv6 DNS distribution if your router allows it. Behavior here is genuinely inconsistent across firmware, so test after changing rather than assuming.

A second trap: devices with manually configured DNS ignore the router entirely. If someone once set 8.8.8.8 on a laptop’s network adapter, that laptop will keep using it no matter what the router says. Check individual devices if one machine behaves differently from the rest.

A third: encrypted DNS on the client side. Browsers and operating systems increasingly use DNS-over-HTTPS, which can bypass the router’s settings completely. If a browser has its own secure DNS enabled, it may not use the resolver you configured. That is not a bug; it is a design choice, and it is worth knowing about. The same encryption trend shows up across the wider tech stack, from browsers to the kind of infrastructure shifts discussed in this analysis of how quantum computing could change artificial intelligence, where protocol-level changes ripple outward in ways users never see directly.

Router-level versus per-device DNS

Both approaches work. They solve different problems.

Approach Covers Best for
Router-level Every device on the network Households, smart TVs, consoles
Per-device One machine only Testing, work laptops, locked ISP routers
Both Full coverage plus override Mixed networks with stubborn devices

Router-level is the usual recommendation because it catches devices that offer no DNS settings at all, like streaming sticks and smart bulbs. Per-device is the fallback when the router refuses to cooperate.

What actually works in practice

A few habits separate a smooth change from a frustrating afternoon.

Change one thing at a time. Set the primary and secondary, save, reboot, test. Do not also fiddle with firewall rules in the same session.

Keep the secondary resolver from the same provider. Mixing providers is fine, but a mismatched pair can produce inconsistent filtering behavior, which is confusing to diagnose.

Expect a brief outage. Applying DNS settings usually drops the connection for a few seconds. Do not panic-refresh.

Test on more than one device. If the phone shows the new resolver but the laptop does not, the laptop has a local override.

Remember what DNS does not do. Changing resolvers does not encrypt your traffic, does not hide your IP address, and does not make an slow connection fast. Plain DNS queries are still visible to your provider unless you use an encrypted protocol. Privacy gains depend on the resolver’s stated policy, and those policies deserve a direct read.

Do not chase marginal gains forever. The difference between two reputable resolvers is usually small. Pick one, verify it, and move on.

If you enjoy the tinkering side of networking, third-party firmware such as OpenWrt or Asuswrt-Merlin adds DNS-over-HTTPS and DNS-over-TLS support that stock firmware often lacks. It also adds complexity and risk. For most households, the built-in settings are enough.

When the change does not stick

If the leak test still shows your ISP’s resolver after all of the above, work through this list in order. (What Does ICANN Do?)

  • Confirm the setting was saved after you typed it.

  • Check whether the router has separate WAN and LAN DNS fields and whether both are set.

  • Look for IPv6 DNS entries and update them.

  • Check the device for a manual DNS override.

  • Check the browser for its own secure DNS setting.

  • Reboot the router with a full power cycle.

  • If the fields are locked, the ISP controls them. Per-device DNS or bridge mode with your own router is the workaround.

That last scenario is more common than guides admit. Locked firmware is a real constraint, not user error.

A quick note on security hygiene while you are in there

Since you are already logged into the admin panel, two small tasks are worth doing. Change the default admin password if it is still the one on the sticker. And check whether remote administration is enabled; if it is and you do not need it, turn it off. These take a minute and matter more than most DNS tweaks.

The same principle of layered defense applies across the tech world. Security researchers repeatedly find that small misconfigurations, not exotic attacks, cause the most damage, a pattern visible in coverage of incidents like the php2shell crypto exchanges risk analysis from SlowMist. Basic configuration discipline goes a long way.

Conclusion

Changing DNS on a router is genuinely a five-minute job: log in, find the DNS fields, enter two addresses, save, reboot, flush, and verify. The complexity lives entirely in the edge cases, which is why so many people think they have changed their DNS when they have not. IPv6 entries, per-device overrides, browser-level encrypted DNS, and locked ISP firmware are the four usual suspects.

Pick a reputable resolver, check its privacy policy on its own site, confirm the change with a leak test, and then leave it alone. The improvement is real but modest, and the best outcome is that you forget you ever changed it.

Frequently asked questions

Does changing DNS actually make my internet faster?

It can make lookups faster, which speeds up the moment before a page starts loading. It will not increase your bandwidth. If downloads are slow, DNS is not the cause.

Will changing DNS break my internet connection?

Rarely, and only if the addresses are typed incorrectly or the resolver is unreachable. Keep a note of your original settings so you can restore them in under a minute.

Do I need to change DNS on every device after doing it on the router?

No. Devices that get their network settings automatically from the router will pick up the new DNS. Devices with manually configured DNS will not, and those need individual attention.

Why does my DNS leak test still show my ISP?

The most common causes are an unchanged IPv6 DNS entry, a device-level override, a browser using its own encrypted DNS, or an ISP router that resets the setting. Work through them in that order.

Is a public DNS resolver more private than my ISP’s?

It depends on the resolver’s logging policy and your ISP’s practices. A public resolver shifts who can see your lookup data; it does not eliminate visibility. Read the provider’s own policy before assuming anything.

Can I use DNS to block ads or adult content?

Some resolvers offer filtering that blocks malware or adult domains network-wide. It is coarser than browser-based ad blocking and can occasionally block legitimate sites, but it covers devices that cannot run an ad blocker at all.

on this page