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

Aug 30, 2009 11:35 AM in response to jlann

I have almost the same setup and issue as the original poster (SL-running Mini, 10.5.8 DNS server, other 10.5.8 machines working fine, etc.). nslookup is returning the correct information, but ping is not.

I was able to fix the issue for an couple of hours by rebooting my 10.5.8 DNS server, but now the issue is back.

Aug 30, 2009 5:37 PM in response to Snoop Dogg

Snoop:

Here's my output, the first listing (resolver #1) is my router. It's running Tomato and has DNS forwarding and caching:

DNS configuration

resolver #1
domain : local
nameserver[0] : 192.168.1.1
order : 200000

resolver #2
domain : local
options : mdns
timeout : 2
order : 300000

resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 2
order : 300200

resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300400

resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300600

resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300800

resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 2
order : 301000

-ksudeadeye

Aug 30, 2009 6:24 PM in response to ksudeadeye

OK. The reason for the failure is that you're using ".local" for your private domain but Mac OS X uses ".local" for Bonjour. You should avoid using ".local" for your own private domain, and instead you should switch to some other TLD, like ".home" or ".lan" or ".private" or anything else, as long as it's not ".local". If switching would be too much work, there's another workaround you can do. Make sure there's an SOA record in your DNS zone file that answers for "local.". In other words, verify that running this Terminal command returns an SOA record in the answer section of the response.

dig -t soa local.

If it returns NXDOMAIN, it means you haven't done it right. Configuring an SOA record in your zone file will tell the Snow Leopard machine that you're using "local" for unicast DNS on your network, and then the machine will query for "local" names using regular DNS in addition to Multicast DNS.

Hope that helps.

Aug 30, 2009 6:42 PM in response to rtrouton

It looks like my issues may come down to my having split DNS on my 10.6 client, with DNS server entries for both my internal DNS server as well as OpenDNS's DNS server. I've removed the OpenDNS server entries from my 10.6 mini (I already had the Open DNS servers set as forwarders on my 10.5.8 server) and we'll see if the DNS works properly now that it can only look at one DNS server.

scutil (with both internal and OpenDNS DNS enabled):

DNS configuration

resolver #1
search domain[0] : mydomain.net
nameserver[0] : 192.168.1.70
nameserver[1] : 208.67.220.220
nameserver[2] : 208.67.222.222
order : 200000

resolver #2
domain : local
options : mdns
timeout : 2
order : 300000

resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 2
order : 300200

resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300400

resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300600

resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300800

resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 2
order : 301000



scutil (with only internal DNS enabled):

DNS configuration

resolver #1
search domain[0] : mydomain.net
nameserver[0] : 192.168.1.70
order : 200000

resolver #2
domain : local
options : mdns
timeout : 2
order : 300000

resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 2
order : 300200

resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300400

resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300600

resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 2
order : 300800

resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 2
order : 301000

Aug 31, 2009 3:23 AM in response to Ivan Ong

I have a similar issue. My local DNS server handles all lookups (resolves addresses for local domain locally and forwards other queries to my ISP's DNS server).

Queries for non-local lookups always succeed, however queries for local domain will succeed only the first time and fail on second attempts.

Using Nslookup works all the time, but any command that uses gethostbyname (i.e. ping) will succeed once (tcpdump shows a correct lookup to local dns server), but will fail the 2nd time (no lookup to dns server visible in tcpdump).

On a sidenote, it looks like host lookups are not cached (since they do not show up in dscacheutil)
(all lookups result in a cache miss).

I tried turning IPv6 off/on but this does not change anything.

(first part of ) Output of scutil --dns

DNS configuration

resolver #1
domain : munnik.net
nameserver[0] : 192.168.1.121
order : 200000

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.