Post BAXeBAfCskJzXdDZ7Q by niconiconi@mk.absturztau.be
(DIR) More posts by niconiconi@mk.absturztau.be
(DIR) Post #BAXeBAfCskJzXdDZ7Q by niconiconi@mk.absturztau.be
0 likes, 0 repeats
@datenwolf@chaos.social Independent of the init system, the hostname command by Linux's net-tools does not accept a "strict FQDN" with a terminating dot, it's rejected: the specified hostname is invalid. Systemd-specific: if /etc/hostname contains a terminating dot, it's stripped by systemd.This is consistent with the man page of hostname, which says using FQDN is a tolerated abuse, but strictly speaking it's never designed to use FQDN. The "correct" usage is to specify hostnames without suffix, the FQDN should be set via /etc/hosts, DNS, or NIS.