Just Host Web Hosting Help

DNS Cache Flush

Sometimes a bad DNS entry will be cached and you will need to either flush the DNS cache to get rid of it or wait up to 24 hours for it to be dropped from the cache automatically.

Flush DNS in Windows:

  1. Click on Start button.
  2. Select Run...
  3. Type "cmd" and press OK button.
  4. You should see the following line: C:Documents and SettingsUser>. Type:
               ipconfig /flushdns
  5. You will see a message containing the following:
    "Windows IP ConfigurationSuccessfully flushed the DNS Resolver Cache."
  6. Type "exit" to close the prompt.
Flush DNS in Mac OS X:
  1. Click on Finder in the dock.
  2. Click on Macintosh HD.
  3. Click on Applications.
  4. Click on Utilities.
  5. Double-click on Terminal.
    In Mac OSX Leopard, you can use the following command to flush the DNS resolver cache:
               dscacheutil -flushcache 
    In Mac OSX versions 10.5.1 and before, the following command performs the same task:
               lookupd -flushcache 
Flush DNS in Linux:
    In Linux, the nscd daemon manages the DNS cache. To flush the DNS cache, restart the nscd daemon. To restart the nscd daemon, use the command:
               /etc/init.d/nscd restart 
These steps for the various OS will cause your DNS cache to be successfully refreshed.
Knowledgebase Article 147,653 views bookmark tags: dns dnsflush flush ipconfig network

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

How to install and configure the W3 Total Cache WordPress Plugin
Knowledgebase Article 38,191 views tags: cache wordpress

How to Modify Your DNS Records
Knowledgebase Article 817,443 views tags: dns

What is Cache? How do I clear my browsers Cache?
Knowledgebase Article 248,657 views tags: cache

Related Help Content

How to install and configure the WP Super Cache plugin for your wordpress blog
Knowledgebase Article 44,396 views tags: cache wordpress

Explains how to fix the DNS entry already exists warning
Knowledgebase Article 42,792 views tags: dns

What are the commonly used DNS entries?
Knowledgebase Article 419,878 views tags: a aaaa cname dns record srv txt zone

Network / Server Uptime Agreement
Knowledgebase Article 82,695 views tags: agreement downtime guarantee network uptime

Explains how to edit the DNS Zone Timplate.
Knowledgebase Article 31,512 views tags: dns domains

Do you support wildcard subdomains or wildcard DNS entries?
Knowledgebase Article 128,873 views tags: dns domain subdomain wildcard zone

How do I Change My DNS?
Knowledgebase Article 264,775 views tags: change delegate dns modify

I would like to change my MX Record so I can use a mail server with another provider.
Knowledgebase Article 346,901 views tags: dns email exchanger local mail mx remote routing