Skip to content

How do I clear my DNS cache? Print

  • dns, cache, flush
  • 2

Your computer remembers where websites live for a while. After a DNS change, clearing that memory lets you see the new settings sooner.

Windows

  1. Right-click Start and choose Terminal (or Command Prompt).
  2. Type ipconfig /flushdns and press Enter.

Mac

  1. Open Terminal from Applications → Utilities.
  2. Type sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder, press Enter and type your Mac password.

Phones and browsers

Turn your phone's flight mode on and off. In Chrome or Edge, also restart the browser.

Your internet provider has its own cache too, which you cannot clear. See how long DNS changes take.


Was this answer helpful?

« Back