From 31ee39732705b74c43b2352132e3af205a876c99 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 2 Aug 2018 16:32:42 +0900 Subject: [PATCH] man: mention that Hostname= for DHCP must be a valid DNS domain name --- man/systemd.network.xml | 21 ++++++++++++--------- 1 file 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 @@ SendHostname= - When true (the default), the machine's hostname will - be sent to the DHCP server. + 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. UseHostname= 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. - Hostname= - - Use this value for the hostname which is sent to the - DHCP server, instead of machine's hostname. - - + Hostname= + + 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. + + UseDomains=