eHow launches Android app: Get the best of eHow on the go.

How To

How to Flush the DNS Cache in Mac OS X

Contributor
By John Ford
eHow Contributing Writer
(3 Ratings)
Use Apple terminal application to flush the DNS Cache
Use Apple terminal application to flush the DNS Cache
John Ford: Apple Computer

DNS cache or Domain Name Server cache is the local file your Mac system uses to convert or resolve host names to numbered IP (internet protocol) addresses. It is possible for the cache file to become corrupt or damaged, this is especially important for web designers and system administrators performing network tasks and coding web sites.

From Quick Guide: DNS Guide
Difficulty: Moderately Easy
Instructions
  1. Step 1
    Mac OS X Terminal Application
     
    Mac OS X Terminal Application

    In a new Finder window, navigate to “Applications/Utilities/Terminal” and double click on the "Terminal" application to launch it.

  2. Step 2
    The DNS Cache Flush Command for Mac OS X 10.5
     
    The DNS Cache Flush Command for Mac OS X 10.5

    In your new window, enter the following command if you are using Mac OS X 10.5 Leopard:dscacheutil –flushcache

  3. Step 3
    The DNS Cache Flush Command for Mac OS X 10.4
     
    The DNS Cache Flush Command for Mac OS X 10.4

    If you are using Mac OS X 10.4 Tiger, enter the following command in your new window:lookupd –flushcache

  4. Step 4

    Once you have entered the above command, your DNS cache has been successfully flushed. Any issues with resolving IP addresses and host names in the DNS cache should be resolved.

Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics