How to Change Router DNS for Faster Browsing & Privacy
Default ISP DNS resolvers are often slow under peak load, lack malware filtering, and log queried hostnames. Configuring custom DNS directly on your router pushes faster, cleaner name resolution automatically to every phone, smart TV, and console on your Wi-Fi network.
Recommended Public DNS Resolvers
| DNS Provider | Primary IPv4 | Secondary IPv4 | Key Benefit |
|---|---|---|---|
| Cloudflare | 1.1.1.1 |
1.0.0.1 |
Lowest anycast latency, 24h privacy purge |
| Google Public DNS | 8.8.8.8 |
8.8.4.4 |
Global stability and DNSSEC validation |
| Quad9 | 9.9.9.9 |
149.112.112.112 |
Automatic malicious domain & phishing blocking |
| AdGuard DNS | 94.140.14.14 |
94.140.15.15 |
Network-wide ad & tracker domain blocking |
How to Apply Custom DNS on Your Router
- Open your router settings page and navigate to Internet, WAN, or Advanced › Network › DNS. (Some ISP gateways restrict WAN DNS; check LAN › DHCP Server primary DNS instead.)
- Switch DNS selection from Get Automatically from ISP to Use These DNS Servers (or Manual).
- Type your chosen Primary DNS (such as
1.1.1.1) and Secondary DNS (1.0.0.1). If your router supports DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT), enable it to encrypt queries from ISP snooping. - Save settings and flush OS DNS caches (
ipconfig /flushdnson Windows orsudo dscacheutil -flushcacheon macOS), or test live record responses using our DNS Propagation Checker.
FAQs
Does changing router DNS affect local devices like 192.168.1.1?
No. Local gateway IPs do not rely on external DNS, though if your router firmware uses custom local hostnames like routerlogin.net or tplinkwifi.net, configure custom DNS under the WAN/Internet tab rather than overriding LAN DHCP DNS if local domain interception occurs.
Why does my ISP router grey out the DNS settings?
Some carrier-supplied gateways (Xfinity xFi, AT&T BGW320) lock WAN DNS fields; in that case configure DNS inside individual devices or attach your own personal router in Bridge/Passthrough mode.
The Bottom Line
Set Primary and Secondary DNS under your router's WAN or DHCP Server settings to 1.1.1.1/1.0.0.1 for speed or 9.9.9.9 for malware filtering, then flush client caches.
Default Gateway Directories & Subnets
Access login sheets and diagnostic consoles for major RFC 1918 private gateway subnets:
Router Manufacturer Portals
Browse factory default credentials, setup guides, and model databases by brand: