Flush your DNS Cache in Leopard

As a web dev, you may spend some time messing with DNS and overriding it. Though, it can get annoying when you can’t get things back to the way that mere mortals see things on the internet.

lookupd -flushcache was a big tool in my arsenal in Tiger. But Leopard put a rightful end to lookupd, but left us without our known way of flushing the cache.

For the last couple of weeks its been pretty annoying, but I’m here to bring you, the NEW way to flush dns cache for OS X users!!! Holy crap this is exciting.

So it’s as simple as this:

There you have it.