Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have DNS lookup problems on my internal network. I'm using an internal DNS server with the IP

If I use nslookup everything works like it should:

>hawk:~ user$ nslookup publicwebserver.domain.local
>Name:  publicwebserver.domain.local
> Address:

My problem is that no other program seems to be able to lookup the DNS name:

hawk:~ user$ ping publicwebserver.domain.local

ping: cannot resolve publicwebserver.domain.local: Unknown host

It's like this for all command line programs and e.g. Firefox. If I fire up Network Utility, I get the same problem on the Lookup tab (probably since it uses nslookup or host on the back-end).

Has any of you seen this issue before?

share|improve this question

4 Answers 4

up vote 3 down vote accepted

It seems as if this is due to me pointing to both internal and external dns servers on my client, as mentioned here. After I removed all external DNS servers from my list of servers, everything works as it should.

share|improve this answer
Is it a link to a Windows Vista forum??? – Leo May 25 at 4:55

Actually it is probably due to using a .local domain. That conflicts with the mDNS resolution (zero configuration networking) which by default uses .local.

Some versions of OS X can support both name resolution methods, mDNS and normal DNS, but at least Yosemite doesn't seem to support it any more.

This little bit older Apple Support document explains the background. For Yosemite what does work still is adding "domain.local" to the DNS search list in the network settings.

The real solution is not using the .local domain for DNS resolved hosts.

share|improve this answer
This solved it for me (not using .local in my dns zone settings). I am using OSX Yosemite. – Adam Carr Jan 4 at 10:01

I have the same problem on OS X Yosemite beta, and switching to Google's fixed the problem for me.

share|improve this answer

For some, check /etc/resolver/ directory and delete any files there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.