How to flush DNS on your Mac

How to flush DNS on your Mac

  • by Dayne (47)
  • Time to complete: 1 minute

Flushing your dns is a very useful troubleshooting step and is necessary for some network changes to take effect. For some reason, Apple likes to change the command to clear the dns cache with just about every macOS and OS X update, so here is the updated command.

1

This is located in Applications > Utilities

2

dscacheutil -flushcache; sudo killall -HUP mDNSResponder