Differences between revisions 4 and 5
Revision 4 as of 2012-09-12 05:59:11
Size: 1107
Editor: SamatJain
Comment: IPv6
Revision 5 as of 2020-04-21 03:52:26
Size: 1431
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:

== Publishing new addresses ==

=== Aliases ===


[[https://gist.github.com/gdamjan/3168336|avahi-alias.py]] (Python 2-only) publishes new address in a command-line tool via D-Bus. The [[https://github.com/airtonix/avahi-aliases|avahi-aliases]] project does the same, but you can do so from `/etc/avahi/aliases.d/`.

The Avahi Walk of Fame lists many open-source applications that work with Zeroconf.

Avahi can browse services published on wide-area networks (WANs), by setting certain unicast DNS records for the domain.

Benjamin Sherman has an article about publishing services with Avahi.

Distributions' resource pages

IPv6

To enable Avahi for IPv6:

  • Make sure use-ipv6=yes is set in /etc/avahi/avahi-daemon.conf
  • Modify /etc/nsswitch.conf change mdns4_minimal to mdns, and mdns4 to mdns

Testing ping: if you're using link-local IPv6 addresses and not global ones, you need to use the -I option to specify outgoing interface w/ ping:

ping -I wlan0 router.local

Publishing new addresses

Aliases

avahi-alias.py (Python 2-only) publishes new address in a command-line tool via D-Bus. The avahi-aliases project does the same, but you can do so from /etc/avahi/aliases.d/.

SamatsWiki: Zeroconf (last edited 2020-04-21 03:52:26 by SamatJain)