Flush DNS

Posted by Admin on September 25, 2011
IT

So if you’re a sysadmin and you use MAC OS, you might at some point need your machine to forget the current DNS info for a domain as you move it around, so it can refresh from … let’s say the DNS zone files you just edited.

MACpro:~ user$ dscacheutil -flushcache

And voila!  You’re done.  Go ahead and refresh that site.

 

Leave a Reply

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

*