1avahi.service(5) File Formats Manual avahi.service(5)
2
3
4
6 avahi.service - avahi-daemon static service file
7
9 /etc/avahi/services/*.service
10
12 /etc/avahi/services/*.service are XML fragments containing static DNS-
13 SD service data. Every service file can contain multiple service defi‐
14 nitions which share the same name. This is useful for publishing ser‐
15 vice data for services which implement multiple protocols. (i.e. a
16 printer implementing _ipp._tcp and _printer.tcp)
17
19 <service-group> The document tag of avahi service files. Should contain
20 one <name> and one or more <service> elements.
21
22 <name replace-wildcards="yes|no"> The service name. If replace-wild‐
23 cards is "yes", any occurence of the string "%h" will be replaced by
24 the local host name. This can be used for service names like "Remote
25 Terminal on %h". If replace-wildcards is not specified, defaults to
26 "no".
27
28 <service protocol="ipv4|ipv6|any"> Contains the service information for
29 exactly one service type. Should contain one <type> and one <port> ele‐
30 ment. Optionally it may contain one <domain-name>, one <host-name>, any
31 number of <subtype> and any number of <txt-record> elements. The
32 attribute protocol specifies the protocol to advertise the service on.
33 If any is used (which is the default), the service will be advertised
34 on both IPv4 and IPv6.
35
36 <type> Contains the DNS-SD service type for this service. e.g.
37 "_http._tcp".
38
39 <subtype> Contains an additional DNS-SD service subtype for this ser‐
40 vice. e.g. "_anon._sub._ftp._tcp".
41
42 <domain-name> The domain name this service should be registered. If
43 omited defaults to the default domain of the avahi daemon. (probably
44 .local)
45
46 <host-name> The host name of the host that provides this service. This
47 should be a host that is resolvable by multicast or unicast DNS. Please
48 note that you need to specify a fully-qualified domain name (FQDN)
49 here, i.e. .local is not appended implicitly! The host name doesn't
50 need to be part of the domain specified in <domain-name>. See
51 avahi.hosts(5) for more information how to publish additional host name
52 mappings.
53
54 <port> The IP port number the service listens on.
55
56 <txt-record> DNS-SD TXT record data.
57
59 The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>;
60 Avahi is available from http://avahi.org/
61
63 avahi-daemon(8), avahi.hosts(5)
64
66 This man page was written using xml2man(1) by Oliver Kurth.
67
68
69
70Manuals User avahi.service(5)