Tag Archives: dscacheutil

How To Change DNS Settings on your Mac

So, why woud you want to know How To Change the DNS Settings on your Mac? If you use wi-fi or even a wired connection chances are DHCP sorts out your DNS settings for you. Well, I’ve been having problems with my Mac and surprise surprise it uses DNS settings supplied by my router which in turn routes me to my ISPs DNS servers for name resolution. After a bit of testing the problem appeared to be my ISP’s Servers that were the problem and so, after rummaging around the world wide web of useful info for advice on what to do, I decided to use Google’s Public DNS Servers instead of my ISPs. Google’s Public Servers are at 8.8.8.8 and 8.8.4.4.

Here’s how I changed my settings:

 

Seamus

 

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