Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Why do other computers on my home network sometimes resolve as xyz.local and other times as xyz.lan ?

I have a NAS device that shows up in Safari Bonjour bookmarks as xyz.local. I've copied a direct link to a folder on the NAS into my bookmarks, sth like http://xyz.local/file/here. Sometimes the xyz.local link does not work. But when I replace the suffix .local with .lan, it works! What is the difference between .local and .lan?

share|improve this question
    
Playing around some more, I noticed that .local seems to work only when I am wired to the network with a cable, and .lan seems to work only when I am on wifi. But if I use the IP address of the NAS box (in the same subnet), it works regardless of wired or wifi. –  Eero Apr 29 '11 at 10:09
add comment

1 Answer

The .local domain is usually used by Zeroconf MDNS, which is a non-centralised DNS system where each machine announces the hostnames which they have. The .lan domain is probably used by your router, which runs a DNS server containing hostnames based on what machines declare when they DHCP. If the .local hostname isn't working then something is wrong with MDNS (not being announced by remote machine, local resolver not working, etc.).

share|improve this answer
add comment

Your Answer

 
discard

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.