Here’s How You Purge The DNS Cache In OS X Yosemite

Sometimes operating system updates change the way you go about things, particularly certain maintenance tasks. OS X is no exception, with the most recent build of the platform, Yosemite, making the task of clearing DNS caches different to previous versions.

Fortunately, Simple Help’s Ross McKillop has figured out the new way of doing things. All you need to do is crack open a Terminal window and enter the following command, followed by your user password:

sudo discoveryutil mdnsflushcache;sudo discoveryutil udnsflushcaches

If you were wondering if there’s anything else to it, there isn’t! As McKillop explains in different post, the mDNSResponder process was responsible for the DNS cache in Mavericks and older iterations of OS X.

How to Clear the DNS Cache(s) in OSX Yosemite (10.10.x) [Simple Help]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments