How do I flush my DNS cache?

Windows
Open the command prompt
- Execute this ipconfig /flushdns
MacOS
Open the terminal and execute these commands
- Mac OS X Yosemite and later
sudo killall -HUP mDNSResponder - Mac OS X Yosemite v10.10 through v10.10.3
sudo discoveryutil mdnsflushcache - Mac OS X Mavericks, Mountain Lion and Lion
sudo killall -HUP mDNSResponder - Mac OS X Snow Leopard
sudo dscacheutil -flushcache