Should Linux Hostname Be Fully Qualified?
Contents Should Etc Hostname Be Fully Qualified? the Recommended Method of Setting the Fqdn Is to Make the Hostname Be an Alias for the Fully Qualified Name...
Contents
Should etc hostname be fully qualified?
The recommended method of setting the FQDN is to make the hostname be an alias for the fully qualified name using /etc/hosts, DNS, or NIS. For example, if the hostname was “ursula”, one might have a line in /etc/hosts which reads 127.0.
Must Read
What is my fully qualified hostname Linux?
The procedure to find the computer name on Linux:
- Open a command-line terminal app (select Applications > Accessories > Terminal), and then type:
- hostname. hostnamectl. cat /proc/sys/kernel/hostname.
- Press [Enter] key.