Why Change DNS on Your Router?
Configuring DNS on your router rather than on individual devices is the most efficient approach for a home network. Instead of updating settings on every phone, laptop, tablet, and smart TV separately, one change on the router applies to every device that connects to your Wi-Fi automatically.
Common reasons to change your router's DNS include:
- Faster DNS resolution with a high-performance public resolver
- Improved privacy by moving away from your ISP's default DNS
- Network-wide malware and phishing domain blocking
- Parental controls via filtering DNS providers
- Using a self-hosted ad blocker like Pi-hole or AdGuard Home
Before You Start
You'll need:
- Access to your router's admin panel (usually via a web browser)
- Your router's local IP address (commonly
192.168.1.1or192.168.0.1) - The admin username and password (check the label on your router if you haven't changed it)
- The DNS server addresses you want to use
Popular Public DNS Servers
| Provider | Primary DNS | Secondary DNS | Focus |
|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | Speed & privacy |
| 8.8.8.8 | 8.8.4.4 | Reliability | |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Security & malware blocking |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | Filtering & family safety |
| Cloudflare (family) | 1.1.1.3 | 1.0.0.3 | Ad & malware blocking |
Step-by-Step: Changing DNS on Common Routers
Step 1: Access Your Router Admin Panel
- Open a web browser on a device connected to your home network.
- Type your router's IP address into the address bar (try
192.168.1.1or192.168.0.1). You can find your router's IP by checking your device's network settings under "Default Gateway." - Enter your admin username and password.
Step 2: Find the DNS Settings
The location of DNS settings varies by router brand. Here's where to look:
- TP-Link: Advanced → Network → DHCP Server → DNS settings
- Netgear: Advanced → Setup → Internet Setup → Domain Name Server (DNS) Address
- ASUS: WAN → Internet Connection → WAN DNS Setting
- Linksys: Connectivity → Local Network → DHCP Server → Static DNS 1/2
- D-Link: Settings → Internet → DNS Settings
If you can't find it, search for "DNS" in your router's search bar (if it has one) or consult your router's manual.
Step 3: Enter Your DNS Addresses
- Look for fields labeled Primary DNS (or DNS 1) and Secondary DNS (or DNS 2).
- Enter your chosen DNS server addresses. For example, for Cloudflare: Primary
1.1.1.1, Secondary1.0.0.1. - Some routers have a separate option to use a custom DNS vs. getting one automatically from your ISP — make sure to select "Use the following DNS server addresses" or equivalent.
Step 4: Save and Apply
- Click Save or Apply.
- Your router may reboot, or it may apply the settings immediately.
- Reconnect your devices if necessary — they should now use the new DNS automatically via DHCP.
Step 5: Verify the Change
To confirm the new DNS is working, visit a DNS leak test site (search for "DNS leak test") and check that the resolver shown matches your chosen provider, not your ISP.
Troubleshooting Tips
- Website not loading? Double-check you entered the DNS addresses correctly — a typo can break all DNS resolution.
- Still seeing old DNS? Flush your device's DNS cache: on Windows, run
ipconfig /flushdnsin Command Prompt; on macOS, runsudo dscacheutil -flushcache. - Can't access router admin panel? Make sure you're on your home Wi-Fi, not mobile data, and try different browsers.
Once configured, your entire household benefits from faster, more private DNS resolution without any per-device setup — a small change with a meaningful impact.