---
name: "systemd-hostnamed.service"
section: "8"
platform: "linux"
package: "systemd"
version: "262.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/systemd-hostnamed.service"
---

# systemd-hostnamed.service(8)

Daemon to control system hostname from programs

## NAME

systemd-hostnamed.service, systemd-hostnamed - Daemon to control system hostname from programs

## SYNOPSIS

systemd-hostnamed.service

/usr/lib/systemd/systemd-hostnamed

## DESCRIPTION

systemd-hostnamed.service is a system service that may be used to change the system's hostname and related machine metadata from user programs. It is automatically activated on request and terminates itself when unused.

It currently offers access to five variables:

• The current hostname (Example: "dhcp-192-168-47-11")

• The static (configured) hostname (Example: "lennarts-computer")

• The pretty hostname (Example: "Lennart's Computer")

• A suitable icon name for the local host (Example: "computer-laptop")

• A chassis type (Example: "tablet")

The static hostname is stored in /etc/hostname, see [**hostname**(5)](/hostname/5.md) for more information. The pretty hostname, chassis type, and icon name are stored in /etc/machine-info, see [**machine-info**(5)](/machine-info/5.md).

The tool [**hostnamectl**(1)](/hostnamectl/1.md) is a command line client to this service.

See [**org.freedesktop.hostname1**(5)](/org.freedesktop.hostname1/5.md) and [**org.freedesktop.LogControl1**(5)](/org.freedesktop.LogControl1/5.md) for a description of the D-Bus API.

## SEE ALSO

[**systemd**(1)](/systemd/1.md), [**hostname**(5)](/hostname/5.md), [**machine-info**(5)](/machine-info/5.md), [**hostnamectl**(1)](/hostnamectl/1.md), [**sethostname**(2)](/sethostname/2.md), [**org.freedesktop.hostname1**(5)](/org.freedesktop.hostname1/5.md)
