avahi-daemon(8)
๐ avahi-daemon โ the Avahi mDNS/DNS-SD daemon, bestie edition ๐
okay so like, this is the manual page for avahi-daemon, part of the System Manager's Manual, and honestly? she's iconic. let's get into it ๐ซถ
โจ NAME โจ
avahi-daemon โ The Avahi mDNS/DNS-SD daemon
๐ธ SYNOPSIS ๐ธ
avahi-daemon [options]
avahi-daemon --kill
avahi-daemon --reload
avahi-daemon --check
๐ฆ DESCRIPTION ๐ฆ
So the Avahi mDNS/DNS-SD daemon is out here implementing Apple's Zeroconf architecture โ which, for the uninitiated, is also known as "Rendezvous" or "Bonjour". iykyk ๐
What she does: registers local IP addresses and static services using mDNS/DNS-SD, and she provides two IPC APIs so local programs can make use of the mDNS record cache the avahi-daemon maintains. no cap, two whole APIs.
First up, there's the so called "simple protocol" โ used exclusively by avahi-dnsconfd (a daemon which configures unicast DNS servers using server info published via mDNS) and nss-mdns (a libc NSS plugin, providing name resolution via mDNS).
And finally, there's the D-Bus interface, which provides a rich object oriented interface to D-Bus enabled applications. main character energy fr fr โจ
Upon startup, avahi-daemon interprets its configuration file /etc/avahi/avahi-daemon.conf and reads XML fragments from /etc/avahi/services/*.service which may define static DNS-SD services.
And bestie, if you enable publish-resolv-conf-dns-servers in avahi-daemon.conf, the file /etc/resolv.conf will be read, too. ๐
๐ OPTIONS ๐
-f|--file=FILE โ Specify the configuration file to read. (default:/etc/avahi/avahi-daemon.conf)-D|--daemonizeโ Daemonize after startup. Implies--syslog.-s|--syslogโ Log to syslog instead of STDERR. Implied by--daemonize.--debugโ Increase verbosity to debug level. ๐--no-rlimitsโ Don't enforce resource limits as specified in the configuration file. (Seesetrlimit(2)for more information)--no-drop-rootโ Don't drop root privileges after startup and don't require daemon to be started as root. > We recommend not to use this option. (she's saying it for a reason, bestie ๐ฉ)--no-chrootโ Don'tchroot(2)the daemon. This option is only available when compiled withchroot()support.--no-proc-titleโ Don't change the process name while running. Unless this option is specifiedavahi-daemonwill reflect its current state and the selected host name in the process title.-k|--killโ Kill an already runningavahi-daemon. (equivalent to sending aSIGTERM)-r|--reloadโ Tell an already runningavahi-daemonto reread/etc/resolv.conf(in case you enabledpublish-resolv-conf-dns-serversinavahi-daemon.conf) and the files from/etc/avahi/services/. > Please note that this will not reload the/etc/avahi/avahi-daemon.conf. (equivalent to sending aSIGHUP)-c|--checkโ Return0as return code whenavahi-daemonis already running.-h|--helpโ Show help-v|--versionโ Show version information
๐ FILES ๐
/etc/avahi/avahi-daemon.conf: the default configuration file foravahi-daemon, seeavahi-daemon.conf(5)for more information./etc/avahi/hosts: additional static hostname mappings to publish in mDNS, seeavahi.hosts(5)for more information./etc/avahi/services/*.service: static service definitions, seeavahi.service(5)for more information.
๐ SIGNALS ๐
SIGINT,SIGTERM:avahi-daemonwill shutdown. (Same as--kill).SIGHUP:avahi-daemonwill reload unicast DNS server data from/etc/resolv.confand static service definitions from/etc/avahi/services/. (Same as--reload)SIGUSR1:avahi-daemonwill dump local and remote cached resource record data to syslog. ๐
๐ AUTHORS ๐
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
๐ SEE ALSO ๐
avahi-daemon.conf(5), avahi.hosts(5), avahi.service(5), avahi-dnsconfd(8), avahi-set-host-name(1)
http://avahi.org/wiki/AvahiAndUnicastDotLocal documents the problems when using Avahi in a unicast DNS zone .local. (ngl that one's worth a read ๐ซถ)
๐ COMMENTS ๐
This man page was written using xml2man(1) by Oliver Kurth.
and that's the whole vibe, bestie โ Manuals, User, avahi-daemon(8), that's the version and date info, mwah ๐โจ
๐ฆ where this page comes from
- alpine 3.24: avahi-doc 0.9_rc4-r0 ยท LGPL-2.1-or-later
- centos-stream 10: avahi 0.9~rc2-7.el10 ยท LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause-Views AND MIT
- fedora 43: avahi 0.9~rc2-6.fc43 ยท LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause-Views AND MIT
- fedora 43: avahi 0.9~rc2-6.fc43 ยท LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause-Views AND MIT
- fedora 44: avahi 0.9~rc2-8.fc44 ยท LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause-Views AND MIT
- fedora 44: avahi 0.9~rc2-8.fc44 ยท LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause-Views AND MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms