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> </description>
+ implementing _ipp._tcp and _printer._tcp)</p> </description>
<section name="XML Tags">
</option>
<option>
- <p><opt><name replace-wildcards="yes|no"/></opt> The
+ <p><opt><name replace-wildcards="yes|no"></opt> The
service name. If <opt>replace-wildcards</opt> 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
</option>
<option>
- <p><opt><service></opt> Contains the service information
- for exactly one service type. Should contain one
- <opt><type></opt> and one <opt><port></opt>
- element. Optionally it may contain one
+ <p><opt><service protocol="ipv4|ipv6|any"></opt>
+ Contains the service information for exactly one service
+ type. Should contain one <opt><type></opt> and one
+ <opt><port></opt> element. Optionally it may contain one
<opt><domain-name></opt>, one
- <opt><host-name></opt> and multiple
- <opt><txt-record></opt> elements.</p>
+ <opt><host-name></opt>, any number of
+ <opt><subtype></opt> and any number of
+ <opt><txt-record></opt> elements. The attribute
+ <opt>protocol</opt> specifies the protocol to advertise the
+ service on. If <opt>any</opt> is used (which is the default),
+ the service will be advertised on both IPv4 and IPv6.</p>
</option>
-
<option>
<p><opt><type></opt> Contains the DNS-SD service type for this service. e.g. "_http._tcp".</p>
</option>
+ <option>
+ <p><opt><subtype></opt> Contains an additional DNS-SD service subtype for this service. e.g. "_anon._sub._ftp._tcp".</p>
+ </option>
+
<option>
<p><opt><domain-name></opt> The domain name this service
should be registered. If omited defaults to the default domain
<option>
<p><opt><host-name></opt> The host name of the host that
- provides this service. This should be a mDNS resolvable host
- name. Please note that you need to specify a fully-qualified
- domain name (FQDN) here, i.e. .local is not appended! The host
- name needs not to be part of the domain specified in
- <opt><domain-name></opt>.</p>
+ 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
+ <opt><domain-name></opt>. See <manref name="avahi.hosts"
+ section="5"/> for more information how to publish additional
+ host name mappings.</p>
</option>
<option>
</section>
<section name="Authors">
- <p>The avahi developers <@PACKAGE_BUGREPORT@>; avahi is
+ <p>The Avahi Developers <@PACKAGE_BUGREPORT@>; Avahi is
available from <url href="@PACKAGE_URL@"/></p>
</section>
<section name="See also">
<p>
- <manref name="avahi-daemon" section="8"/>
+ <manref name="avahi-daemon" section="8"/>, <manref name="avahi.hosts" section="5"/>
</p>
</section>