Flush Cache OS X Sierra

sudo killall -HUP mDNSResponder
sudo killall mDNSResponderHelper
sudo dscacheutil -flushcache


Also published on Medium.