summaryrefslogtreecommitdiff
path: root/man/systemd.network.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-08-02 16:32:42 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-08-06 10:48:12 +0900
commit31ee39732705b74c43b2352132e3af205a876c99 (patch)
tree49fc2636e5d953bb6c910c2aee88d18c047fd6be /man/systemd.network.xml
parenta8494759b4f14af5337391727ba295ab708b92f9 (diff)
downloadsystemd-31ee39732705b74c43b2352132e3af205a876c99.tar.gz
man: mention that Hostname= for DHCP must be a valid DNS domain name
Diffstat (limited to 'man/systemd.network.xml')
-rw-r--r--man/systemd.network.xml21
1 files changed, 12 insertions, 9 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 8a80b0cf4f..c3dd8d07a9 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -1194,25 +1194,28 @@
<varlistentry>
<term><varname>SendHostname=</varname></term>
<listitem>
- <para>When true (the default), the machine's hostname will
- be sent to the DHCP server.</para>
+ <para>When true (the default), the machine's hostname will be sent to the DHCP server.
+ Note that the machine's hostname must consist only of 7-bit ASCII lower-case characters and
+ no spaces or dots, and be formatted as a valid DNS domain name. Otherwise, the hostname is not
+ send even if this is set to true.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>UseHostname=</varname></term>
<listitem>
<para>When true (the default), the hostname received from
- the DHCP server will be set as the transient hostname of the system
+ the DHCP server will be set as the transient hostname of the system.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><varname>Hostname=</varname></term>
- <listitem>
- <para>Use this value for the hostname which is sent to the
- DHCP server, instead of machine's hostname.</para>
- </listitem>
- </varlistentry>
+ <term><varname>Hostname=</varname></term>
+ <listitem>
+ <para>Use this value for the hostname which is sent to the DHCP server, instead of machine's hostname.
+ Note that the specified hostname must consist only of 7-bit ASCII lower-case characters and
+ no spaces or dots, and be formatted as a valid DNS domain name.</para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><varname>UseDomains=</varname></term>
<listitem>