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.

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

1 Answer 1

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

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.