Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows 7 computer and a MacOS X 10.6 computer that are connected to the same LAN using a 10$ hub. On MacOS I set the computer name to "mymac.local" in "preferences->sharing". The Windows computer has a static IP address of and the Mac has the address Both have a netmask of and no gateway.

If I issue the command ping mymac.local from my Windows computer it will successfully ping How did Windows determine that IP is associated with "mymac.local" since there's no DNS on my network? Is it some broadcast? What protocol is used?

share|improve this question
up vote 3 down vote accepted

It resolves the .local names using multicast DNS (RFC 6762) as part of zero-configuration networking.

share|improve this answer
Yes, installing bonjour enables ping by name. It is not working without bonjour. – Eye of Hell Mar 4 '11 at 19:07

It uses the (ancient) NETBIOS protocol and the Windows implementation of its name service, WINS. If a name cannot be resolved by the DNS servers the WINS server is tried or if it isn't defined a NEBIOS call is made.

Note that some routers include a DNS server and add to it the name each DHCP clients provides. If your router supports this capability, then the DNS protocol is actually being used to resolve the name resolution query.

share|improve this answer
When you see .local as part of the name it's much more likely to be zeroconf than NETBIOS. – sciurus Mar 6 '11 at 0:42

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.