ZeroConfNetworking
Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.
Launchpad entry: https://features.launchpad.net/distros/ubuntu/+spec/zero-configuration-networking
Packages affected: avahi-autoipd, libnss-mdns
Summary
This spec involves the proper handling of assigning link-local addresses, and using them successfully when no static configurations are used and no DHCP responses are seen.
Rationale
Use cases
Scope
Design
- avahi-autoipd
audit and promote to main (see http://avahi.org/wiki/SecurityConsiderations)
require both ll routes, as described in "Routes" at http://avahi.org/wiki/AvahiAutoipd
- multiple interfaces need to be handled (dhclient must be taught?)
- network manager
- patch with proper avahi ll hooks, especially adhoc modes
- remove zeroconf package from archive
- libnss-mdns
- start with version 0.8-5
- audit and promote to main
- read debian #393711 (pay attention to nsswitch.conf!)
- avahi-daemon
- enable by default
- in /etc/network/interfaces add some comments on how to set up manual ll addresses correctly.
- keep ".local" out of the dns search path
Implementation
Code
Data preservation and migration
Unresolved issues
BoF agenda and discussion
Clarification of terminology
Zeroconf is a collection of protocols including ipv4 link local, mdns, and dns service-discovery. Apple's implementation of zeroconf was named "Rendezvous", and was later renamed to "Bonjour". Avahi is a free software implementation of zeroconf. See http://avahi.org/wiki/AboutAvahi.
IPv4 link-local addresses are in the 165.254.0.0/16 space.
mDNS is DNS over multicast on the local network.
DNS-sd allows for service discovery using mDNS.