76 lines
5.4 KiB
HTML
76 lines
5.4 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of avahi.service</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>avahi.service</H1>
|
|
Section: File Formats (5)<BR>Updated: User<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
avahi.service - avahi-daemon static service file
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>/etc/avahi/services/*.service
|
|
</B>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<I>/etc/avahi/services/*.service</I> 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)
|
|
<A NAME="lbAE"> </A>
|
|
<H2>XML TAGS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B><service-group></B> The document tag of avahi service files. Should contain one <B><name></B> and one or more <B><service></B> elements.<DD>
|
|
<DT id="2"><B><name replace-wildcards="yes|no"></B> The service name. If <B>replace-wildcards</B> is "yes", any occurence of the string "%h" will be replaced by the local host name. This can be used for service names like "Remote Terminal on %h". If <B>replace-wildcards</B> is not specified, defaults to "no".<DD>
|
|
<DT id="3"><B><service protocol="ipv4|ipv6|any"></B> Contains the service information for exactly one service type. Should contain one <B><type></B> and one <B><port></B> element. Optionally it may contain one <B><domain-name></B>, one <B><host-name></B>, any number of <B><subtype></B> and any number of <B><txt-record></B> elements. The attribute <B>protocol</B> specifies the protocol to advertise the service on. If <B>any</B> is used (which is the default), the service will be advertised on both IPv4 and IPv6.<DD>
|
|
<DT id="4"><B><type></B> Contains the DNS-SD service type for this service. e.g. "_http._tcp".<DD>
|
|
<DT id="5"><B><subtype></B> Contains an additional DNS-SD service subtype for this service. e.g. "_anon._sub._<A HREF="ftp://ftp._tcp">ftp._tcp</A>".<DD>
|
|
<DT id="6"><B><domain-name></B> The domain name this service should be registered. If omited defaults to the default domain of the avahi daemon. (probably .local)<DD>
|
|
<DT id="7"><B><host-name></B> The host name of the host that provides this service. This should be a host that is resolvable by multicast or unicast DNS. Please note that you need to specify a fully-qualified domain name (FQDN) here, i.e. .local is not appended implicitly! The host name doesn't need to be part of the domain specified in <B><domain-name></B>. See <B><A HREF="/cgi-bin/man/man2html?5+avahi.hosts">avahi.hosts</A>(5)</B> for more information how to publish additional host name mappings.<DD>
|
|
<DT id="8"><B><port></B> The IP port number the service listens on.<DD>
|
|
<DT id="9"><B><txt-record value-format="text|binary-hex|binary-base64"></B> DNS-SD TXT record data. If <B>value-format</B> is "text", the value of the TXT record is taken verbatim. If <B>value-format</B> is "binary-hex" then the value of TXT record is decoded by taking pairs of characters after the "=" char and interpreting them as the textual representation of the two-digit hexadecimal number. Both uppercase and lowercase hexadecimal digits are allowed. The 0x or 0X prefix is not allowed. This requires the length of the value to be even. If <B>value-format</B> is "binary-base64" then the value of TXT record is decoded with a base64 decoder. The character set used is A-Za-z0-9+/. This requires the length of the value to be a multiple of 4, with "=" as padding at the end. If <B>value-format</B> is not specified, defaults to "text". Examples (all the values are decoded to the string "value" without quotes):<DD>
|
|
<P>
|
|
<txt-record>key=value<txt-record>
|
|
<P>
|
|
<txt-record value-format="text">key=value<txt-record>
|
|
<P>
|
|
<txt-record value-format="binary-hex">key=76616c7565<txt-record>
|
|
<P>
|
|
<txt-record value-format="binary-base64">key=dmFsdWU=<txt-record>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from <B><A HREF="http://avahi.org/">http://avahi.org/</A></B>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+avahi-daemon">avahi-daemon</A>(8)</B>, <B><A HREF="/cgi-bin/man/man2html?5+avahi.hosts">avahi.hosts</A>(5)</B>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>COMMENTS</H2>
|
|
|
|
This man page was written using <B><A HREF="/cgi-bin/man/man2html?1+xml2man">xml2man</A>(1)</B> by Oliver Kurth.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="13"><A HREF="#lbAE">XML TAGS</A><DD>
|
|
<DT id="14"><A HREF="#lbAF">AUTHORS</A><DD>
|
|
<DT id="15"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="16"><A HREF="#lbAH">COMMENTS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:02 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|