Flushing the DNS resolver cache can help resolve DNS related problems in MacOS Sierra. Issues would include web site not found errors or not being able to view certain web pages that have changed.
To flush the cache in MacOS Sierra, follow these steps.
- From the Finder, select “Go” > “Utilities” > “Terminal“.
- Type the following, then press “Enter“:
sudo dscacheutil -flushcache
- Type the password for your account, then press “Enter“.
You have successfully flushed the DNS cache in MacOS Sierra.