Networking – Which devices store DNS cache and how to flush

cachednsnetworkingrouter

If a computer is running Windows its DNS cache can be flushed with ipconfig /flushdns but am I correct that routers also often store DNS cache? I'm assuming the ipconfig command doesn't flush the router, and that most routers would flush their cache on a power cycle? So does this mean if there's issues with an invalid DNS entry each intermediary router may not to be power cycled?

Best Answer

[A]m I correct that routers also often store DNS cache?

Some do but it depends entirely on the router, firmware involved and the current settings if applicable.

I'm assuming the ipconfig command doesn't flush the router[?]

No it does not.

[I'm assuming most] routers would flush their cache on a power cycle?

Again, it depends entirely on the router and firmware involved. That said, it would likely not be unexpected behavior.

So does this mean if there's issues with an invalid DNS entry each intermediary router may [need] to be power cycled?

It could be a possibility, yes, at least if you want them to immediately forget any cache entries (assuming a power cycle would do this).

If they were doing caching, it might also be possible to log into them manually and clear the cache.

Related Question