Clearing The DNS Cache in OS X
September 24th, 2008
On a fairly regular basis I need to clear my DNS cache when I move a site from one server to another for example. In the past, I always did this in terminal with lookupd -flushcache. However, today when I tried this I received a “command not found” error.
I don’t know when it disappeared, as I seem to recall using it recently, but none the less, lookupd was gone. As it turns out, lookupd was replaced with dscacheutil. So, now when you want to flush your cache simply enter dscacheutil -flushcache in terminal and Bob’s your uncle.
