Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Snow Leopard mini having DNS issues

I installed Snow Leopard yesterday and everything seems to work pretty well, but I'm having an intermittent issue with DNS. The DNS in my home network is supplied by a Leopard Server, my 10.5.8 macs have no problem access and getting information about the other machines, however, on my snow leopard machine, I can execute a nslookup and get the proper information returned just fine, but then if I try to ping the same machine I just looked up, I'm told it can't resolve the hostname..weird. It will also occasionally fail when trying to us cmd-k to connect to my fileserver, again the same leopard server.
Also, I run a wiki on that same leopard server and all of my leopard machines can access and load the pages just fine. Snow leopard, probably because of DNS issues, can't find or sometimes just load, the pages.
Anyone have any ideas. I'm running a leopard server, with Open Directory, DNS, DHCP, Web, AFP, etc. None of my 10.5 systems have any trouble accessing the services, but my 10.6 mini continues to have DNS issues, and they're intermittent. Had none of these problems with I was running 10.5.8, so its not something that was a pre-existing condition.
Any ideas would certainly be appreciated.

mini, Mac OS X (10.6), Lots of mac stuff

Posted on Aug 29, 2009 6:10 AM

Reply
101 replies

Nov 20, 2009 7:36 AM in response to Johanjpk

Theory on the DNS issue: As a "feature", mDNSResponder is picking the fastest DNS server available. It normally sticks with the first on the list, but if that one is slow (even just hiccups) and it falls back to the second or third and gets a response more quickly, it then swaps the order to put the fastest one first-- for most users, improving their experience by eliminating network delays. This seems to be supported by testing: If I unplug my DNS server momentarily, my Snow Leopard box punts to the secondary (non-local) servers and doesn't go back to the first for a while after I plug it back in.

One academic question is, what triggers reverting to the proper order? It could just be that my chosen secondary server is slow, so the reordering naturally happens again and my local again becomes primary. Or it may be coded revert to the "correct" order after a few minutes.

Respecting that this feature is good for most users, I think what the rest of us need is a configuration option to enforce strict DNS server ordering.

Dec 20, 2009 4:30 PM in response to jlann

This is a strange solution, but I have found a way for my clients to re-connect without having to restart. In all, create two identical locations. When your network connection goes down, toggle the location to the other one. Toggling to the other location (in this case the network uses DHCP) renews the network.

Feb 11, 2010 2:48 PM in response to shellprompt

@shellprompt - I'm seeing the same issue as you describe - dns not working for certain internal domains when I'm connected via an att aircard and a vpn (could be cisco ipsec or Juniper ssl). I have been experiencing this issue for a while now that I believed was related to my aircard and the way dns works with dns server assignment from ATT - but today I learned something.

So I'm connected via aircard and Juniper ssl vpn using network connect. I have blah.com as a search domain. I run nslookup server1.blah.com and it succeeds, but if i ping server1.blah.com it fails as do other applications trying to access server1.blah.com. BUT - and here is the big news - when I remove that search domain from my aircard network pref the ping's by name now work!!! Unfortunately they only work for the Juniper and not the cisco.

My company does have this same data in a applecare case and I too am eagerly awaiting 10.6.3 to see if they solve this resolv.conf/mdnsresponder issue but wondering if anyone has any comments on what I have found.

Message was edited by: jonabaker

Mar 14, 2010 12:02 PM in response to jlann

I have the same problem with DNS, the strange thing is that one of my computers works but the other does not, even though they are all in the same local network using the same IP from the ISP.

Then I tried to ping the unresolved host, and it bounced back with permission denied on the DNS unresolved machine. But if I sudo ping, it works.

But on the machine that had no problem with resolving DNS, I don't need to sudo ping to get a response. So Snow Leopard is doing something strange to the permission, and I cannot fix the permission, even though I repaired the permissions, re-install 10.6.2 combo update.

I had waited the DNS to propagate, flushed the DNS, but nothing works.

Mar 15, 2010 6:08 PM in response to jlann

I was having this problem on our LAN. Our DNS server is a 10.5.8 Server and most of our clients are 10.4 and 10.5.
As soon as we added a couple of 10.6 clients, we started getting this problem as described on this thread.
What fixed it for me is that I added a secondary zone ( slave ) DNS 10.5.8 server and also added it to our DHCP server to ensure DHCP clients were given the two DNS servers.

Snow Leopard mini having DNS issues

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.