From: Yu Watanabe Date: Thu, 2 Aug 2018 07:32:42 +0000 (+0900) Subject: man: mention that Hostname= for DHCP must be a valid DNS domain name X-Git-Tag: v240~863^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31ee39732705b74c43b2352132e3af205a876c99;p=thirdparty%2Fsystemd.git man: mention that Hostname= for DHCP must be a valid DNS domain name --- diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 8a80b0cf4fe..c3dd8d07a91 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=