Dave, I’m a bit puzzled. How do i find what DNS servers my emac is using at any given time?
There are a couple of ways to do this, but let me share with you the graphical solution, since, well, it’s a Mac, right?
Go to the System Preferences choice on the Apple Menu and you’ll be here:
Lots of choices (and those on the bottom row are third-party extensions that I’ve installed too, in case you’re wondering why yours aren’t quite the same), but what you want to select is Network :
Almost there, but let me highlight that this is a good stopping point if you’re just curious about how your Mac is connected to the network when you have wireless, Ethernet, dialup or other possibilities. It also shows, by color, if your connection is fully functional or not: the green dot next to Ethernet shows that it’s a functional connection, while the red dot next to Internal Modem shows that’s disabled.
But there’s one more click you’ll need to do before you can figure out your DNS servers: double click on Ethernet (or whatever is your primary Internet connection):
That shows you what the configured DNS servers are. As you can see, there aren’t any that I’ve pre-loaded, so it’s time to delve into the command line instead!
Pop open a Terminal window by launching Applications –> Utilities –> Terminal, then simply type in cat /etc/resolv.conf . Here’s what you’ll see:
$ cat /etc/resolv.conf
As you can see, I’m hooked up via Comcast right now and Comcast has given me two DNS servers that are automatically stored in the resolv.conf site.
Between the two, you should be able to identify exactly what DNS servers your eMac computer is using!