Linux - Fully Qualified Domain Name (FQDN)

1 - About

3 - Management

3.1 - Get

You can check:

  • the FQDN

hostname --fqdn

  • or the domain name

# same as
hostname -d

3.2 - Set

3.2.1 - Host file

The recommended method of setting the FQDN is to make the hostname be an alias for the fully qualified name using host file (ie /etc/hosts), DNS, or NIS.

For example, if the hostname was “ursula”, one might have a line in /etc/hosts which reads ursula

3.2.2 - DNS resolver

in the search properties of the Linux - The DNS resolver (/etc/resolv.conf) file

4 - Documentation / Reference

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap