Knowledge for the World

How to flush dns on Mac OS X Yosemite

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

1

This is located in Applications > Utilities

2

sudo discoveryutil udnsflushcaches