How to Change DNS Settings on Any Router (1.1.1.1, 8.8.8.8 & DoH)
Changing DNS server settings on your router forces every smartphone, laptop, smart TV, and IoT gadget on your home network to bypass slow ISP resolvers in favor of fast, privacy-focused public DNS servers like Cloudflare (1.1.1.1), Google (8.8.8.8), or Quad9 (9.9.9.9). Updating DNS centrally on the router WAN or DHCP settings page also enables encrypted DNS-over-TLS and DNS-over-HTTPS protection network-wide.
- One Router Change Covers Every Device: Smart TVs, gaming consoles, and smart plugs automatically inherit the new DNS servers via DHCP without manual device edits.
- Disable 'Get DNS from ISP Automatically': On ASUS, TP-Link, and Netgear routers, look under WAN → Internet Connection to override default ISP resolvers.
- Enable DoT or DoH Encryption When Available: DNS-over-TLS (port 853) and DNS-over-HTTPS (port 443) prevent your ISP from inspecting or hijacking plain-text DNS queries.
- Flush Client Caches After Saving: Reboot client Wi-Fi or run
ipconfig /flushdnsso devices pick up the faster resolver immediately.
Why Replace Your ISP's Default DNS Server?
Every time you type a website name or open an app, your device queries a Domain Name System (DNS) resolver to translate the domain into an IP address. By default, your router forwards those queries to your broadband provider's DNS servers.
ISP resolvers frequently suffer from slow cache updates, periodic outages ('DNS Server Not Responding'), and lack encrypted DNS support—allowing ISPs to log every domain visited by your household. Switching to anycast public resolvers like Cloudflare (1.1.1.1) or Quad9 (9.9.9.9) cuts lookup latency to 8–15ms and adds built-in malware filtering.
WAN DNS vs LAN DHCP DNS: Which Field Should You Edit?
Most routers expose DNS inputs in two places. Understanding the difference prevents configuration mistakes:
- WAN / Internet DNS (Recommended for Most Users): Clients send DNS queries to your router (
192.168.1.1), and the router forwards them upstream to1.1.1.1. This lets your router cache frequent lookups in local RAM and wrap queries in DNS-over-TLS (DoT). - LAN / DHCP Server DNS (Required for Pi-hole / AdGuard Home): Instructs DHCP to hand out a custom DNS IP directly to phones and PCs. Use this if pointing devices to a local Raspberry Pi ad-blocker (e.g.,
192.168.1.50) so Pi-hole logs individual client IPs accurately.
Brand-by-Brand Menu Paths (ASUS, TP-Link, Netgear, eero, UniFi)
- ASUS (ASUSWRT / Merlin): Log into
192.168.50.1→ WAN → Internet Connection → WAN DNS Setting → Set Connect to DNS Server automatically to No → Enter1.1.1.1and8.8.8.8. For encryption, select DNS-over-TLS (DoT) under DNS Privacy Protocol. - TP-Link Archer / Deco: In Archer web UI (
192.168.0.1), go to Advanced → Network → Internet → Advanced Settings → Use the Following DNS Addresses. In Deco App: More → Advanced → IPv4 → DNS Address. - Netgear Nighthawk / Orbi: Log into
192.168.1.1→ Internet → Domain Name Server (DNS) Address → Select Use These DNS Servers and click Apply. - Amazon eero: Open eero App → Settings → Network settings → DNS → Custom DNS. (Note: disable eero Plus advanced security if custom DNS fields are locked).
- Ubiquiti UniFi: Open UniFi Network → Settings → Internet → Primary WAN → DNS Server (uncheck Auto) or enable Encrypted DNS (DoH) under CyberSecure / Security.
Choosing the Best Public DNS Provider for Your Needs
Pair a primary and secondary IP from different providers or matching security tiers so lookups never stall if one node goes down for maintenance:
Verification Test: After saving, open Command Prompt or Terminal and run nslookup packetsaver.com. If your router is configured in WAN DNS mode, visit https://1.1.1.1/help in a browser to confirm Connected to 1.1.1.1: Yes and verify DoT/DoH status.
Top Public IPv4 & IPv6 DNS Resolvers Compared
| DNS Provider | Primary / Secondary IPv4 | Security & Filtering | Encrypted DoT Hostname |
|---|---|---|---|
| Cloudflare (Fastest) | 1.1.1.1 / 1.0.0.1 | No filtering (Pure speed & privacy) | one.one.one.one |
| Cloudflare Malware Block | 1.1.1.2 / 1.0.0.2 | Blocks known malware & phishing domains | security.cloudflare-dns.com |
| Cloudflare Family | 1.1.1.3 / 1.0.0.3 | Blocks malware + adult content | family.cloudflare-dns.com |
| Quad9 Security | 9.9.9.9 / 149.112.112.112 | Threat intelligence malware blocking | dns.quad9.net |
| Google Public DNS | 8.8.8.8 / 8.8.4.4 | No filtering (High global uptime) | dns.google |
Router DNS Update & Verification Checklist
- Log into your router web admin panel and navigate to WAN / Internet Connection settings.
- Uncheck 'Get DNS Server from ISP Automatically' and enter Primary (1.1.1.1) and Secondary (8.8.8.8).
- Update IPv6 DNS servers (2606:4700:4700::1111) if IPv6 is enabled on your connection.
- Enable DNS-over-TLS (DoT) or DNS-over-HTTPS (DoH) if supported by your router firmware.
- Save settings and flush OS DNS caches on Windows via
ipconfig /flushdns. - Verify active resolver and encryption status at 1.1.1.1/help or via
nslookup.
Frequently Asked Questions
Does changing DNS on my router make my internet download speed faster?
Changing DNS does not increase your ISP bandwidth (e.g., 300 Mbps stays 300 Mbps), nor does it lower in-game ping once connected. However, it noticeably speeds up web browsing responsiveness because pages load domains 20–50ms faster before content begins downloading.
Why did my browser ignore my router's new DNS settings?
Modern browsers like Chrome, Edge, and Firefox often enable 'Use Secure DNS (DoH)' internally by default, bypassing your router's DNS relay. Additionally, if IPv6 is enabled on your ISP connection without updating IPv6 DNS on the router, devices will still query your ISP over IPv6.
Can I change DNS if I use my ISP's modem/router (Xfinity or AT&T)?
Most locked-down ISP gateways (like Xfinity XB7/XB8 and AT&T BGW320) hide or lock WAN DNS fields. To use custom DNS, either change DNS individually inside Windows/macOS network adapters, or put the ISP gateway in Bridge Mode / IP Passthrough and use your own router.
Is 1.1.1.1 better than 8.8.8.8?
In independent global DNS benchmarks, Cloudflare (1.1.1.1) consistently averages slightly lower latency (10–14ms) and commits to purging query logs within 24 hours. Google (8.8.8.8) is also extremely fast and reliable—setting 1.1.1.1 as Primary and 8.8.8.8 as Secondary gives you the best of both.
Related Router Setup & Engineering Guides
- WiFi Connected Without Internet: 6 Ways to Fix No Internet Access — Fix WiFi connected without internet errors on Windows and Mac. Diagnose APIPA 169.254 IPs, gateway ping drops, DNS timeouts, and router lease lockups.
- Guest WiFi Setup & IoT Isolation: Prevent Smart Home Breaches — Configure secure guest WiFi and isolate vulnerable IoT smart home devices from your private LAN using subnet segmentation and client isolation rules.
- How to Log Into Your Router Admin Panel (192.168.1.1 & Gateway Fixes) — Log into your router admin page at 192.168.1.1, 192.168.0.1, or 10.0.0.1. Find your default gateway IP on Windows and Mac and fix login timeout errors.
- How to Set Up a Router — Set up a home or small office router from scratch: connect WAN/ONT cables, release ISP DHCP leases, configure WPA2/WPA3 WiFi, and harden admin access.