1avahi-publish-service(1) General Commands Manual avahi-publish-service(1)
2
3
4
6 avahi-publish-service - Register an mDNS/DNS-SD service or host name or
7 address mapping using the Avahi daemon
8
10 avahi-publish -s [options] name service-type port [TXT data ...]
11
12 avahi-publish-service [options] name service-type port [TXT data ...]
13
14 avahi-publish -a [options] host name address
15
16 avahi-publish-address [options] host name address
17
19 Register an mDNS/DNS-SD service or host name/address mapping using the
20 Avahi daemon.
21
23 When calling in service registration mode, specify a DNS-SD service
24 name (e.g. "Lennart's Files"), a service type (e.g. _http._tcp) and an
25 IP port number for the service, optionally followed by any number of
26 TXT record strings on the command line. When calling in address/host
27 name registration mode specify a fully qualified host name and an
28 address (IPv4 or IPv6).
29
30 -s | --service
31 Register a service. avahi-publish-service is equivalent to
32 avahi-publish -s.
33
34 -a | --address
35 Register an address/host name mapping. avahi-publish-address is
36 equivalent to avahi-publish -a.
37
38 -v | --verbose
39 Enable verbose mode.
40
41 -H | --host= HOSTNAME
42 Specify a host name for this service, in case it doesn't reside
43 on the local host. This host name needs to be fully qualified
44 and resolvable using mDNS or unicast DNS.
45
46 -d | --domain= DOMAIN
47 Publish the service in the specified domain. If omitted the
48 Avahi daemon will publish it in its default domain (usually
49 .local).
50
51 --subtype= SUBTYPE
52 Register the service with an additional subtype in addition to
53 the main type. DNS-SD subtypes have the form
54 _anon._sub._ftp._tcp, where _anon is the identifier of the sub‐
55 type and _ftp._tcp is the main type. You may pass this option
56 multiple times to register the service with multiple subtypes.
57
58 -f | --no-fail
59 Don't fail if the daemon is not found running. Instead, wait
60 until it appears. If it disconnects, try to reconnect.
61
62 -h | --help
63 Show help
64
65 -V | --version
66 Show version information.
67
69 The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>;
70 Avahi is available from http://avahi.org/
71
73 avahi-resolve(1), avahi-browse(1), avahi-daemon(8)
74
76 This man page was written using xml2man(1) by Oliver Kurth.
77
78
79
80Manuals User avahi-publish-service(1)