Can't delete default DNS servers in Leopard

highlighter

macrumors newbie
Original poster
Nov 4, 2007
7
0
I have a shiny new Macbook, but the wireless is brutally slow, so I'm trying openDNS to see if that helps. I go to system preferences -> network -> airport -> advanced -> DNS and there are two default numbers that are grayed out and cannot be selected or deleted. Anybody know how to get rid of these?
 

sozekizer

macrumors member
Nov 17, 2007
52
0
short of editing /etc/resolv.conf and deleting the servers in there, i'm not certain. i'm looking for the same answer. i'll post if i find anything
 

sozekizer

macrumors member
Nov 17, 2007
52
0
adding is not a problem. the "+" sign allows that. the issue is when attempting to delete the existing dns servers. they are greyed out and cannot be selected. nowhere in my network do i have static dns servers set.
 

kokorozashi

macrumors newbie
Aug 12, 2003
1
0
ah but you see that would be the easy way out. i want to be able to leave my router set to dhcp. there has to be a way to delete the default servers as they are loaded in the OS. i would prefer not to have to change settings in my router.
It's not just the easy but the only way out. An evidently little-known feature of DHCP is that it provides advice regarding which DNS servers to use. That's where those grey numbers are coming from. It would be nice if Apple allowed you to ignore them, as they seem to do with Ethernet, since they are only advice.
 

swiftaw

macrumors 603
Jan 31, 2005
6,311
21
Omaha, NE, USA
ah but you see that would be the easy way out. i want to be able to leave my router set to dhcp. there has to be a way to delete the default servers as they are loaded in the OS. i would prefer not to have to change settings in my router.
AFAIK changing your routers default DNS server has nothing to do with DHCP. I changed my routers default DNS server to openDNS and it is still providing DHCP to my network.
 

sgc

macrumors newbie
Jan 2, 2008
1
0
I have a shiny new Macbook, but the wireless is brutally slow, so I'm trying openDNS to see if that helps. I go to system preferences -> network -> airport -> advanced -> DNS and there are two default numbers that are grayed out and cannot be selected or deleted. Anybody know how to get rid of these?
Hi.
You can add a new location and use a manual ip and dns setup, or you can add a new AirPort interface with a manual ip and dns setup.

/Stiwi.
 

supachicken

macrumors member
Oct 5, 2005
40
0
Sydney
They where in there in tiger too mate - just appeared as blank.
Just put different DNS if you want and it should follow those ones after it falls over on the other one¿
 

richao

macrumors newbie
Jun 2, 2008
1
0
Fixing DNS problem on Airport under Leopard

There is a solution for this problem that's fairly straightforward. Essentially, you just need to create a new airport service.

1. Open System Preferences and go to Network.
2. Click on AirPort and click advanced. Note the IPv4 Address, Subnet Mask, and Router info under TCP/IP; also note the numbers listed under DNS, except for the SOB that's causing the problem (in my case, it's the same number as my Router address).
3. Click OK.
4. Click on AirPort in the left pane of the Network panel, and click the tool icon below that pane. Select Make Service Inactive.
5. Cilck the plus icon and create a new AirPort service.
6. Click Advanced, and change Configure IPv4 to "manually." Enter the information you copied. Do the same for DNS. Click the Airport button and add your network.
7. Click OK.
8. Click Apply.

Everything should be fine. Don't ask me why Apple wants to make us go through this rigamarole, unless it's to discourage us from using non-Apple routers???
 

Duncantho

macrumors newbie
Dec 28, 2007
1
0
Re. Can't delete default DNS servers in Leopard

After giving up on trying to delete the greyed-out addresses I thought I'd try leaving them there and simply adding the OpenDNS addresses that I wanted in their place. I rebooted and now everything works fine. In my case at least, they greyed-out ones now seem to be ignored.
 

Simon27

macrumors newbie
Dec 30, 2009
1
0
Since this thread features quite high in Google I thought I'd write up some conclusions now that it's a year later.

On Leopard, ignore the grayed-out DNS address and add you own ones in. Then, as suggested by coffeestar on this OpenDNS thread, run the command
Code:
cat /etc/resolv.conf
in Terminal. This will give you a list of your chosen DNS servers with the once suggested by the router at the end.

On Snow Leopard, when you add new DNS servers to the list, the one suggested by the router is replaced by your first choice. Then run the same Terminal command again and you will only see the servers that you chose, but with an interesting notice at the top:

Code:
This file is not used by the host name and address resolution or the DNS query routing mechanisms used by most processes on this Mac OS X system.

This file is automatically generated.
Hope this is of use to anyone finding this thread who's using Leopard.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.