An easier way to run dscacheutil -flushcache on your Mac (OS X Snow Leopard) to clear your dns cache

Don’t know about you but I am fed up with intermittent “Unable to connect..” messages when I’m browsing the web on my Mac. Its a real pain – my mac is the only device in my house (out of many devices) that seems to have problems connecting to the web.

I’m fed up with having to open a terminal and enter “dscacheutil -flushcache” to get browsing the web going again.

To begin with I got around this by creating a shell script called revive.sh which ran dscacheutil but i got bored having to open a terminal, navigate to the location of my shell script and enter ./revive.sh.

There had to be another way… and there is. I created an Automator App which runs dscacheutil. Now when I get one of those pesky “Unable to connect…” messages I double-click on my app (or an alias for the app) and I’m browsing the web again.

You can download the app here: flushdns.app

Seamus

2 thoughts on “An easier way to run dscacheutil -flushcache on your Mac (OS X Snow Leopard) to clear your dns cache

Leave a Reply to seamus Cancel reply