1avahi-daemon.conf(5)          File Formats Manual         avahi-daemon.conf(5)
2
3
4

NAME

6       avahi-daemon.conf - avahi-daemon configuration file
7

SYNOPSIS

9       /etc/avahi/avahi-daemon.conf
10

DESCRIPTION

12       avahi-daemon.conf is the configuration file for avahi-daemon.
13

SECTION [SERVER]

15       host-name= Set the host name avahi-daemon tries to register on the LAN.
16       If omited defaults to the system host name as  set  with  the  sethost‐
17       name() system call.
18
19       domain-name= Set the default domain name avahi-daemon tries to register
20       its host name and services on  the  LAN  in.  If  omitted  defaults  to
21       ".local".
22
23       browse-domains=  Set  a  comma  separated  list of browsing domains (in
24       addition to the default one and  those  announced  inside  the  default
25       browsing  domain).  Please  note  that  the user may specify additional
26       browsing   domains   on   the   client   side,   either   by    setting
27       $AVAHI_BROWSE_DOMAINS to a list of colon separated domains or by adding
28       them to the XDG config file  ~/.config/avahi/browse-domains  (separated
29       by newlines).
30
31       use-ipv4=  Takes a boolean value ("yes" or "no"). If set to "no" avahi-
32       daemon will not use IPv4 sockets. Default is "yes".
33
34       use-ipv6= Takes a boolean value ("yes" or "no"). If set to "no"  avahi-
35       daemon will not use IPv6 sockets. Default is "yes".
36
37       allow-interfaces=  Set a comma separated list of allowed network inter‐
38       faces that should be used by the avahi-daemon. Traffic on other  inter‐
39       faces  will  be  ignored.  If set to an empty list all local interfaces
40       except loopback and point-to-point will be used.
41
42       deny-interfaces= Set a comma separated list of network interfaces  that
43       should  be ignored by avahi-daemon. Other not specified interfaces will
44       be used, unless allow-interfaces= is set. This option takes  precedence
45       over allow-interfaces=.
46
47       check-response-ttl=  Takes  a  boolean value ("yes" or "no"). If set to
48       "yes", an additional security check is activated: incoming  IP  packets
49       will  be  ignored unless the IP TTL is 255. Earlier mDNS specifications
50       required this check. Since this feature may be incompatible with  newer
51       implementations  of mDNS it defaults to "no". On the other hand it pro‐
52       vides extra security.
53
54       use-iff-running= Takes a boolean value ("yes" or "no"). If set to "yes"
55       avahi-daemon  monitors  the  IFF_RUNNING flag bit which is used by some
56       (modern) network drivers to tell user  space  if  a  network  cable  is
57       plugged in (in case of copper ethernet), or the network card is associ‐
58       ated with some kind of network (in case of WLAN). If IFF_RUNNING is set
59       avahi-daemon  will automatically announce its services on that network.
60       Unfortunately far too many network drivers do not support this flag  or
61       support it in a broken way. Therefore this option defaults to "no".
62
63       enable-dbus= Takes either "yes", "no" or "warn". If set to "yes" avahi-
64       daemon connects to D-Bus, offering an object oriented client API. It is
65       only  available  if Avahi has been compiled with --enable-dbus in which
66       case it defaults to "yes". "warn" behaves like "yes",  but  the  daemon
67       starts up even when it fails to connect to a D-Bus daemon. In addition,
68       if the connection to the D-Bus daemon is terminated we  try  to  recon‐
69       nect.  (Unless  we  are in a chroot() environment where this definitely
70       will fail.)
71
72       disallow-other-stacks= Takes a boolean value ("yes" or "no"). If set to
73       "yes" no other process is allowed to bind to UDP port 5353. This effec‐
74       tively impedes other mDNS stacks from running on the host. Use this  as
75       a security measure to make sure that only Avahi is responsible for mDNS
76       traffic. Please note that we do not  recommend  running  multiple  mDNS
77       stacks on the same host simultaneously. This hampers reliability and is
78       a waste of resources. However, to not annoy people this option defaults
79       to "no".
80
81       allow-point-to-point=  Takes a boolean value ("yes" or "no"). If set to
82       "yes" avahi-daemon will make use of  interfaces  with  the  POINTOPOINT
83       flag set. This option defaults to "no" as it might make mDNS unreliable
84       due to usually large latencies with such links and  opens  a  potential
85       security  hole  by  allowing mDNS access from Internet connections. Use
86       with care and YMMV!
87
88       cache-entries-max=  Takes  an  unsigned  integer  specifying  how  many
89       resource  records  are  cached  per interface. Bigger values allow mDNS
90       work correctly in large LANs but also increase memory consumption.
91
92       clients-max= Takes an unsigned integer. The maximum number  of  concur‐
93       rent  D-Bus  clients  allowed. If the maximum number is reached further
94       clients will be refused until at least one existing client disconnects.
95
96       objects-per-client-max= Takes an unsigned integer. The  maximum  number
97       of  objects  (entry groups, browsers, resolvers) that may be registered
98       per D-Bus client at a time. If the maximum number  is  reached  further
99       object creation will be refused until at least one object is freed.
100
101       entries-per-entry-group-max=  Takes  an  unsigned  integer. The maximum
102       number of entries (resource records) per entry group registered by a D-
103       Bus client at a time. If the maximum number is reached further resource
104       records may not be added to an entry group.
105
106       ratelimit-interval-usec= Takes an unsigned integer. Sets the per-inter‐
107       face  packet rate-limiting interval parameter. Together with ratelimit-
108       burst= this may be used to control the maximum number of packets  Avahi
109       will generated in a specific period of time on an interface.
110
111       ratelimit-burst=  Takes  an  unsigned  integer.  Sets the per-interface
112       packet rate-limiting burst parameter. Together with ratelimit-interval-
113       usec=  this  may be used to control the maximum number of packets Avahi
114       will generated in a specific period of time on an interface.
115

SECTION [WIDE-AREA]

117       enable-wide-area= Takes a boolean value ("yes" or "no").  Enable  wide-
118       area  DNS-SD,  aka  DNS-SD  over  unicast  DNS. If this is enabled only
119       domains ending in .local will be resolved on mDNS,  all  other  domains
120       are  resolved via unicast DNS. If you want to maintain multiple differ‐
121       ent multicast DNS domains even with this option  enabled  we  encourage
122       you  to  use subdomains of .local, such as "kitchen.local". This option
123       defaults to "yes".
124

SECTION [PUBLISH]

126       disable-publishing= Takes a boolean value ("yes" or "no").  If  set  to
127       "yes",  no  record will be published by Avahi, not even address records
128       for the local host. Avahi will be started in a querying-only mode.  Use
129       this is a security measure. This option defaults to "no"
130
131       disable-user-service-publishing= Takes a boolean value ("yes" or "no").
132       If set to "yes", Avahi will still publish address records and  suchlike
133       but will not allow user applications to publish services. Use this is a
134       security measure. This option defaults to "no"
135
136       add-service-cookie= Takes a boolean value ("yes" or "no").  If  set  to
137       "yes"  an  implicit  TXT  entry will be added to all locally registered
138       services, containing a cookie value which is chosen randomly on  daemon
139       startup.  This  can  be used to detect if two services on two different
140       interfaces/protocols are actually identical. Defaults to "no".
141
142       publish-addresses= Takes a boolean value ("yes" or  "no").  If  set  to
143       "yes"  avahi-daemon will register mDNS address records for all local IP
144       addresses. Unless you want to use avahi-daemon exclusively for browsing
145       it's recommended to enable this. If you plan to register local services
146       you need to enable this option. Defaults to "yes".
147
148       publish-hinfo= Takes a boolean value ("yes" or "no"). If set  to  "yes"
149       avahi-daemon will register an mDNS HINFO record on all interfaces which
150       contains information about the local operating system  and  CPU,  which
151       might be useful for administrative purposes. This is recommended by the
152       mDNS specification but not required. For the sake of privacy you  might
153       choose to disable this feature. Defaults to "yes."
154
155       publish-workstation=  Takes  a boolean value ("yes" or "no"). If set to
156       "yes" avahi-daemon will register a service of type  "_workstation._tcp"
157       on  the  local  LAN.  This  might be useful for administrative purposes
158       (i.e. browse for all PCs on the LAN), but is  not  required  or  recom‐
159       mended  by any specification. Newer MacOS X releases register a service
160       of this type. Defaults to "yes".
161
162       publish-domain= Takes a boolean value ("yes" or "no"). If set to  "yes"
163       avahi-daemon will announce the locally used domain name (see above) for
164       browsing by other hosts. Defaults to "yes".
165
166       publish-dns-servers= Takes a comma separated list of IP  addresses  for
167       unicast  DNS  servers. You can use this to announce unicast DNS servers
168       via mDNS. When used in conjunction with avahi-dnsconfd  on  the  client
169       side this allows DHCP-like configuration of unicast DNS servers.
170
171       publish-resolv-conf-dns-servers= Takes a boolean value ("yes" or "no").
172       If set to "yes" avahi-daemon will publish the unicast DNS servers spec‐
173       ified  in /etc/resolv.conf in addition to those specified with publish-
174       dns-servers. Send avahi-daemon a SIGHUP to have it  reload  this  file.
175       Defaults to "no".
176
177       publish-aaaa-on-ipv4=  Takes a boolean value ("yes" or "no"). If set to
178       "yes" avahi-daemon will publish an IPv6 AAAA record via IPv4, i.e.  the
179       local IPv6 addresses can be resolved using an IPv4 transport. Only use‐
180       ful when IPv4 is enabled with use-ipv4=true. Defaults to "yes".
181
182       publish-a-on-ipv6= Takes a boolean value ("yes" or  "no").  If  set  to
183       "yes"  avahi-daemon  will  publish  an IPv4 A record via IPv6, i.e. the
184       local IPv4 addresses can be resolved using an IPv6 transport. Only use‐
185       ful when IPv6 is enabled with use-ipv6=true. Defaults to "no".
186

SECTION [REFLECTOR]

188       enable-reflector=  Takes  a  boolean  value  ("yes" or "no"). If set to
189       "yes" avahi-daemon will reflect incoming mDNS  requests  to  all  local
190       network  interfaces, effectively allowing clients to browse mDNS/DNS-SD
191       services on all networks connected to the gateway. The gateway is some‐
192       what intelligent and should work with all kinds of mDNS traffic, though
193       some functionality is lost (specifically the unicast reply  bit,  which
194       is  used  rarely  anyway).  Make  sure  to  not run multiple reflectors
195       between the same networks, this might cause them to play Ping Pong with
196       mDNS packets. Defaults to "no".
197
198       reflect-ipv= Takes a boolean value ("yes" or "no"). If set to "yes" and
199       enable-reflector is enabled, avahi-daemon  will  forward  mDNS  traffic
200       between  IPv4  and  IPv6, which is usually not recommended. Defaults to
201       "no".
202

SECTION [RLIMITS]

204       This section is used to define system resource limits for  the  daemon.
205       See  setrlimit(2)  for  more  information. If any of the options is not
206       specified in the configuration file, avahi-daemon does  not  change  it
207       from the system defaults.
208
209       rlimit-as=  Value in bytes for RLIMIT_AS (maximum size of the process's
210       virtual memory). Sensible values are heavily system dependent.
211
212       rlimit-core= Value in bytes for RLIMIT_CORE (maximum core  file  size).
213       Unless you want to debug avahi-daemon, it is safe to set this to 0.
214
215       rlimit-data=  Value  in  bytes  for  RLIMIT_DATA  (maximum  size of the
216       process's data segment). Sensible values are heavily system dependent.
217
218       rlimit-fsize= Value for RLIMIT_FSIZE (maximum size of files the process
219       may  create).  Since avahi-daemon shouldn't write any files to disk, it
220       is safe to set this to 0.
221
222       rlimit-nofile= Value for RLIMIT_NOFILE (open file descriptors).  avahi-
223       daemon  shouldn't need more than 15 to 20 open file descriptors concur‐
224       rently.
225
226       rlimit-stack= Value in bytes for  RLIMIT_STACK  (maximum  size  of  the
227       process stack). Sensible values are heavily system dependent.
228
229       rlimit-nproc=  Value  for  RLIMIT_NPROC  (number  of  process of user).
230       avahi-daemon forks of a helper process on systems  where  chroot(2)  is
231       available. Therefore this value should not be set below 2.
232

AUTHORS

234       The  Avahi  Developers  <avahi (at) lists (dot) freedesktop (dot) org>;
235       Avahi is available from http://avahi.org/
236

SEE ALSO

238       avahi-daemon(8), avahi-dnsconfd(8)
239

COMMENTS

241       This man page was written using xml2man(1) by Oliver Kurth.
242
243
244
245Manuals                              User                 avahi-daemon.conf(5)
Impressum