Can't delete default DNS servers in Leopard

Discussion in 'macOS' started by highlighter, Nov 4, 2007.

  1. highlighter macrumors newbie

    Nov 4, 2007
    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?
  2. sozekizer macrumors member

    Nov 17, 2007
    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
  3. rdowns macrumors Penryn


    Jul 11, 2003
    Are you clicking the "+" in the lower right hand corner?

    Attached Files:

  4. sozekizer macrumors member

    Nov 17, 2007
    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.
  5. rdowns macrumors Penryn


    Jul 11, 2003
  6. sozekizer macrumors member

    Nov 17, 2007
    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.
  7. kokorozashi macrumors newbie

    Aug 12, 2003
    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.
  8. swiftaw macrumors 603


    Jan 31, 2005
    Omaha, NE, USA
    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.
  9. sgc macrumors newbie

    Jan 2, 2008
    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.

  10. supachicken macrumors member


    Oct 5, 2005
    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¿
  11. Z06jerry macrumors regular

    Feb 2, 2008
    Ontario, Canada
    Hitting blocked sites with OpenDNS under Leopard

    I was directed here by the folks @ OpenDNS. I am also having trouble with the DNS entries in my desktop & my router under Leopard. Anyone know of a solution? or do I have to wait for Apple to resolve this in a future update? Thanks
  12. richao macrumors newbie

    Jun 2, 2008
    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???
  13. Duncantho macrumors newbie

    Dec 28, 2007
    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.
  14. Simon27 macrumors newbie


    Dec 30, 2009
    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
    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:

    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.

Share This Page