How to flush DNS cache

The DNS (Domain Name System) cache is a temporary database that contains records of all your recent visits to websites (such as ""). 

Erasing the DNS cache will remove any invalid records and allow your computer to find the correct address the next time you try connecting to the website or the game. 


Flush DNS cache on Windows
  1. Open the start menu.
  2. Search for "cmd" and press 'Enter'.
  3. When the command prompt opens type the following three commands. Press 'Enter' after each new line:      
        ipconfig /flushdns        
    ipconfig /release
    ipconfig /renew
  1. Close this command prompt window.



Flush DNS cache on Mac 

The exact command required to flush your DNS cache on a Mac varies depending on your version of OS. 

  1. Open terminal -  Applications > Utilities > Terminal, or Spotlight search 'Terminal' 
  2. Select your OS from the list below and enter the Terminal command
  3. Save and Close Terminal 

Select your OS

 Use the Terminal command:

OS X Yosemite v10.10.4 to macOS 10.15 Catalina

sudo killall -HUP mDNSResponder

OS X Yosemite v10.10 to v10.10.3

sudo discoveryutil mdnsflushcache

macOS 11 Big Sur

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Note: You will be prompted to enter your Mac's password to confirm the command.

Mac OS X 10.6 Snow Leopard

sudo dscacheutil -flushcache

You won't see a success message, even if the command has been entered correctly.


If this doesn't resolve your issues check out our solutions to common connection problems

     Get help from the community!           




Was this article helpful?