How to clear DNS cache in Mac OS X Tiger / Leopard

ADVERTISEMENT

DNS request are usually cached to speed up the lookups within the same host. If you need to clear that DNS cache for some reason, here are the simple Terminal shortcuts for it.

Flush DNS cache: Mac OS X Tiger and below

Clearing the DNS cache is as easy as entering the command below into a Terminal and hitting enter.

lookupd -flushcache

Clear DNS cache: Mac OS X Leopard

In Mac OSX 10.5 Leopard, the above command will not work. This is because a different command replaces flushcache. To clear DNS cache in OS X Leopard, enter the command below into a Terminal and hit enter.

ADVERTISEMENT

dscacheutil -flushcache

What is DNS?

The Domain Name System (DNS) is a naming system for computers, and anything else on the Internet. When you type a website’s name into your browser addressbar, the DNS gives you the IP co-ordinates to find the server.

You've read the post. Now what?

Click here to sign up for free email newsletter (latest articles to your inbox)

Like us on Facebook to get notified of our latest articles

Follow on Twitter to get notified of our latest articles

Recent search terms
Visitors recently searched the following terms to reach this page:
clean dns on mac, apple tiger clear dns

Discussion

Comments are closed.