56 votesby superuser.com/users/195894written 2013-02-06last updated 2017-08-05
Clicking "clear host cache" in chrome://net-internals/#dns should do it for Google Chrome, but there are other DNS caches to consider on your machine.
Windows:
ipconfig /flushdns
OS X pre-10.7 (before Lion):
sudo dscacheutil -flushcache
OS X 10.7â10.9 (Lion, Mountain Lion, Mavericks):
sudo killall -HUP mDNSResponder
OS X 10.10+ (Yosemite):
sudo discoveryutil mdnsflushcache
OS X 10.11, 10.12+ (El Capitan, Sierra):
sudo killall -HUP mDNSResponder
Your router may be caching the DNS as well (restart it or read the manual). The ultimate test is to use dig, but this uses your network's DNS host, not the authoritative server by default:
dig superuser.com
To query right from the source, try something like:
dig superuser.com @ns1.serverfault.com