Clear DNS Cache

To clear the DNS cache on OS X, you first have to flush the cache and then send a signal the the 'mDNSResponder'.

dscacheutil -flushcache
sudo killall -HUP mDNSResponder