Flush OS X’s DNS Cache

If you need to flush a Mac’s DNS cache, the following line will be helpful:

sudo dnscacheutil -flushcache

Leave a Comment