Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

My router is an Airport Extreme. I can easily ssh to other OS X machines via hostname.local (example1.local, exmaple2.local, etc) once it is set in in the preferences.

But despite the fact that my Ubuntu machine is connected, it's hostname doesn't seem to be visible to other machines on my LAN. I can connect via LAN ip. I can also add it's ip manually to my /etc/hosts file and that works fine. but how do I get it to dynamically broadcast it's hostname the way my OS X machines do?

I don't really understand how my OS X machines are recognizing one another's .local hostnames, is the the router providing DNS?

share|improve this question

closed as off topic by MDMarra, EEAA, mdpc, Ward, John Gardeniers Feb 8 '13 at 8:26

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Please take a minute to read our faq. This isn't on topic here. – MDMarra Feb 8 '13 at 3:10
up vote 3 down vote accepted

The router isn't providing DNS. Your Macs can all see each other because they use mDNS(Bonjour) for local name resolution.

You can install and configure Ahavi on your Ubuntu machine if you want it to work the same way, or you can set up an actual DNS server.

share|improve this answer
thank you! and sorry about off topic, i now see that home networking questions should be asked on the superuser site. – billynoah Feb 18 '13 at 3:10

You do not need to register your host name with the Airport Extreme in order to get its name recognized under the .local domain. You just need to be running a zeroconf stack on your computer. In particular for Ubuntu, just make sure the "avahi-daemon" package is installed and that Avahi is running (which it will be by default if the package is installed).

share|improve this answer

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