Code sync
[external/avahi.git] / man / avahi-daemon.8
1 .TH avahi-daemon 8 User Manuals
2 .SH NAME
3 avahi-daemon \- The Avahi mDNS/DNS-SD daemon
4 .SH SYNOPSIS
5 \fBavahi-daemon [\fIoptions\fB]
6
7 avahi-daemon --kill\fB
8
9 avahi-daemon --reload\fB
10
11 avahi-daemon --check\fB
12 \f1
13 .SH DESCRIPTION
14 The Avahi mDNS/DNS-SD daemon implements Apple's Zeroconf architecture (also known as "Rendezvous" or "Bonjour"). The daemon registers local IP addresses and static services using mDNS/DNS-SD and provides two IPC APIs for local programs to make use of the mDNS record cache the avahi-daemon maintains. First there is the so called "simple protocol" which is 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). Finally there is the D-Bus interface which provides a rich object oriented interface to D-Bus enabled applications.
15
16 Upon startup avahi-daemon interprets its configuration file \fI/etc/avahi/avahi-daemon.conf\f1 and reads XML fragments from \fI/etc/avahi/services/*.service\f1 which may define static DNS-SD services. If you enable \fBpublish-resolv-conf-dns-servers\f1 in \fIavahi-daemon.conf\f1 the file \fI/etc/resolv.conf\f1 will be read, too.
17 .SH OPTIONS
18 .TP
19 \fB-f | --file=\f1 \fIFILE\f1
20 Specify the configuration file to read. (default: /etc/avahi/avahi-daemon.conf)
21 .TP
22 \fB-D | --daemonize\f1
23 Daemonize after startup. Implies \fB--syslog\f1.
24 .TP
25 \fB-s | --syslog\f1
26 Log to syslog instead of STDERR. Implied by \fB--daemonize\f1.
27 .TP
28 \fB--debug\f1
29 Increase verbosity to debug level.
30 .TP
31 \fB--no-rlimits\f1
32 Don't enforce resource limits as specified in the configuration file. (See \fBsetrlimit(2)\f1 for more information)
33 .TP
34 \fB--no-drop-root\f1
35 Don't drop root privileges after startup and don't require daemon to be started as root. We recommend not to use this option.
36 .TP
37 \fB--no-chroot\f1
38 Don't \fBchroot(2)\f1 the daemon. This option is only available when compiled with chroot() support.
39 .TP
40 \fB--no-proc-title\f1
41 Don't change the process name while running. Unless this option is specified avahi-daemon will reflect its current state and the selected host name in the process title.
42 .TP
43 \fB-k | --kill\f1
44 Kill an already running avahi-daemon. (equivalent to sending a SIGTERM)
45 .TP
46 \fB-r | --reload\f1
47 Tell an already running avahi-daemon to reread \fI/etc/resolv.conf\f1 (in case you enabled \fBpublish-resolv-conf-dns-servers\f1 in \fIavahi-daemon.conf\f1) the files from \fI/etc/avahi/services/\f1. Please note that this will not reload the \fI/etc/avahi/avahi-daemon.conf\f1. (equivalent to sending a SIGHUP)
48 .TP
49 \fB-c | --check\f1
50 Return 0 as return code when avahi-daemon is already running.
51 .TP
52 \fB-h | --help\f1
53 Show help
54 .TP
55 \fB-v | --version\f1
56 Show version information 
57 .SH FILES
58 \fI/etc/avahi/avahi-daemon.conf\f1: the default configuration file for avahi-daemon, \fBavahi-daemon.conf(5)\f1 for more information.
59
60 \fI/etc/avahi/hosts\f1: additional static hostname mappings to publish in mDNS, see \fBavahi.hosts(5)\f1 for more information.
61
62 \fI/etc/avahi/services/*.service\f1: static service definitions, see \fBavahi.service(5)\f1 for more information.
63 .SH SIGNALS
64 \fISIGINT, SIGTERM\f1: avahi-daemon will shutdown. (Same as \fB--kill\f1).
65
66 \fISIGHUP\f1: avahi-daemon will reload unicast DNS server data from \fI/etc/resolv.conf\f1 and static service definitions from \fI/etc/avahi/services/\f1. (Same as \fB--reload\f1)
67
68 \fISIGUSR1\f1: avahi-daemon will dump local and remote cached resource record data to syslog.
69 .SH AUTHORS
70 The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from \fBhttp://avahi.org/\f1
71 .SH SEE ALSO
72 \fBavahi-daemon.conf(5)\f1, \fBavahi.hosts(5)\f1, \fBavahi.service(5)\f1, \fBavahi-dnsconfd(8)\f1, \fBavahi-set-host-name(1)\f1
73
74 http://avahi.org/wiki/AvahiAndUnicastDotLocal documents the problems when using Avahi in a unicast DNS zone .local.
75 .SH COMMENTS
76 This man page was written using \fBxml2man(1)\f1 by Oliver Kurth.