You are here: Home » What Does Flush DNS Cache Do?: DNS Cache Flush vs Router Restart for Fixing Domain Resolution

What Does Flush DNS Cache Do?: DNS Cache Flush vs Router Restart for Fixing Domain Resolution

by Jonathan Dough

Flush DNS cache when one device cannot reach a site, but restart the router when every device on the network has the same domain problem. A DNS cache flush deletes saved domain lookup results, so your computer, phone, or browser asks DNS again instead of reusing stale records. On Windows, Microsoft documents the ipconfig /flushdns command for clearing the DNS resolver cache [source: Microsoft].

TLDR: Flushing DNS cache clears old domain-to-IP records on your device, which helps after a website changes servers or a DNS record is fixed. For example, if example.com moved to a new IP address 10 minutes ago but your laptop cached the old answer for 3,600 seconds, a flush can fix it instantly. Restarting a router helps more when all devices on your Wi Fi fail, because it resets the router’s DNS forwarding and network state. Try flush DNS first for one-device issues; reboot the router if the whole network is acting broken.

What does DNS cache actually do?

DNS is the internet’s phone book. You type example.com. Your device needs an IP address, such as 93.184.216.34, before it can connect. Asking for that address every single time would be slow and wasteful, so your system stores recent answers in a DNS cache.

That cache can live in several places:

  • Your operating system, such as Windows, macOS, Linux, iOS, or Android.
  • Your browser, especially Chrome, Edge, Firefox, and Safari.
  • Your router, if it acts as a local DNS forwarder.
  • Your DNS provider, such as your ISP, Google Public DNS, Cloudflare, or Quad9.

Most of the time, caching is good. Pages load faster. DNS servers get less traffic. Your device avoids repeating the same question hundreds of times per day. The problem starts when the saved answer is wrong, expired, poisoned, or just stuck. Honestly, it feels like your internet is gaslighting you: the site works on mobile data, works for your coworker, but fails on your laptop.

What does “flush DNS cache” do?

A DNS cache flush removes stored DNS lookup entries from a device or application. It does not delete files. It does not erase passwords. It does not reset your internet plan. It simply tells your system, “Stop trusting those saved domain answers. Ask again.”

After a flush, the next time you open a website, your device performs a fresh DNS lookup. If the domain now points to a new IP address, your device can use it right away. That is why DNS flushing is so useful after:

  • A website migration to a new server.
  • A DNS record change, such as a new A, AAAA, or CNAME record.
  • A domain that worked yesterday but now shows server not found.
  • Switching between VPN, office network, home Wi Fi, and mobile hotspot.
  • Repairing a bad local hosts or resolver state.

The effect is local. If you flush DNS on your laptop, your phone does not care. If you clear Chrome’s host cache, Windows may still have another answer saved. That layered caching is useful, but when something breaks, it can make troubleshooting feel needlessly annoying.

DNS cache flush vs router restart

These two fixes are often mixed up, but they solve different problems.

FixWhat it resetsBest for
Flush DNS cacheSaved DNS answers on one device or appOne computer or browser cannot resolve a domain
Restart routerRouter memory, WAN session, Wi Fi state, local DNS forwardingAll devices have DNS or connection problems

A DNS cache flush is surgical. It targets name resolution on a specific device. It takes seconds. It does not disconnect everyone in the house.

A router restart is broader. It may clear the router’s own DNS forwarding cache, renew the ISP connection, fix a stuck NAT table, or recover from buggy firmware. The catch is that it also kicks every device offline for a short time. Expect to waste time on smart TVs, voice assistants, and game consoles that reconnect slower than they should.

When should you flush DNS first?

Flush DNS first when the issue is narrow. If your laptop cannot open clientsite.com, but your phone can open it on the same Wi Fi, the router is probably not the main problem. Your laptop may be holding an old DNS answer.

Good signs that a DNS flush may help include:

  • Only one device fails, while others work.
  • Only one website fails, while the rest of the internet works.
  • You recently edited DNS records and your device still sees the old server.
  • You changed VPN, proxy, or DNS provider settings.
  • You see errors like DNS_PROBE_FINISHED_NXDOMAIN or server IP address could not be found.

DNS records often have a TTL, or time to live, measured in seconds. A TTL of 300 means resolvers may cache the answer for 5 minutes. A TTL of 86,400 means 24 hours. If a record was cached before a server move, your device may cling to it until the timer ends unless you flush it.

When should you restart the router?

Restart the router when the problem affects the whole network. If every device in your home fails to open websites, or domain names fail but direct IP connections still work, the router or upstream DNS may be involved.

A router restart can help when:

  • All Wi Fi devices show DNS errors.
  • The router’s DNS forwarder is stuck.
  • The ISP connection has gone stale.
  • Your router admin page works, but websites do not load.
  • You changed DNS servers in router settings and need a clean restart.

Power cycling is simple: unplug the router, wait about 30 seconds, plug it back in, then allow 2 to 5 minutes for the internet connection to return. If you also have a separate modem, restart the modem first, then the router.

How to flush DNS cache on common systems

Use the command for your device. Some require administrator rights.

  • Windows: Open Command Prompt as administrator and run ipconfig /flushdns.
  • macOS: Open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.
  • Linux with systemd: Run sudo resolvectl flush-caches.
  • Chrome or Edge: Restart the browser, or use the browser’s DNS and socket reset tools if available.
  • iPhone or iPad: Toggle Airplane Mode, restart the device, or change Wi Fi networks.
  • Android: Toggle Airplane Mode, restart, or switch Private DNS off and on if you use it.

After flushing, test with a fresh browser tab. If you are checking a DNS change, use a lookup tool such as nslookup or dig. ICANN explains DNS as the system that translates human-friendly names into internet addresses [source: ICANN].

A quick troubleshooting order that saves time

  1. Check another website. If nothing loads, it may not be DNS.
  2. Try another device on the same network. This separates device issues from network issues.
  3. Try mobile data or a hotspot. This tests whether your Wi Fi path is the issue.
  4. Flush DNS on the affected device. Fast, low risk, and often enough.
  5. Restart the browser. Browsers can hold their own lookups.
  6. Restart the router. Use this when the issue is network-wide.
  7. Change DNS servers temporarily. Try 1.1.1.1, 8.8.8.8, or another trusted resolver.

Does flushing DNS improve speed?

Not usually. In fact, the first visit after a flush can be a tiny bit slower because your device must look up the domain again. The speed gain comes only if the previous cache entry was bad, slow, or pointing to a poor route. For normal browsing, DNS caching is already helping you.

Think of DNS flushing as a repair tool, not a performance booster. It fixes stale directions. It does not upgrade your bandwidth, reduce Wi Fi interference, or make a slow server fast.

Bottom line

Flush DNS cache for stale or wrong domain lookups on one device. Restart the router for network-wide DNS or connectivity problems. If a website just moved servers, start with a DNS flush. If every phone, laptop, and TV in the building is failing, restart the router and check the DNS settings there.

The best fix is the one that matches the failure. One broken device points to a local cache. Every device failing points to the router, ISP, or DNS provider. That simple split can save you from rebooting half your house for a problem that one command could solve.

Techsive
Decisive Tech Advice.