Network - Hostname (System's host name)

> NetWork > Network - Name

1 - About

The hostname in this page is the operating system's host name. It's a logical name of the host. It's unique.

It is normally assigned like the IP name of an IP address for the host. A host can have several IP addresses and IP names, but it can only have one host name.

The host name or computer name is a logical name for the host itself and is set in the operating system. The operating system knows its own host under its host name.

The IP name is mapped to the IP addresses using a name database. Here, it can be:

If the relevant host only has one network adapter, the host name and the IP name are normally identical. In this case, there is a unique relationship between the logical host name and the IP name. This means that this host can be addressed by other computers using its host name.

Advertising

3 - Management

3.1 - Query

You can query the hostname;

3.2 - Linux

  • /etc/sysconfig/network
cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=whatever

3.3 - Type

3.3.1 - Long

hostname
myname.example.com

same as Network - Fully Qualified Domain Name (FQDN) ?

Advertising

3.3.2 - Short

hostname -s
myname

3.3.3 - Long

network/name/hostname.txt · Last modified: 2019/10/10 12:41 by gerardnico