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.

1Open Terminal

This is located in Applications > Utilities

2Execute the following command

sudo discoveryutil udnsflushcaches


Now learn about:


Discuss this guide

var disqus_shortname = ‘howchootest’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘//’ + disqus_shortname + ‘.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })();

Leave a Reply

Your email address will not be published. Required fields are marked *