Clear DNS Cache on a Mac (OS X)

If you’re ever messing with DNS records, you may run into times when you have stale entries in your DNS Cache. Here’s you how clear your cache in Mac OS X: dscacheutil -flushcache