Bluehost 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 297,374 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

DNS Propagation

Any time DNS is updated, it can take up to 48 hours for those changes to take effect. This period of time is called propagation, and it applies to any and all DNS updates. This article will explain what propagation is and why it's important.

W3 Total Cache WordPress Plugin

How to install and configure the W3 Total Cache WordPress Plugin

DNS Management - How To Add Edit Or Delete DNS Entries

How to Modify Your DNS Records

Related Help Content

How to Clear Your Browser Cache

What is Cache? How do I clear my browsers Cache?

WP Super Cache Plugin

How to install and configure the WP Super Cache plugin for your WordPress blog

What Are DNS Records? Domain Name System Examples - DNS Zone Editor

What are the commonly used DNS entries?

How to Change your Hosts File

The hosts file is a plain text file that allows you to set IP Addresses for a domain on your computer. This may override authoritative DNS.

Network / Server Uptime Agreement

Network / Server Uptime Agreement

DNS Entry Already Exists - Error Message in WHM

Explains how to fix the DNS entry already exists warning

Edit Reseller DNS Zone Template

Explains how to edit the DNS Zone Timplate.

Wildcard Subdomains or DNS

Do you support wildcard subdomains or wildcard DNS entries?