HostMonster Web Hosting Help

DNS Cache Flush


How do I flush my DNS cache?


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 83,225 views bookmark tags: dns network (updated 1427 days ago)

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

What is Cache? How do I clear my browsers Cache? (updated 93 days ago)
Knowledgebase Article 112,541 views tags: cache

Instructions for clearing your legacy browsers cache (updated 453 days ago)
Knowledgebase Article 7,067 views tags: cache

How Do I Add/Edit DNS settings for my cNAME, ARecord and TXT entries? (updated 23 days ago)
Knowledgebase Article 260,315 views tags: dns

Related Help Content

I'm getting the message "There is No DNS Entry" when I get to my domain name... (updated 1044 days ago)
Knowledgebase Article 86,165 views tags: dns domain

What are the commonly used DNS entries? (updated 634 days ago)
Knowledgebase Article 180,621 views tags: a cname dns record srv txt zone

Network / Server Uptime Agreement (updated 817 days ago)
Knowledgebase Article 49,824 views tags: agreement downtime guarantee network uptime

Do you support wildcard subdomains or wildcard DNS entries? (updated 574 days ago)
Knowledgebase Article 69,471 views tags: dns domain subdomain wildcard zone

How do I Change My DNS? (updated 34 days ago)
Knowledgebase Article 99,600 views tags: change delegate dns modify

How to use the DNS Zone Editor to create a new MX Record (updated 875 days ago)
Knowledgebase Article 53,826 views tags: dns editor mx zone

I would like to change my MX Record so I can use a mail server with another provider. (updated 436 days ago)
Knowledgebase Article 145,076 views tags: dns mail mx

Will my Registrar change when I change the DNS? (updated 1660 days ago)
Knowledgebase Article 81,481 views tags: dns registrar registration