{"id":4307,"date":"2022-12-20T17:48:55","date_gmt":"2022-12-20T20:48:55","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/avahi-service-man5\/"},"modified":"2022-12-20T17:48:55","modified_gmt":"2022-12-20T20:48:55","slug":"avahi-service-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/avahi-service-man5\/","title":{"rendered":"avahi.service (man5)"},"content":{"rendered":"<h1 align=\"center\">avahi.service<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#XML TAGS\">XML TAGS<\/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.service \u2212 avahi-daemon static service file<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/etc\/avahi\/services\/*.service<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><i>\/etc\/avahi\/services\/*.service<\/i><\/b> are XML fragments containing static DNS-SD service data. Every service file can contain multiple service definitions which share the same name. This is useful for publishing service data for services which implement multiple protocols. (i.e. a printer implementing _ipp._tcp and _printer._tcp)<\/p>\n<h2>XML TAGS <a name=\"XML TAGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><service-group><\/b> The document tag of avahi service files. Should contain <br \/> one <b><name><\/b> and one or more <b><service><\/b> elements. <b><br \/> <name replace-wildcards=\"yes|no\"><\/b> The service name. If <b><br \/> replace-wildcards<\/b> is &#8220;yes&#8221;, any occurence of the string &#8220;%h&#8221; will be <br \/> replaced by the local host name. This can be used for service names <br \/> like &#8220;Remote Terminal on %h&#8221;. If <b>replace-wildcards<\/b> is not specified, <br \/> defaults to &#8220;no&#8221;. <b><br \/> <service protocol=\"ipv4|ipv6|any\"><\/b> Contains the service information for <br \/> exactly one service type. Should contain one <b><type><\/b> and one <b><port><\/b> <br \/> element. Optionally it may contain one <b><domain-name><\/b>, one <b><host-name><\/b>, <br \/> any number of <b><subtype><\/b> and any number of <b><txt-record><\/b> elements. The <br \/> attribute <b>protocol<\/b> specifies the protocol to advertise the service on. <br \/> If <b>any<\/b> is used (which is the default), the service will be advertised <br \/> on both IPv4 and IPv6. <b><br \/> <type><\/b> Contains the DNS-SD service type for this service. e.g. <br \/> &#8220;_http._tcp&#8221;. <b><br \/> <subtype><\/b> Contains an additional DNS-SD service subtype for this <br \/> service. e.g. &#8220;_anon._sub._ftp._tcp&#8221;. <b><br \/> <domain-name><\/b> The domain name this service should be registered. If <br \/> omited defaults to the default domain of the avahi daemon. (probably <br \/> .local) <b><br \/> <host-name><\/b> The host name of the host that provides this service. This <br \/> should be a host that is resolvable by multicast or unicast DNS. Please <br \/> note that you need to specify a fully-qualified domain name (FQDN) <br \/> here, i.e. .local is not appended implicitly! The host name doesn\u2019t <br \/> need to be part of the domain specified in <b><domain-name><\/b>. See <b><br \/> avahi.hosts(5)<\/b> for more information how to publish additional host name <br \/> mappings. <b> <port><\/b> The IP port number the service listens on. <b><br \/> <txt-record value-format=\"text|binary-hex|binary-base64\"><\/b> DNS-SD TXT <br \/> record data. If <b>value-format<\/b> is &#8220;text&#8221;, the value of the TXT record is <br \/> taken verbatim. If <b>value-format<\/b> is &#8220;binary-hex&#8221; then the value of TXT <br \/> record is decoded by taking pairs of characters after the &#8220;=&#8221; char and <br \/> interpreting them as the textual representation of the two-digit <br \/> hexadecimal number. Both uppercase and lowercase hexadecimal digits are <br \/> allowed. The 0x or 0X prefix is not allowed. This requires the length <br \/> of the value to be even. If <b>value-format<\/b> is &#8220;binary-base64&#8221; then the <br \/> value of TXT record is decoded with a base64 decoder. The character set <br \/> used is A-Za-z0-9+\/. This requires the length of the value to be a <br \/> multiple of 4, with &#8220;=&#8221; as padding at the end. If <b>value-format<\/b> is not <br \/> specified, defaults to &#8220;text&#8221;. Examples (all the values are decoded to <br \/> the string &#8220;value&#8221; without quotes):<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><txt-record>key=value<txt-record><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><txt-record value-format=\"text\">key=value<txt-record><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><txt-record value-format=\"binary-hex\">key=76616c7565<txt-record><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><txt-record value-format=\"binary-base64\">key=dmFsdWU=<txt-record><\/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.hosts(5)<\/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.service \u2212 avahi-daemon static service 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,1325,1291],"class_list":["post-4307","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-avahi","tag-man5"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4307","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=4307"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4307\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}