DNS requests are cached by storing the locations (IP addresses) of pages you viewed. You may wish to flush (meaning clear, reset, or erase) a DNS cache, especially if you’re a systems administrator or a web developer, so that you have the latest DNS data. Resetting your DNS cache in Mac OS X is actually really easy.
If you are using Mac OS X v10.6, you can use the dscacheutil command. To do this, open Terminal and type:
sudo dscacheutil -flushcache
If you are using OS X Mountain Lion or Lion:
sudo killall -HUP mDNSResponder
Obsessed with tech since the early arrival of A/UX on Apple, Sudz (SK) is responsible for the editorial direction of AppleToolBox. He is based out of Los Angeles, CA.
Sudz specializes in covering all things macOS, having reviewed dozens of OS X and macOS developments over the years.
In a former life, Sudz worked helping Fortune 100 companies with their technology and business transformation aspirations.