by

Clear DNS cache in OS X Yosimite

Had a situation today where a website change didn’t apply until I cleared the cache in OS X Yosimite 10.10. Here’s the code that makes it happen.

Open terminal and type:

sudo discoveryutil udnsflushcaches