]> git.meshlink.io Git - catta/blob - man/avahi-daemon.conf.5.xml.in
man: clarify avahi-daemon.conf.5
[catta] / man / avahi-daemon.conf.5.xml.in
1 <?xml version="1.0"?><!--*-nxml-*-->
2 <!DOCTYPE manpage SYSTEM "xmltoman.dtd">
3 <?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
4
5 <!--
6   This file is part of avahi.
7
8   avahi is free software; you can redistribute it and/or modify it
9   under the terms of the GNU Lesser General Public License as
10   published by the Free Software Foundation; either version 2.1 of the
11   License, or (at your option) any later version.
12
13   avahi is distributed in the hope that it will be useful, but WITHOUT
14   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
16   Public License for more details.
17
18   You should have received a copy of the GNU Lesser General Public
19   License along with avahi; if not, write to the Free Software
20   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21   USA.
22 -->
23
24 <manpage name="avahi-daemon.conf" section="5" desc="avahi-daemon configuration file">
25
26   <synopsis>
27     <cmd>@pkgsysconfdir@/avahi-daemon.conf</cmd>
28   </synopsis>
29
30   <description>
31     <p><file>avahi-daemon.conf</file> is the configuration file for avahi-daemon.</p>
32   </description>
33
34   <section name="Section [Server]">
35
36     <option>
37       <p><opt>host-name=</opt> Set the host name avahi-daemon tries
38       to register on the LAN. If omited defaults to the system host
39       name as set with the sethostname() system call.</p>
40     </option>
41
42     <option>
43       <p><opt>domain-name=</opt> Set the default domain name avahi-daemon
44       tries to register its host name and services on the LAN in. If
45       omitted defaults to ".local".</p>
46     </option>
47
48     <option>
49       <p><opt>browse-domains=</opt> Set a comma separated list of
50       browsing domains (in addition to the default one and those
51       announced inside the default browsing domain). Please note
52       that the user may specify additional browsing domains on the
53       client side, either by setting $AVAHI_BROWSE_DOMAINS to a list
54       of colon separated domains or by adding them to the XDG config
55       file <file>~/.config/avahi/browse-domains</file> (separated by
56       newlines).</p>
57
58     </option>
59
60     <option>
61       <p><opt>use-ipv4=</opt> Takes a boolean value ("yes" or
62       "no"). If set to "no" avahi-daemon will not use IPv4
63       sockets. Default is "yes".</p>
64     </option>
65
66     <option>
67       <p><opt>use-ipv6=</opt> Takes a boolean value ("yes" or
68       "no"). If set to "no" avahi-daemon will not use IPv6
69       sockets. Default is "yes".</p>
70     </option>
71
72     <option>
73       <p><opt>allow-interfaces=</opt> Set a comma separated list of
74       allowed network interfaces that should be used by the
75       avahi-daemon. Traffic on other interfaces will be ignored. If
76       set to an empty list all local interfaces except loopback and
77       point-to-point will be used.</p>
78     </option>
79
80     <option>
81       <p><opt>deny-interfaces=</opt> Set a comma separated list of
82       network interfaces that should be ignored by avahi-daemon.
83       Other not specified interfaces will be used, unless
84       <opt>allow-interfaces=</opt> is set. This option takes
85       precedence over <opt>allow-interfaces=</opt>.</p>
86     </option>
87
88     <option>
89       <p><opt>check-response-ttl=</opt> Takes a boolean value ("yes"
90       or "no"). If set to "yes", an additional security check is
91       activated: incoming IP packets will be ignored unless the IP
92       TTL is 255. Earlier mDNS specifications required this
93       check. Since this feature may be incompatible with newer
94       implementations of mDNS it defaults to "no". On the other hand
95       it provides extra security.</p>
96     </option>
97
98     <option>
99       <p><opt>use-iff-running=</opt> Takes a boolean value ("yes" or
100       "no"). If set to "yes" avahi-daemon monitors the IFF_RUNNING
101       flag bit which is used by some (modern) network drivers to
102       tell user space if a network cable is plugged in (in case of
103       copper ethernet), or the network card is associated with some
104       kind of network (in case of WLAN). If IFF_RUNNING is set
105       avahi-daemon will automatically announce its services on that
106       network. Unfortunately far too many network drivers do not
107       support this flag or support it in a broken way. Therefore
108       this option defaults to "no".</p>
109     </option>
110
111     <option>
112       <p><opt>enable-dbus=</opt> Takes either "yes", "no" or
113       "warn". If set to "yes" avahi-daemon connects to D-Bus,
114       offering an object oriented client API. It is only available
115       if Avahi has been compiled with <opt>--enable-dbus</opt> in
116       which case it defaults to "yes". "warn" behaves like "yes",
117       but the daemon starts up even when it fails to connect to a
118       D-Bus daemon. In addition, if the connection to the D-Bus
119       daemon is terminated we try to reconnect. (Unless we are in a
120       chroot() environment where this definitely will fail.) </p>
121     </option>
122
123     <option>
124       <p><opt>disallow-other-stacks=</opt> Takes a boolean value
125       ("yes" or "no"). If set to "yes" no other process is allowed
126       to bind to UDP port 5353. This effectively impedes other mDNS
127       stacks from running on the host. Use this as a security
128       measure to make sure that only Avahi is responsible for mDNS
129       traffic. Please note that we do not recommend running multiple
130       mDNS stacks on the same host simultaneously. This hampers
131       reliability and is a waste of resources. However, to not annoy
132       people this option defaults to "no".</p>
133     </option>
134
135     <option>
136       <p><opt>allow-point-to-point=</opt> Takes a boolean value
137       ("yes" or "no"). If set to "yes" avahi-daemon will make use of
138       interfaces with the POINTOPOINT flag set. This option defaults
139       to "no" as it might make mDNS unreliable due to usually large
140       latencies with such links and opens a potential security hole
141       by allowing mDNS access from Internet connections. Use with
142       care and YMMV!</p>
143     </option>
144
145     <option>
146       <p><opt>cache-entries-max=</opt> Takes an unsigned integer
147       specifying how many resource records are cached per
148       interface. Bigger values allow mDNS work correctly in large LANs
149       but also increase memory consumption.</p>
150     </option>
151
152     <option>
153       <p><opt>clients-max=</opt> Takes an unsigned integer. The
154       maximum number of concurrent D-Bus clients allowed. If the
155       maximum number is reached further clients will be refused until
156       at least one existing client disconnects.</p>
157     </option>
158
159     <option>
160       <p><opt>objects-per-client-max=</opt> Takes an unsigned
161       integer. The maximum number of objects (entry groups, browsers,
162       resolvers) that may be registered per client at a time. If the
163       maximum number is reached further object creation will be
164       refused until at least one object is freed.</p>
165     </option>
166
167     <option>
168       <p><opt>entries-per-entry-group-max=</opt> Takes an unsigned
169       integer. The maximum number of entries (resource records) per
170       entry group at a time. If the maximum number is reached further
171       resource records may not be added to an entry group.</p>
172     </option>
173
174   </section>
175
176   <section name="Section [wide-area]">
177     <option>
178       <p><opt>enable-wide-area=</opt> Takes a boolean value
179       ("yes" or "no"). Enable wide-area DNS-SD, aka
180       DNS-SD over unicast DNS. If this is enabled only domains
181       ending in .local will be resolved on mDNS, all other domains
182       are resolved via unicast DNS. If you want to maintain multiple
183       different multicast DNS domains even with this option enabled
184       we encourage you to use subdomains of .local, such as
185       "kitchen.local". This option defaults to "yes".</p>
186     </option>
187
188   </section>
189
190   <section name="Section [publish]">
191
192     <option><p><opt>disable-publishing=</opt> Takes a boolean value
193     ("yes" or "no"). If set to "yes", no record will be published by
194     Avahi, not even address records for the local host. Avahi will
195     be started in a querying-only mode. Use this is a security
196     measure. This option defaults to "no"</p></option>
197
198     <option><p><opt>disable-user-service-publishing=</opt> Takes a boolean value
199     ("yes" or "no"). If set to "yes", Avahi will still publish
200     address records and suchlike but will not allow user
201     applications to publish services. Use this is a security
202     measure. This option defaults to "no"</p></option>
203
204     <option>
205       <p><opt>add-service-cookie=</opt> Takes a boolean value ("yes"
206       or "no"). If set to "yes" an implicit TXT entry will be added
207       to all locally registered services, containing a cookie value
208       which is chosen randomly on daemon startup. This can be used
209       to detect if two services on two different
210       interfaces/protocols are actually identical. Defaults to
211       "no".</p>
212     </option>
213
214     <option>
215       <p><opt>publish-addresses=</opt> Takes a boolean value ("yes"
216       or "no"). If set to "yes" avahi-daemon will register mDNS
217       address records for all local IP addresses. Unless you want to
218       use avahi-daemon exclusively for browsing it's recommended to
219       enable this. If you plan to register local services you need
220       to enable this option. Defaults to "yes".</p>
221     </option>
222
223     <option>
224       <p><opt>publish-hinfo=</opt> Takes a boolean value ("yes" or
225       "no"). If set to "yes" avahi-daemon will register an mDNS
226       HINFO record on all interfaces which contains information
227       about the local operating system and CPU, which might be
228       useful for administrative purposes. This is recommended by the
229       mDNS specification but not required. For the sake of privacy
230       you might choose to disable this feature. Defaults to
231       "yes."</p>
232     </option>
233
234     <option>
235       <p><opt>publish-workstation=</opt> Takes a boolean value
236       ("yes" or "no"). If set to "yes" avahi-daemon will register a
237       service of type "_workstation._tcp" on the local LAN. This
238       might be useful for administrative purposes (i.e. browse for
239       all PCs on the LAN), but is not required or recommended by any
240       specification. Newer MacOS X releases register a service of
241       this type. Defaults to "yes".</p>
242     </option>
243
244     <option>
245       <p><opt>publish-domain=</opt> Takes a boolean value ("yes" or
246       "no"). If set to "yes" avahi-daemon will announce the locally
247       used domain name (see above) for browsing by other
248       hosts. Defaults to "yes".</p>
249     </option>
250
251     <option>
252       <p><opt>publish-dns-servers=</opt> Takes a comma separated
253       list of IP addresses for unicast DNS servers. You can use this
254       to announce unicast DNS servers via mDNS. When used in
255       conjunction with avahi-dnsconfd on the client
256       side this allows DHCP-like configuration of unicast DNS
257       servers.</p>
258     </option>
259
260     <option>
261       <p><opt>publish-resolv-conf-dns-servers=</opt> Takes a boolean
262       value ("yes" or "no"). If set to "yes" avahi-daemon will
263       publish the unicast DNS servers specified in
264       <file>/etc/resolv.conf</file> in addition to those specified
265       with <opt>publish-dns-servers</opt>. Send avahi-daemon a
266       SIGHUP to have it reload this file. Defaults to "no".</p>
267     </option>
268
269     <option>
270       <p><opt>publish-aaaa-on-ipv4=</opt> Takes a boolean value
271       ("yes" or "no"). If set to "yes" avahi-daemon will publish an
272       IPv6 AAAA record via IPv4, i.e. the local IPv6 addresses can be
273       resolved using an IPv4 transport. Only useful when IPv4 is
274       enabled with <opt>use-ipv4=true</opt>. Defaults to "yes".</p>
275     </option>
276
277     <option>
278       <p><opt>publish-a-on-ipv6=</opt> Takes a boolean value
279       ("yes" or "no"). If set to "yes" avahi-daemon will publish an
280       IPv4 A record via IPv6, i.e. the local IPv4 addresses can be
281       resolved using an IPv6 transport. Only useful when IPv6 is
282       enabled with <opt>use-ipv6=true</opt>. Defaults to "no".</p>
283     </option>
284
285   </section>
286
287   <section name="Section [reflector]">
288     <option>
289       <p><opt>enable-reflector=</opt> Takes a boolean value ("yes"
290       or "no"). If set to "yes" avahi-daemon will reflect incoming
291       mDNS requests to all local network interfaces, effectively
292       allowing clients to browse mDNS/DNS-SD services on all
293       networks connected to the gateway. The gateway is somewhat
294       intelligent and should work with all kinds of mDNS traffic,
295       though some functionality is lost (specifically the unicast
296       reply bit, which is used rarely anyway). Make sure to not run
297       multiple reflectors between the same networks, this might
298       cause them to play Ping Pong with mDNS packets. Defaults to
299       "no".</p>
300     </option>
301
302     <option>
303       <p><opt>reflect-ipv=</opt> Takes a boolean value ("yes" or
304       "no"). If set to "yes" and <opt>enable-reflector</opt> is
305       enabled, avahi-daemon will forward mDNS traffic between IPv4
306       and IPv6, which is usually not recommended. Defaults to "no".</p>
307     </option>
308   </section>
309
310   <section name="Section [rlimits]">
311     <p>This section is used to define system resource limits for the
312     daemon. See <manref section="2" name="setrlimit"/> for more
313     information. If any of the options is not specified in the configuration
314     file, avahi-daemon does not change it from the system
315     defaults.</p>
316
317     <option>
318       <p><opt>rlimit-as=</opt> Value in bytes for RLIMIT_AS (maximum size of the process's virtual memory). Sensible values are heavily system dependent.</p>
319     </option>
320
321     <option>
322       <p><opt>rlimit-core=</opt> Value in bytes for RLIMIT_CORE (maximum core file size). Unless you want to debug avahi-daemon, it is safe to set this to 0.</p>
323     </option>
324
325     <option>
326       <p><opt>rlimit-data=</opt> Value in bytes for RLIMIT_DATA (maximum size of the process's data segment). Sensible values are heavily system dependent.</p>
327     </option>
328
329     <option>
330       <p><opt>rlimit-fsize=</opt> Value for RLIMIT_FSIZE (maximum size of files the process may create). Since avahi-daemon shouldn't write any files to disk, it is safe to set this to 0.</p>
331     </option>
332
333     <option>
334       <p><opt>rlimit-nofile=</opt> Value for RLIMIT_NOFILE (open file descriptors). avahi-daemon shouldn't need more than 15 to 20 open file descriptors concurrently.</p>
335     </option>
336
337     <option>
338       <p><opt>rlimit-stack=</opt> Value in bytes for RLIMIT_STACK (maximum size of the process stack). Sensible values are heavily system dependent.</p>
339     </option>
340
341     <option>
342       <p><opt>rlimit-nproc=</opt> Value for RLIMIT_NPROC (number of process of user). avahi-daemon forks of a helper process on systems where <manref name="chroot" section="2"/> is available. Therefore this value should not be set below 2.</p>
343     </option>
344
345   </section>
346
347   <section name="Authors">
348     <p>The Avahi Developers &lt;@PACKAGE_BUGREPORT@&gt;; Avahi is
349     available from <url href="@PACKAGE_URL@"/></p>
350   </section>
351
352   <section name="See also">
353     <p>
354       <manref name="avahi-daemon" section="8"/>, <manref name="avahi-dnsconfd" section="8"/>
355     </p>
356   </section>
357
358   <section name="Comments">
359     <p>This man page was written using <manref name="xml2man" section="1"
360     href="http://masqmail.cx/xml2man/"/> by Oliver Kurth.</p>
361   </section>
362
363 </manpage>