test Byron’s Blog » Blog Archive » Flushing the DNS cache in Leopard

Flushing the DNS cache in Leopard

This morning my macbook suddenly decided it didn’t want me to check my gmail, I quickly determined it was a local DNS problem and flushing the cache was in order, but I had never done this in OS-X before. After a little searching and failed attempts I finally found the correct command for Leopard:

    dscacheutil -flushcache

And now I'm reading my gmail again.

Leave a Reply

You must be logged in to post a comment.