Get Domain Name Linux. For more information about the realm list command see the realm 8 man page. Display the FQDN fully qualified domain name.
In the networking terminology the domain name is the mapping of IP with the name. A hostname is a name which is given to a computer and it attached to the network. Nslookup command is a program for querying Internet domain name servers DNS.
The --name-only option limits the results to the domain names and does not display the domain configuration details.
Host name is generally put in the etchostname file. Also known as an absolute domain name. Cat etchostname Get Host name By Echoing Host name File. The FQDN or the domain name Set Host file The recommended method of setting the FQDN is to make the hostname be an alias for the fully qualified name using.