Mac doesn’t use local dns for .local

dnsNetworkwifi

I'm using an macbook with Yosemite 10.10.3. There are no problems to access the "standard" internet.

But in my own network I use a local nameserver at my fritz-box. It is configured to use this DNS first before using public DNS. But if I want to access my .local-domain I get an ERR_NAME_NOT_RESOLVED. If I access directly by IP it works.

With a Windows 7 and a Windows 8 computer it works without any additional configuration (access by .local-domain). If I add the DNS to my network-connections it doesn't work again. Seems like my mac doesn't access / resolve .local-domains to this DNS.

Hope anyone has an idea to solve this problem.

PS: for sure – if I edit my /etc/hosts-file for each url it works – but this is not the way I want to go.

EDIT: If I check nslookup myUrl.local I got an Non-authoritative answer with the correct IP address. But I can't send a ping to this url or access it via browser before I added it to /etc/hosts.

Best Answer

Apple uses .local for bonjour.

This is reserved for mDNS in RFC 6762.

You should not use this in a mixed network. See https://en.wikipedia.org/wiki/.local for further discussion.