You restart your router to fix a slow connection, and suddenly nothing resolves. Websites refuse to load, your smart TV cannot find its update servers, and your NAS hostname stops responding — yet your internet connection shows green lights across the board. DNS issues after a router restart are one of the most frustrating network problems because the symptom looks like a total outage even though the underlying connection is perfectly fine. This guide explains exactly what breaks, why it breaks, and how to restore full DNS resolution in the shortest possible time.

What Actually Breaks When You Restart a Router

Most home and small-business routers perform three DNS-related jobs simultaneously: they act as a DHCP server that hands out IP addresses, they act as a DNS forwarder that relays queries to upstream resolvers, and they sometimes cache recent DNS responses locally. A reboot interrupts all three services at once and restarts them in sequence. Several things can go wrong during that startup window:

  • DHCP lease conflicts: Devices that were connected before the reboot may hold stale leases. On restart, the router initializes a fresh DHCP pool and can hand out new or conflicting addresses — including a different DNS server IP that client devices ignore because they have not yet renewed their lease.
  • WAN IP changes: If your ISP uses PPPoE or DHCP on the WAN side, the router gets a new public IP on reconnect. That triggers an upstream DNS cache refresh which can take 30–90 seconds during which the forwarder is non-functional.
  • Stale DNS cache on client devices: Windows, macOS, and Linux all maintain their own DNS caches. After a router restart, clients may continue pointing queries at an IP address that has changed or is temporarily unreachable.
  • Router firmware bugs: Some router models have a known race condition where the DNS forwarder service starts before the WAN interface is fully up, leaving the router in a state where it accepts DNS queries but returns SERVFAIL for everything.
  • Static DNS settings overwritten: Certain ISPs push DHCP option 6 (DNS server) aggressively on reconnect, overwriting any custom DNS servers you had configured on the router's WAN interface.

Quick Diagnosis: Is This Really a DNS Problem

Before diving into fixes, confirm that DNS is actually the culprit and not a routing or DHCP issue. On any affected device, open a terminal or command prompt and run:

ping 8.8.8.8

If the ping succeeds, your internet connection is up and routing is fine. Now try pinging by name:

ping google.com

If the first ping works but the second times out or returns a could not resolve host error, you have confirmed a pure DNS failure. On Windows you can also run:

nslookup google.com nslookup google.com 8.8.8.8

The first command queries your configured DNS server. The second bypasses it and queries Google directly. If the second works and the first does not, your router's DNS forwarder is the problem. If neither works, the issue is upstream of your router.

💡 You can also run a live check from any device using our DNS Propagation Checker — it queries multiple global resolvers simultaneously, so you can immediately see whether your domain resolves worldwide even when your local network is misbehaving.

Fix 1: Force a DHCP Lease Renewal on Affected Devices

This is the fastest fix and resolves the majority of post-reboot DNS failures. When the router restarts, clients often keep their old DHCP lease, which can include an outdated DNS server address. Force a renewal to pull fresh settings.

Windows

ipconfig /release ipconfig /renew ipconfig /flushdns

macOS

sudo ipconfig set en0 DHCP sudo dscacheutil -flushcache sudo killall -HUP mDNSResponder

Replace en0 with your actual interface name. Run ifconfig or check System Settings > Network to confirm the correct interface (en1 for Wi-Fi on some models, en0 on others).

Linux

sudo dhclient -r eth0 sudo dhclient eth0 sudo systemd-resolve --flush-caches

Replace eth0 with your actual interface. Check with ip link show if unsure.

Fix 2: Restart the DNS Forwarder Service on the Router

Many routers run dnsmasq as their combined DNS forwarder and DHCP server. If dnsmasq started before the WAN interface was ready, it may have cached a failure state. The cleanest fix is to restart dnsmasq without rebooting the whole router again.

TP-Link Routers (Archer series, tplinkwifi.net / 192.168.0.1)

Log in at http://tplinkwifi.net or http://192.168.0.1. Navigate to Advanced > System > Reboot and choose Reboot Router. There is no in-UI service restart, but you can SSH in if you have OpenWrt installed and run:

/etc/init.d/dnsmasq restart

ASUS Routers (RT-AX, RT-AC series, asusrouter.com / 192.168.1.1)

Log in at http://asusrouter.com or http://192.168.1.1. Go to Administration > System and click Restore to restart services. With SSH enabled (Administration > System > Enable SSH), run:

service restart_dnsmasq

Netgear Routers (routerlogin.net / 192.168.1.1)

Log in at http://routerlogin.net or http://192.168.1.1. Go to Advanced > Administration > Reboot Router. Netgear's stock firmware does not expose individual service restarts, so a full reboot is your only in-UI option. Wait a full 90 seconds for the WAN connection to stabilize before testing DNS again.

D-Link Routers (192.168.0.1)

Log in at http://192.168.0.1. Navigate to Tools > System and click Reboot Device. Wait 90 seconds before testing.

Fix 3: Set Explicit DNS Servers on the Router

If your router is overwriting its DNS forwarder settings after every restart because the ISP pushes its own DNS servers via DHCP, you need to lock in your preferred resolvers manually. This also eliminates your ISP's DNS servers, which are often slower and less reliable than public alternatives.

On TP-Link (tplinkwifi.net)

  1. Log in at http://tplinkwifi.net or http://192.168.0.1.
  2. Go to Advanced > Network > Internet.
  3. Under DNS Address, select Use the following DNS addresses.
  4. Enter 1.1.1.1 as Primary and 8.8.8.8 as Secondary.
  5. Save and reboot.

On ASUS (asusrouter.com)

  1. Log in at http://asusrouter.com or http://192.168.1.1.
  2. Go to WAN > Internet Connection.
  3. Set Connect to DNS Server automatically to No.
  4. Enter 1.1.1.1 and 8.8.8.8 in the DNS server fields.
  5. Apply and reboot.

On Netgear (routerlogin.net)

  1. Log in at http://routerlogin.net or http://192.168.1.1.
  2. Go to Advanced > Setup > Internet Setup.
  3. Uncheck Get Automatically from ISP under DNS Address.
  4. Enter your preferred DNS servers and click Apply.

Fix 4: Set Static DNS on Individual Devices

If you cannot change router settings, or you want an extra layer of redundancy, configure DNS directly on each device. This bypasses the router's forwarder entirely and means a router DNS failure will never affect that device.

Windows

  1. Open Settings > Network and Internet > Change adapter options.
  2. Right-click your active adapter and select Properties.
  3. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
  4. Choose Use the following DNS server addresses.
  5. Enter 1.1.1.1 (preferred) and 8.8.8.8 (alternate).

macOS

  1. Open System Settings > Network.
  2. Select your active connection and click Details.
  3. Click the DNS tab and add 1.1.1.1 and 8.8.8.8.

Fix 5: Increase the Router DHCP Lease Time

A short DHCP lease time means clients are constantly re-requesting addresses. If the router is mid-reboot when a renewal falls due, the client gets no answer and can end up with a self-assigned 169.254.x.x address, which completely breaks DNS. Set the lease time to at least 24 hours (86400 seconds) for stable home and office networks.

On TP-Link, go to Advanced > Network > DHCP Server and change the Address Lease Time field. On ASUS, go to LAN > DHCP Server and set Lease Time. On Netgear, go to Advanced > Setup > LAN Setup.

How to Verify the Fix

Once you have applied a fix, verify DNS resolution is working correctly from multiple angles. Use our DNS Lookup tool to confirm that your domain resolves correctly from external resolvers, which rules out any lingering local cache issues.

From the command line, run a quick round of lookups to confirm your resolver is responding:

nslookup google.com nslookup cloudflare.com nslookup amazon.com

On Linux and macOS you can also use dig for more detail:

dig google.com @1.1.1.1 dig google.com @your-router-ip

The response time (the Query time line in dig output) should be under 50ms for a local router resolver and under 30ms for a direct query to a public resolver. If your router is taking 500ms or returning SERVFAIL, the forwarder is still not healthy and you may need to fully power-cycle the router (unplug the power cable for 30 seconds, not just press the reboot button).

How to Prevent This from Happening Again

Recurring DNS failures after every router restart usually point to one of three root causes: firmware bugs, ISP DNS server interference, or misconfigured DHCP settings. Here is how to address each permanently.

  • Update your router firmware: Many DNS forwarder race conditions were fixed in firmware updates. Log in to your router admin panel and check for updates under Administration or System. Manufacturers like ASUS and TP-Link release frequent patches.
  • Use hardcoded public DNS on the WAN interface: As shown in Fix 3, locking in Cloudflare (1.1.1.1) or Google (8.8.8.8) on the WAN DNS settings prevents your ISP from pushing unreliable resolvers after each reconnect.
  • Enable DNS over HTTPS (DoH) on the router: ASUS routers running firmware 3.0.0.4.386 or later support DoH natively under WAN > Internet Connection > DNS Privacy Protocol. This not only improves security but also often resolves reliability issues because DoH uses TCP port 443 which handles reconnections more gracefully than UDP port 53.
  • Consider a dedicated local DNS resolver: Running Pi-hole or AdGuard Home on a Raspberry Pi or a small server gives you a DNS resolver that is completely independent of the router. Clients point to the Pi-hole IP. The Pi-hole forwards to upstream resolvers. Router reboots no longer affect DNS at all.
  • Schedule reboots during off-hours: If you have a router that needs frequent reboots (a sign of a deeper hardware or firmware issue), use the router's scheduled reboot feature to run at 3 AM when nobody is online.

When the Problem is Your ISP, Not Your Router

Occasionally, post-reboot DNS failures persist even after all the steps above. If pinging 8.8.8.8 directly works but queries to 8.8.8.8 time out, your ISP may be intercepting or blocking UDP port 53 traffic during connection initialization. This is rare but happens with some cable ISPs. In that case, switch to DNS over HTTPS or DNS over TLS at the router level, or use a VPN with its own built-in resolver.

If you are on a PPPoE connection (common with DSL and some fiber providers), the WAN link can take 15–30 seconds to fully authenticate after a reboot. During that window, even correctly configured DNS will fail. The fix is simple: wait a full two minutes after the router's status lights stabilize before testing. If DNS still fails after two minutes, you have a configuration issue, not a timing issue.

DNS failures after a router restart are almost always fixable without calling your ISP or replacing hardware. Flush your client caches, lock in reliable public DNS servers on the router, extend your DHCP lease time, and keep your firmware current. Those four steps eliminate the problem for the vast majority of routers and network configurations.