DNS & OptimizationLow Severity

How to Change DNS on Your Router: ASUS, TP-Link, Netgear (2026)

Want to improve web load speeds and secure your home network? Learn how to configure custom DNS resolvers at the router level. Follow our detailed walkthroughs for TP-Link, ASUS, Netgear, and Linksys firmware.

Security Warning: Dynamic DNS Modification

Ensure you enter the exact numeric DNS IP addresses. Inputting incorrect digits in the DNS field will prevent all connected devices from resolving domain names, resulting in a total network outage until the settings are corrected or the router is factory reset.

AIO Quick Answer

Quick Diagnostic Summary

  • Symptoms: Slow browsing or default ISP DNS redirection alerts across all devices on your local network.
  • Most Likely Cause: Your router is configured to 'Obtain DNS automatically', routing all local queries through slow ISP resolvers.
  • Fastest Safe Fix: Log into your router admin portal, locate the WAN or DHCP server DNS fields, toggle to 'Manual', and enter Cloudflare (1.1.1.1) or Google DNS (8.8.8.8) IPs.

Custom DNS Router Configuration Assistant

Step-by-step guidance to configure custom DNS resolvers on your specific router brand — including IPv6 fallback and propagation verification.

Symptoms vs. Root Causes Diagnostic Table

DNS configurations propagate differently across router interfaces. Use this comparison table to identify where to apply your DNS updates:

Configuration GoalPrimary Interface LocationRouting ContextExpected Performance Result
Fastest local client updatesLAN / DHCP Server DNS fieldsBypasses router caching daemonClients resolve queries directly to public Anycast servers
Centralized logging and controlWAN / Internet Connection DNS fieldsEnforces router dnsmasq forwardingRouter caches common records, reducing external queries
Bypassing ISP filtering entirelyIPv6 Internet DNS settingsPrevents IPv6 resolver leakageNo plaintext DNS bypasses allowed on client devices

What Happens Internally When You Update Router DNS?

When you configure custom DNS servers in your router's DHCP server settings, you alter the parameters included in the local **DHCP Lease Handshake**.

When a device connects to your Wi-Fi, it broadcasts a DHCP Request. The router's DHCP daemon responds with an allocation packet containing the client's local IP address, subnet mask, default gateway IP (the router itself), and the exact DNS server IP addresses.

If you configure DNS under the DHCP settings, the router tells the client to send DNS packets directly to Cloudflare (1.1.1.1) or Google (8.8.8.8). However, if you configure DNS on the WAN port settings, the router tells the client to use the router's own IP (e.g. 192.168.1.1) as the DNS server. The router then receives all local DNS queries, processes them through its internal forwarding daemon (usually dnsmasq), and forwards unresolved queries to the WAN-configured public DNS servers. WAN-side configuration enables local caching on the router but can bottleneck throughput on budget routers with low-spec processors.

Deep Diagnostics & Internal Authority Links

Detailed Brand-Specific Walks for Common Router Interfaces

Follow these exact UI pathways to configure custom DNS servers across major residential router brands:

1. ASUS (ASUSWRT Firmware)

ASUS routers support DNS configuration on both the WAN interface and local LAN DHCP daemons.
WAN-Side Path: Advanced Settings → WAN → Internet Connection. Scroll to WAN DNS Setting. Toggle Connect to DNS Server automatically to No, input your Primary and Secondary DNS IPs, and click Apply.
LAN-Side Path: Advanced Settings → LAN → DHCP Server. Input custom IPs in the DNS Server field.

2. TP-Link (Archer Systems)

TP-Link routers allow clean DHCP server allocation adjustments that propagate instantly.
DHCP Path: Advanced → Network → DHCP Server. Input your preferred IPs in the Primary DNS and Secondary DNS fields. Click Save.

3. Netgear (Nighthawk & Orbi)

Netgear routes all DNS queries through WAN interface rules.
WAN Path: Open Basic tab → Internet. Scroll down to Domain Name Server (DNS) Address. Select the radio button for Use These DNS Servers, enter your custom Primary and Secondary DNS IPs, and click Apply.

When Hardware is Physically Failing

If your router fails to save custom DNS settings, logs you out during configuration changes, or resets its parameters back to default after a power outage, the hardware's non-volatile storage is likely failing:

  • NVRAM Flash Wear: NVRAM chips have physical write limits. Over years of operation, the memory blocks degrade, causing database write failures. The router reverts to default ISP configuration profiles upon power cycles.
  • Voltage Regulator Noise: Degraded power capacitors inside the router can introduce high voltage ripple that corrupts flash write operations, failing configuration saves.

Commercial Intent: Custom Pi-Hole & NextDNS Solutions

If you want to enforce advanced network-wide ad blocking, malware prevention, and family content filtering, consider deploying a custom **Pi-Hole** DNS server or using a **NextDNS** cloud profile.

A Pi-Hole is a lightweight local DNS server that runs on a low-cost Raspberry Pi connected directly to your router switch. After deploying a Pi-Hole, you set your router's LAN DNS server IP to point to the Pi-Hole. The Pi-Hole intercepts all local hostname queries, checking them against global ad-blocking lists. If a smart TV or smartphone attempts to connect to an ad server, the Pi-Hole returns a loopback address (0.0.0.0), neutralizing the ad before it can download. This saves massive WAN bandwidth and speeds up web browsing across your entire network.

Quick Fix Checklist

  • 1Identify your router's default gateway IP address via ipconfig.
  • 2Decide on a fast public DNS provider (like Cloudflare 1.1.1.1 or Google 8.8.8.8).
  • 3Input both Primary and Secondary DNS addresses to ensure redundant failover.
  • 4Check and configure your IPv6 DNS settings if IPv6 is active on your WAN line.
  • 5Power cycle your router to force all client devices to renew their leases.

Common Root Causes

WAN vs. DHCP Mappings

Configuring DNS solely on the WAN port, forcing queries through the router's under-powered local dnsmasq forwarder.

Leaked IPv6 Resolvers

Failing to update IPv6 DNS settings, allowing devices to bypass custom IPv4 rules via default ISP IPv6 paths.

Stale DHCP Leases

Connected clients keeping old DNS server mappings in memory until their dynamic DHCP lease expires.

AP Mode Redirection

Attempting to change DNS settings on a secondary router running in Access Point mode, which has its DHCP server disabled.

Step-by-Step Diagnostic Resolution Flow

  1. 1

    Access the Router Administration Web Portal

    Open your web browser and enter your router's default gateway IP (usually 192.168.1.1, 192.168.0.1, or 192.168.50.1) in the URL bar. Enter your administrative credentials to log in.

    Expert Tip: Disconnect any active VPN clients on your computer before attempting to access the local gateway page.
  2. 2

    Locate WAN or Internet Settings (Recommended Path)

    Navigate to the advanced WAN, Internet, or DHCP Server settings tab. TP-Link hosts this under 'DHCP Server', ASUS under 'WAN', and Netgear under 'Internet'.

    Expert Tip: Configuring DNS under DHCP settings pushes custom IPs directly to your clients, which is faster than WAN-side relaying.
  3. 3

    Enter Custom Primary & Secondary IPv4 Addresses

    Toggle the DNS IP mode from 'Automatic / Assign by ISP' to 'Manual / Use These Servers'. Enter your target resolver IPs (e.g., Cloudflare: 1.1.1.1 and 1.0.0.1; Google: 8.8.8.8 and 8.8.4.4). Save changes.

  4. 4

    Configure Custom IPv6 Resolvers (Optional)

    If your ISP supports IPv6, navigate to the IPv6 settings tab. Set DNS to manual, and enter secure IPv6 resolvers (e.g. Cloudflare: 2606:4700:4700::1111 and 2606:4700:4700::1001). Save and restart your router.

    Expert Tip: Failing to update IPv6 resolvers while keeping IPv6 active allows client devices to bypass your custom IPv4 DNS settings, using the ISP's default IPv6 servers.

When To Contact Your ISP

Contact your ISP if your custom DNS settings are automatically overwritten by the incoming WAN cable connection. Some ISPs lock their provided gateways (especially fiber ONTs) to their proprietary DNS servers to enforce local browsing restrictions.

Expert Q&A & Troubleshooting Insights

Should I configure DNS on my router or my individual devices?

Configuring DNS at the router level is the most efficient method because it automatically applies custom, high-speed, or secure DNS resolvers to every connected device on your network, including smart TVs, gaming consoles, and smart home appliances.

Why do my devices still use the old ISP DNS after changing the router settings?

Client devices cache DNS parameters for the duration of their DHCP lease. To force your devices to pull the updated DNS settings instantly, you must power cycle your router or toggle Wi-Fi OFF and ON on your devices.

What happens if my custom DNS server goes offline?

If both your primary and secondary custom DNS servers go offline, your devices will fail to resolve hostnames, showing 'DNS_PROBE_FINISHED_NXDOMAIN' errors. Always configure a reliable secondary resolver from a different network (e.g. Primary Cloudflare 1.1.1.1, Secondary Google 8.8.4.4).