To flush the Domain Name System (DNS) cache on a Mac, you can use Terminal to enter the following command string:
- Open Finder
- Click Applications
- Scroll down to Utilities and click it
- Open Terminal
- In the Terminal window, enter the command:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
- Click Enter, then input your admin password
- Click Enter again
