]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
doc: fix resolvectl(1) per-interface DNS configuration documentation
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 23 Aug 2018 20:33:56 +0000 (16:33 -0400)
committerFilipe Brandenburger <filbranden@google.com>
Thu, 23 Aug 2018 21:47:43 +0000 (14:47 -0700)
You can only have one listitem in each varlistentry.

xmllint says:

    resolvectl.xml:269: element varlistentry: validity error : Element varlistentry content does not follow the DTD, expecting (term+ , listitem), got (term term term term term term term listitem listitem listitem )

man/resolvectl.xml

index cf97628f86be2c8064d1a51d87d7f76793a6f4a6..e07893dd1535b30d3602f00f8fcbe5d156279ee2 100644 (file)
         <term><option>dnsovertls [<replaceable>LINK</replaceable> [<replaceable>MODE</replaceable>]]</option></term>
         <term><option>nta [<replaceable>LINK</replaceable> [<replaceable>DOMAIN</replaceable>…]]</option></term>
 
-        <listitem><para>Get/set per-interface DNS configuration. These commands may be used to configure various DNS
-        settings for network interfaces that aren't managed by
-        <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. (These
-        commands will fail when used on interfaces that are managed by <command>systemd-networkd</command>, please
-        configure their DNS settings directly inside the <filename>.network</filename> files instead.) These commands
-        may be used to inform <command>systemd-resolved</command> about per-interface DNS configuration determined
-        through external means. The <option>dns</option> command expects IPv4 or IPv6 address specifications of DNS
-        servers to use. The <option>domain</option> command expects valid DNS domains, possibly prefixed with
-        <literal>~</literal>, and configures a per-interface search or route-only domain. The <option>llmnr</option>,
-        <option>mdns</option>, <option>dnssec</option> and <option>dnsovertls</option> commands may be used to configure
-        the per-interface LLMNR, MulticastDNS, DNSSEC and DNSOverTLS settings. Finally, <option>nta</option> command
-        may be used to configure additional per-interface DNSSEC NTA domains.</para></listitem>
-
-        <listitem><para>Options <option>dns</option>, <option>domain</option> and <option>nta</option> can take
-        a single empty string argument to clear their respective value lists.</para></listitem>
-
-        <listitem><para>For details about these settings, their possible values and their effect, see the corresponding options in
-        <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
+        <listitem>
+          <para>Get/set per-interface DNS configuration. These commands may be used to configure various DNS
+          settings for network interfaces that aren't managed by
+          <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. (These
+          commands will fail when used on interfaces that are managed by <command>systemd-networkd</command>, please
+          configure their DNS settings directly inside the <filename>.network</filename> files instead.) These commands
+          may be used to inform <command>systemd-resolved</command> about per-interface DNS configuration determined
+          through external means. The <option>dns</option> command expects IPv4 or IPv6 address specifications of DNS
+          servers to use. The <option>domain</option> command expects valid DNS domains, possibly prefixed with
+          <literal>~</literal>, and configures a per-interface search or route-only domain. The <option>llmnr</option>,
+          <option>mdns</option>, <option>dnssec</option> and <option>dnsovertls</option> commands may be used to configure
+          the per-interface LLMNR, MulticastDNS, DNSSEC and DNSOverTLS settings. Finally, <option>nta</option> command
+          may be used to configure additional per-interface DNSSEC NTA domains.</para>
+
+          <para>Options <option>dns</option>, <option>domain</option> and <option>nta</option> can take
+          a single empty string argument to clear their respective value lists.</para>
+
+          <para>For details about these settings, their possible values and their effect, see the corresponding options in
+          <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
         </listitem>
       </varlistentry>