Size: 703
Comment:
|
← Revision 5 as of 2020-04-21 03:52:26 ⇥
Size: 1431
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Avahi can [[http://0pointer.de/blog/projects/avahi-wide-area.html|browse services published on wide-area networks]] (WANs), by [[http://eric.extremeboredom.net/2006/03/16/253|setting certain unicast DNS records for the domain]]. | Avahi can [[http://0pointer.de/blog/projects/avahi-wide-area.html|browse services published on wide-area networks]] (WANs), by [[http://eric.extremeboredom.net/2006/03/16/253|setting certain unicast DNS records]] for the domain. |
Line 12: | Line 12: |
== 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: {{{#!highlight sh numbers=off ping -I wlan0 router.local }}} == 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/.