Check out my first novel, midnight's simulacra!

Zeroconf

From dankwiki
Revision as of 02:31, 20 November 2011 by Dank (talk | contribs) (→‎Service Instance Enumeration)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Courtesy of the IETF Zeroconf Working Group, by way of AppleTalk, NETBIOS, IPX and countless other nonstandardized protocols, Zero Configuration Networking attempts to simplify and automate local area networking (especially in the absence of suitable UIs). On UNIX, Avahi provides the mainstream Linux Zeroconf implementation; it is known as Bonjour on Apple products. Zeroconf's primary technologies include:

  • Uni- and multicast address autoconfiguration via Link-Local Addressing (typically static, or managed via DHCP)
  • Name translation via Multicast DNS (mDNS) (typically static, or managed via DNS)
  • Service discovery via DNS Service Discovery (DNS-SD) (typically managed via a directory server)

Service Discovery

Service Type Enumeration

Service types can be enumerated by querying _services._dns-sd._udp.domain for a given domain. The reply is a set of PTR records.

  • Avahi seems to support Service Type Enumeration, while Bonjour does not (November 2011)

Service Instance Enumeration

Rather than using the SRV record, SD makes use of PTR.

See also