in Linux, macOS, Windows

Clear the local DNS cache in macOS Sierra, OSX, Linux and Windows


macOS Sierra 10.12.0

sudo killall -HUP mDNSResponder

Windows

ipconfig /flushdns

Linux (depending on what you’re running)

/etc/init.d/named restart
/etc/init.d/nscd restart