Super User is a question and answer site for computer enthusiasts and power users. 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

I'm working currently on a NAS management utility.

NAS will have to track local computers and local IP cameras.

Assuming that NAS will have Avahi set up, will it resolve everything on the network or only the devices that are also running Avahi service / daemon?

share|improve this question
up vote 1 down vote accepted

Yes, ideally, you run an IETF ZeroConf implementation (Avahi, Apple Bonjour, etc.) on each device, and each device responds to service discovery requests and hostname-to-IP-address resolution requests itself.

Avahi implements IETF ZeroConf networking (which Apple calls "Bonjour"). This is basically a cluster of 3 technologies:

  1. IPv4 link-local addressing (Microsoft calls this "APIPA"), where hosts can assign themselves 169.254.x.y/16 addresses.
  2. Multicast DNS (mDNS), where hosts can use multicasts to ask for each other's hostname-to-IP address mappings.
  3. DNS Service Discovery (DNS-SD), where hosts use mDNS to announce what services they offer, and to query other local hosts for what services the other hosts offer.

Devices running IETF ZeroConf implementations, including Avahi and Bonjour (OS X, iOS, and even Windows with Apple's "Bonjour for Windows" installed) can discover each other's services and resolve each other's hostnames to IP addresses.

It's possible to make one ZeroConf host act as a ZeroConf proxy for other devices that can't do it for themselves, but that usually takes a bit of setup, and the idea of having to set anything up goes against the whole meaning of "Zero Configuration Networking". The ideal is to have all the devices on your network, out of the box, already doing ZeroConf.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .