Surf 11 » Flush DNS Cache on Mac OSX

Finding the best waves on the web.

Need to flush the DNS cache on your Mac OS X computer? Run the following command:

sudo lookupd -flushcache

Via MacTips

More about lookupd

The lookupd daemon acts as an information broker and cache. It is called by various routines in the System framework to find information about user accounts, groups, printers, e-mail aliases and distribution lists, computer names, Internet addresses, and several other kinds of informa-information. tion.

lookupd keeps a cache of recently requested items to improve system per-performance. formance. It also implements a search strategy used to find information from the many information sources that are potentially available to a computer. These include the Domain Name System (DNS), Sun Microsystem's Network Information Services (NIS), Apple's NetInfo system, and a set of files found in the /etc directory. lookupd also has a channel to query Directory Services, allowing access to data from LDAP and other directory systems.

Related Entries
On 01/02/2013 at 12:00:00 AM UTC b wrote:
how do you input the dns cache flush command on a mac? On a PC you do start>run> etc. What is the equivalent of that on a mac?

On 01/02/2013 at 12:00:00 AM UTC xurizaemon wrote:
@b - open a terminal window ( is in /Applications/Utilities). there are other methods to execute a command, but this is the most basic.

On 01/02/2013 at 12:00:00 AM UTC xurizaemon wrote:
also: the Leopard (10.5) version of this command is "dscacheutil -flushcache"


Email: (optional, not displayed on site)
   Subscribe to this thread
Comments: (html will be escaped)

Archives   Tags   Contact