summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-13 21:28:53 +0100
committerTom Gundersen <teg@jklm.no>2014-01-13 21:54:57 +0100
commit5be4d38e31281727b6f45ae869136bb01a1f7790 (patch)
tree13b707ff2040872ef6c4fde4d8de636f02185ef4 /man
parent5681d7fb8be37771c152d21ea6e95597d664e3f1 (diff)
networkd: DHCPv4 - allow opting out of using DNS servers
Setting UseDNS=no will ignore any received DNS servers.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-networkd.service.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml
index de45d10a78..2c1bbf7de5 100644
--- a/man/systemd-networkd.service.xml
+++ b/man/systemd-networkd.service.xml
@@ -193,6 +193,14 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><varname>DNS</varname></term>
+ <listitem>
+ <para>A DNS server address, which must be in the format described in
+ <citerefentry><refentrytitle>inet_pton</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+ .</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><varname>Bridge</varname></term>
<listitem>
<para>The name of the bridge to add the configured link to.</para>
@@ -233,7 +241,20 @@
prefixlength, if ommitted a full-length host route is assumed.</para>
</listitem>
</varlistentry>
+ </variablelist>
+
+ <para>The <literal>[DHCPv4]</literal> section accepts the following keys:</para>
+
+ <variablelist class='network-directives'>
+ <varlistentry>
+ <term><varname>UseDNS</varname></term>
+ <listitem>
+ <para>When true (the default) the DNS servers received from the DHCP server will
+ be used, and take precedence over any statically configured ones.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
+
</refsect2>
</refsect1>