How do I flush my DNS cache?

Windows

Go to Start > Run

Type "cmd" and hit enter

Type "ipconfig /flushdns" and hit enter


Mac

Open the Terminal application. This is normally at Mac HD > Applications > Utilities

For Lion and newer:

Type "sudo killall -HUP mDNSResponder" and hit enter. It will ask for your password.

For Leopard or Snow Leopard:

Type "dscacheutil -flushdns" and hit enter

Before Leopard:

Type "lookupd -flushcache" and hit enter


Linux

Restart the nscd daemon by typing "/etc/init.d/nscd restart" and hitting enter

  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set

If you have a cURL script that tries to use CURLOPT_FOLLOWLOCATION you might get the following...

SMTP is not working in my script

You will need to change the SMTP server setting from "mail.yourdomain.com" to "localhost".

Is my site down?

If you can't reach your site, first make sure you have a connection to the internet and you can...

What is Cron?

Cron jobs are a scheduled shell commands

Why did my site disappear after assigning a new IP address?

When you request a new IP address for your site you'll notice that your site is no longer...