Singapore & Australia # 1 for Web Hosting & Domains
SG: +65 6914-7888   AU: 1300-863-436 Asset 1colo Help
Vodien Logo

Flush DNS cache

In some cases like domain transfer or after a migration has been completed, websites may not work. This is due to the DNS that is cached in your computer. This must be cleared by doing a flush DNS via command prompt for Windows and terminal for Mac or via Google Flush cache. Kindly follow the instructions below on how to flush DNS.


Flush DNS cache in Windows:

Step 1. Open your command prompt. For Windows 8 and older, click on Start > Run > type cmd and click OK button.

command-prompt-windows7 | DNS cache

For Windows 10 Click Windows icon, search for cmd and choose on Command Prompt.

command-prompt | DNS Cache

Step 2. Command prompt will open up.

Flush DNS Cache

Step 3. Type in the following command:

ipconfig /flushdns

Press Enter key of your keyboard.


You will have a result which is most likely the same as the screen shot below.


Mac OSx:

Step 1. Open your Launchpad and search for Terminal. Click on the terminal icon.


Step 2. A new window will prompt.


Step 3. Type in the following commands:

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder; say cache flushed

Press Enter key.

(Note: This command will delete all DNS entry in your computer.)


Step 4. Type in your computer’s password and press enter key.


This will automatically return the username of your Mac indicating that you may proceed with another command.


Google Flush Cache:

Step 1. Access the Google Flush Cache URL link.

Step 2. Enter the domain name. Choose on the RR type (A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT). Tick the check box “I’m not a robot.”

Google Flush DNS Cache

Step 3. Click Flush Cache button.



If flushing the DNS does not work, you may also test your site using the host file.


(Visited 1,548 times, 1 visits today)
Updated on May 20, 2016

Was this article helpful?

Related Articles