MAC – Flush DNS cache

On an MS Windows machine, you can clear the local DNS cache with the following command:

ipconfig/flushdns or ipconfig /flushdns

The equivalent command on a Mac OSX machine is:

sudo killall -HUP mDNSResponder