man-pages/man1/avahi-publish.1.html
2021-03-31 01:06:50 +01:00

84 lines
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of avahi-publish-service</TITLE>
</HEAD><BODY>
<H1>avahi-publish-service</H1>
Section: User Commands (1)<BR>Updated: User<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
avahi-publish-service - Register an mDNS/DNS-SD service or host name or address mapping using the Avahi daemon
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>avahi-publish -s [</B><I>options</I><B>] </B><I>name</I><B> </B><I>service-type</I><B> </B><I>port</I><B> [</B><I>TXT data</I><B> ...]
<P>
avahi-publish-service [</B><I>options</I><B>] </B><I>name</I><B> </B><I>service-type</I><B> </B><I>port</I><B> [</B><I>TXT data</I><B> ...]
<P>
avahi-publish -a [</B><I>options</I><B>] </B><I>host name</I><B> </B><I>address</I><B>
<P>
avahi-publish-address [</B><I>options</I><B>] </B><I>host name</I><B> </B><I>address</I><B>
</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Register an mDNS/DNS-SD service or host name/address mapping using the Avahi daemon.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
When calling in service registration mode, specify a DNS-SD service name (e.g. &quot;Lennart's Files&quot;), a service type (e.g. _http._tcp) and an IP port number for the service, optionally followed by any number of TXT record strings on the command line. When calling in address/host name registration mode specify a fully qualified host name and an address (IPv4 or IPv6).
<DL COMPACT>
<DT id="1"><B>-s | --service</B><DD>
Register a service. avahi-publish-service is equivalent to avahi-publish -s.
<DT id="2"><B>-a | --address</B><DD>
Register an address/host name mapping. avahi-publish-address is equivalent to avahi-publish -a.
<DT id="3"><B>-v | --verbose</B><DD>
Enable verbose mode.
<DT id="4"><B>-H | --host=</B> <I>HOSTNAME</I><DD>
Specify a host name for this service, in case it doesn't reside on the local host. This host name needs to be fully qualified and resolvable using mDNS or unicast DNS.
<DT id="5"><B>-d | --domain=</B> <I>DOMAIN</I><DD>
Publish the service in the specified domain. If omitted the Avahi daemon will publish it in its default domain (usually .local).
<DT id="6"><B>--subtype=</B> <I>SUBTYPE</I><DD>
Register the service with an additional subtype in addition to the main type. DNS-SD subtypes have the form _anon._sub._<A HREF="ftp://ftp._tcp">ftp._tcp</A>, where _anon is the identifier of the subtype and _<A HREF="ftp://ftp._tcp">ftp._tcp</A> is the main type. You may pass this option multiple times to register the service with multiple subtypes.
<DT id="7"><B>-f | --no-fail</B><DD>
Don't fail if the daemon is not found running. Instead, wait until it appears. If it disconnects, try to reconnect.
<DT id="8"><B>-h | --help</B><DD>
Show help
<DT id="9"><B>-V | --version</B><DD>
Show version information.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHORS</H2>
The Avahi Developers &lt;avahi (at) lists (dot) freedesktop (dot) org&gt;; Avahi is available from <B><A HREF="http://avahi.org/">http://avahi.org/</A></B>
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+avahi-resolve">avahi-resolve</A>(1)</B>, <B><A HREF="/cgi-bin/man/man2html?1+avahi-browse">avahi-browse</A>(1)</B>, <B><A HREF="/cgi-bin/man/man2html?8+avahi-daemon">avahi-daemon</A>(8)</B>
<A NAME="lbAH">&nbsp;</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">&nbsp;</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">OPTIONS</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:05:07 GMT, March 31, 2021
</BODY>
</HTML>