March 6, 2012

How to Flush the DNS Cache in OSX

Need to clear your DNS cache on macOS? Just one terminal command does the trick—learn how to flush the DNS cache in seconds.

It’s simple, just run:

dscacheutil -flushcache

From the terminal