avahi
Installation
SKILL.md
Identity
- Daemon:
avahi-daemon - Unit:
avahi-daemon.service - Config:
/etc/avahi/avahi-daemon.conf - Service definitions:
/etc/avahi/services/(XML.servicefiles) - Port: 5353/UDP (mDNS multicast —
224.0.0.251) - Distro install:
apt install avahi-daemon avahi-utils/dnf install avahi avahi-tools - NSS plugin:
libnss-mdns(Debian/Ubuntu) /nss-mdns(Fedora) — required for.localresolution
Key Operations
| Operation | Command |
|---|---|
| Check daemon status | systemctl status avahi-daemon |
| Browse all advertised services | avahi-browse --all --resolve --terminate |
| Browse a specific service type | avahi-browse --resolve --terminate _http._tcp |
Resolve a .local hostname |
avahi-resolve --name hostname.local |
Resolve an IP to .local name |
avahi-resolve --address 192.168.1.x |
| Show what this host publishes | avahi-browse --all --resolve --terminate | grep "$(hostname)" |
Related skills