1. Home
  2. References
  3. Technical Advice
  4. Domains
  5. How to Clear DNS Cache of Your Computer

How to Clear DNS Cache of Your Computer

To clear the DNS cache on a windows computer:

Open a command terminal: Start => Program => Accessories => Command Terminal

execute the code :

ipconfig /flushdns

To clear the DNS cache on a Mac OSX computer:

Applications => Utilities => Terminal => Spotlight => Terminal

execute the code :

dscacheutil -flushcache
Updated on 20 July 2026

Was this article helpful?

Related Articles