{"id":4274,"date":"2022-12-20T17:48:51","date_gmt":"2022-12-20T20:48:51","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/avahi-daemon-conf-man5\/"},"modified":"2022-12-20T17:48:51","modified_gmt":"2022-12-20T20:48:51","slug":"avahi-daemon-conf-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/avahi-daemon-conf-man5\/","title":{"rendered":"avahi-daemon.conf (man5)"},"content":{"rendered":"<h1 align=\"center\">avahi-daemon.conf<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SECTION [SERVER]\">SECTION [SERVER]<\/a><br \/> <a href=\"#SECTION [WIDE-AREA]\">SECTION [WIDE-AREA]<\/a><br \/> <a href=\"#SECTION [PUBLISH]\">SECTION [PUBLISH]<\/a><br \/> <a href=\"#SECTION [REFLECTOR]\">SECTION [REFLECTOR]<\/a><br \/> <a href=\"#SECTION [RLIMITS]\">SECTION [RLIMITS]<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COMMENTS\">COMMENTS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">avahi-daemon.conf \u2212 avahi-daemon configuration file<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/etc\/avahi\/avahi-daemon.conf<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><i>avahi-daemon.conf<\/i><\/b> is the configuration file for avahi-daemon.<\/p>\n<h2>SECTION [SERVER] <a name=\"SECTION [SERVER]\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>host-name=<\/b> Set the host name avahi-daemon tries to register on the LAN. <br \/> If omited defaults to the system host name as set with the <br \/> sethostname() system call. <b><br \/> host-name-from-machine-id=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If <br \/> set to &#8220;yes&#8221; avahi-daemon will use the machine-id as name on the LAN. <b><br \/> domain-name=<\/b> Set the default domain name avahi-daemon tries to register <br \/> its host name and services on the LAN in. If omitted defaults to <br \/> &#8220;.local&#8221;. <b><br \/> browse-domains=<\/b> Set a comma separated list of browsing domains (in <br \/> addition to the default one and those announced inside the default <br \/> browsing domain). Please note that the user may specify additional <br \/> browsing domains on the client side, either by setting <br \/> $AVAHI_BROWSE_DOMAINS to a list of colon separated domains or by adding <br \/> them to the XDG config file <i>~\/.config\/avahi\/browse-domains<\/i> (separated <br \/> by newlines). <b><br \/> use-ipv4=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to &#8220;no&#8221; <br \/> avahi-daemon will not use IPv4 sockets. Default is &#8220;yes&#8221;. <b><br \/> use-ipv6=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to &#8220;no&#8221; <br \/> avahi-daemon will not use IPv6 sockets. Default is &#8220;yes&#8221;. <b><br \/> allow-interfaces=<\/b> Set a comma separated list of allowed network <br \/> interfaces that should be used by the avahi-daemon. Traffic on other <br \/> interfaces will be ignored. If set to an empty list all local <br \/> interfaces except loopback and point-to-point will be used. <b><br \/> deny-interfaces=<\/b> Set a comma separated list of network interfaces that <br \/> should be ignored by avahi-daemon. Other not specified interfaces will <br \/> be used, unless <b>allow-interfaces=<\/b> is set. This option takes precedence <br \/> over <b>allow-interfaces=<\/b>. <b><br \/> check-response-ttl=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221;, an additional security check is activated: incoming IP packets <br \/> will be ignored unless the IP TTL is 255. Earlier mDNS specifications <br \/> required this check. Since this feature may be incompatible with newer <br \/> implementations of mDNS it defaults to &#8220;no&#8221;. On the other hand it <br \/> provides extra security. <b><br \/> use-iff-running=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to &#8220;yes&#8221; <br \/> avahi-daemon monitors the IFF_RUNNING flag bit which is used by some <br \/> (modern) network drivers to tell user space if a network cable is <br \/> plugged in (in case of copper ethernet), or the network card is <br \/> associated with some kind of network (in case of WLAN). If IFF_RUNNING <br \/> is set avahi-daemon will automatically announce its services on that <br \/> network. Unfortunately far too many network drivers do not support this <br \/> flag or support it in a broken way. Therefore this option defaults to <br \/> &#8220;no&#8221;. <b><br \/> enable-dbus=<\/b> Takes either &#8220;yes&#8221;, &#8220;no&#8221; or &#8220;warn&#8221;. If set to &#8220;yes&#8221; <br \/> avahi-daemon connects to D-Bus, offering an object oriented client API. <br \/> It is only available if Avahi has been compiled with <b>&#8211;enable-dbus<\/b> in <br \/> which case it defaults to &#8220;yes&#8221;. &#8220;warn&#8221; behaves like &#8220;yes&#8221;, but the <br \/> daemon starts up even when it fails to connect to a D-Bus daemon. In <br \/> addition, if the connection to the D-Bus daemon is terminated we try to <br \/> reconnect. (Unless we are in a chroot() environment where this <br \/> definitely will fail.) <b><br \/> disallow-other-stacks=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221; no other process is allowed to bind to UDP port 5353. This <br \/> effectively impedes other mDNS stacks from running on the host. Use <br \/> this as a security measure to make sure that only Avahi is responsible <br \/> for mDNS traffic. Please note that we do not recommend running multiple <br \/> mDNS stacks on the same host simultaneously. This hampers reliability <br \/> and is a waste of resources. However, to not annoy people this option <br \/> defaults to &#8220;no&#8221;. <b><br \/> allow-point-to-point=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221; avahi-daemon will make use of interfaces with the POINTOPOINT <br \/> flag set. This option defaults to &#8220;no&#8221; as it might make mDNS unreliable <br \/> due to usually large latencies with such links and opens a potential <br \/> security hole by allowing mDNS access from Internet connections. Use <br \/> with care and YMMV! <b><br \/> cache-entries-max=<\/b> Takes an unsigned integer specifying how many <br \/> resource records are cached per interface. Bigger values allow mDNS <br \/> work correctly in large LANs but also increase memory consumption. <b><br \/> clients-max=<\/b> Takes an unsigned integer. The maximum number of <br \/> concurrent D-Bus clients allowed. If the maximum number is reached <br \/> further clients will be refused until at least one existing client <br \/> disconnects. <b><br \/> objects-per-client-max=<\/b> Takes an unsigned integer. The maximum number <br \/> of objects (entry groups, browsers, resolvers) that may be registered <br \/> per D-Bus client at a time. If the maximum number is reached further <br \/> object creation will be refused until at least one object is freed. <b><br \/> entries-per-entry-group-max=<\/b> Takes an unsigned integer. The maximum <br \/> number of entries (resource records) per entry group registered by a <br \/> D-Bus client at a time. If the maximum number is reached further <br \/> resource records may not be added to an entry group. <b><br \/> ratelimit-interval-usec=<\/b> Takes an unsigned integer. Sets the <br \/> per-interface packet rate-limiting interval parameter. Together with <b><br \/> ratelimit-burst=<\/b> this may be used to control the maximum number of <br \/> packets Avahi will generated in a specific period of time on an <br \/> interface. <b><br \/> ratelimit-burst=<\/b> Takes an unsigned integer. Sets the per-interface <br \/> packet rate-limiting burst parameter. Together with <b><br \/> ratelimit-interval-usec=<\/b> this may be used to control the maximum number <br \/> of packets Avahi will generated in a specific period of time on an <br \/> interface.<\/p>\n<h2>SECTION [WIDE-AREA] <a name=\"SECTION [WIDE-AREA]\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>enable-wide-area=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). Enable <br \/> wide-area DNS-SD, aka DNS-SD over unicast DNS. If this is enabled only <br \/> domains ending in .local will be resolved on mDNS, all other domains <br \/> are resolved via unicast DNS. If you want to maintain multiple <br \/> different multicast DNS domains even with this option enabled we <br \/> encourage you to use subdomains of .local, such as &#8220;kitchen.local&#8221;. <br \/> This option defaults to &#8220;yes&#8221;.<\/p>\n<h2>SECTION [PUBLISH] <a name=\"SECTION [PUBLISH]\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>disable-publishing=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221;, no record will be published by Avahi, not even address records <br \/> for the local host. Avahi will be started in a querying-only mode. Use <br \/> this is a security measure. This option defaults to &#8220;no&#8221; <b><br \/> disable-user-service-publishing=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). <br \/> If set to &#8220;yes&#8221;, Avahi will still publish address records and suchlike <br \/> but will not allow user applications to publish services. Use this is a <br \/> security measure. This option defaults to &#8220;no&#8221; <b><br \/> add-service-cookie=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221; an implicit TXT entry will be added to all locally registered <br \/> services, containing a cookie value which is chosen randomly on daemon <br \/> startup. This can be used to detect if two services on two different <br \/> interfaces\/protocols are actually identical. Defaults to &#8220;no&#8221;. <b><br \/> publish-addresses=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221; avahi-daemon will register mDNS address records for all local IP <br \/> addresses. Unless you want to use avahi-daemon exclusively for browsing <br \/> it\u2019s recommended to enable this. If you plan to register local services <br \/> you need to enable this option. Defaults to &#8220;yes&#8221;. <b><br \/> publish-hinfo=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to &#8220;yes&#8221; <br \/> avahi-daemon will register an mDNS HINFO record on all interfaces which <br \/> contains information about the local operating system and CPU, which <br \/> might be useful for administrative purposes. This is recommended by the <br \/> mDNS specification but not required. For the sake of privacy you might <br \/> choose to disable this feature. Defaults to &#8220;no&#8221;. <b><br \/> publish-workstation=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221; avahi-daemon will register a service of type &#8220;_workstation._tcp&#8221; <br \/> on the local LAN. This might be useful for administrative purposes <br \/> (i.e. browse for all PCs on the LAN), but is not required or <br \/> recommended by any specification. Newer MacOS X releases register a <br \/> service of this type. Defaults to &#8220;no&#8221;. <b><br \/> publish-domain=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to &#8220;yes&#8221; <br \/> avahi-daemon will announce the locally used domain name (see above) for <br \/> browsing by other hosts. Defaults to &#8220;yes&#8221;. <b><br \/> publish-dns-servers=<\/b> Takes a comma separated list of IP addresses for <br \/> unicast DNS servers. You can use this to announce unicast DNS servers <br \/> via mDNS. When used in conjunction with avahi-dnsconfd on the client <br \/> side this allows DHCP-like configuration of unicast DNS servers. <b><br \/> publish-resolv-conf-dns-servers=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). <br \/> If set to &#8220;yes&#8221; avahi-daemon will publish the unicast DNS servers <br \/> specified in <i>\/etc\/resolv.conf<\/i> in addition to those specified with <b><br \/> publish-dns-servers<\/b>. Send avahi-daemon a SIGHUP to have it reload this <br \/> file. Defaults to &#8220;no&#8221;. <b><br \/> publish-aaaa-on-ipv4=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221; avahi-daemon will publish an IPv6 AAAA record via IPv4, i.e. the <br \/> local IPv6 addresses can be resolved using an IPv4 transport. Only <br \/> useful when IPv4 is enabled with <b>use-ipv4=true<\/b>. Defaults to &#8220;yes&#8221;. <b><br \/> publish-a-on-ipv6=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221; avahi-daemon will publish an IPv4 A record via IPv6, i.e. the <br \/> local IPv4 addresses can be resolved using an IPv6 transport. Only <br \/> useful when IPv6 is enabled with <b>use-ipv6=true<\/b>. Defaults to &#8220;no&#8221;.<\/p>\n<h2>SECTION [REFLECTOR] <a name=\"SECTION [REFLECTOR]\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>enable-reflector=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to <br \/> &#8220;yes&#8221; avahi-daemon will reflect incoming mDNS requests to all local <br \/> network interfaces, effectively allowing clients to browse mDNS\/DNS-SD <br \/> services on all networks connected to the gateway. The gateway is <br \/> somewhat intelligent and should work with all kinds of mDNS traffic, <br \/> though some functionality is lost (specifically the unicast reply bit, <br \/> which is used rarely anyway). Make sure to not run multiple reflectors <br \/> between the same networks, this might cause them to play Ping Pong with <br \/> mDNS packets. Defaults to &#8220;no&#8221;. <b><br \/> reflect-ipv=<\/b> Takes a boolean value (&#8220;yes&#8221; or &#8220;no&#8221;). If set to &#8220;yes&#8221; and <b><br \/> enable-reflector<\/b> is enabled, avahi-daemon will forward mDNS traffic <br \/> between IPv4 and IPv6, which is usually not recommended. Defaults to <br \/> &#8220;no&#8221;. <b><br \/> reflect-filters=<\/b> Set a comma separated list of allowed service names to <br \/> be reflected. Each service that is seen must match an entry in this <br \/> list to be reflected to other networks. This list can match the type of <br \/> service or the name of the machine providing the service. Defaults to <br \/> allowing all services.<\/p>\n<h2>SECTION [RLIMITS] <a name=\"SECTION [RLIMITS]\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This section is used to define system resource limits for the daemon. See <b>setrlimit(2)<\/b> for more information. If any of the options is not specified in the configuration file, avahi-daemon does not change it from the system defaults. <b><br \/> rlimit-as=<\/b> Value in bytes for RLIMIT_AS (maximum size of the process\u2019s <br \/> virtual memory). Sensible values are heavily system dependent. <b><br \/> rlimit-core=<\/b> Value in bytes for RLIMIT_CORE (maximum core file size). <br \/> Unless you want to debug avahi-daemon, it is safe to set this to 0. <b><br \/> rlimit-data=<\/b> Value in bytes for RLIMIT_DATA (maximum size of the <br \/> process\u2019s data segment). Sensible values are heavily system dependent. <b><br \/> rlimit-fsize=<\/b> Value for RLIMIT_FSIZE (maximum size of files the process <br \/> may create). Since avahi-daemon shouldn\u2019t write any files to disk, it <br \/> is safe to set this to 0. <b><br \/> rlimit-nofile=<\/b> Value for RLIMIT_NOFILE (open file descriptors). <br \/> avahi-daemon shouldn\u2019t need more than 15 to 20 open file descriptors <br \/> concurrently. <b><br \/> rlimit-stack=<\/b> Value in bytes for RLIMIT_STACK (maximum size of the <br \/> process stack). Sensible values are heavily system dependent. <b><br \/> rlimit-nproc=<\/b> Value for RLIMIT_NPROC (max number of processes a user <br \/> can launch). avahi-daemon forks of a helper process on systems where <b><br \/> chroot(2)<\/b> is available therefore this value should not be set below 2. <br \/> Note that while the process limit only applies to this process, the <br \/> total count of processes to reach that limit includes all processes on <br \/> the system with the same UID, including any containers without UID <br \/> remapping (such as lxd containers with security.privileged=true). The <br \/> default configuration of 3 was removed to prevent problems in this <br \/> scenario.<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from <b>http:\/\/avahi.org\/<\/b><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>avahi-daemon(8)<\/b>, <b>avahi-dnsconfd(8)<\/b><\/p>\n<h2>COMMENTS <a name=\"COMMENTS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This man page was written using <b>xml2man(1)<\/b> by Oliver Kurth.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  avahi-daemon.conf \u2212 avahi-daemon configuration file <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,782,1291],"class_list":["post-4274","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-avahi-daemon","tag-man5"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4274"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4274\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}