all options
buster  ] [  bullseye  ] [  bullseye-updates  ] [  bullseye-backports  ] [  bookworm  ] [  bookworm-backports  ] [  trixie  ] [  sid  ]
[ Source: systemd  ]

Package: libnss-myhostname (252.30-1~deb12u2)

Links for libnss-myhostname

Screenshot

Debian Resources:

Download Source Package systemd:

Maintainers:

External Resources:

Similar packages:

nss module providing fallback resolution for the current hostname

This package contains a plugin for the Name Service Switch, providing host name resolution for the locally configured system hostname as returned by gethostname(2). It returns all locally configured public IP addresses or -- if none are configured, the IPv4 address 127.0.1.1 (which is on the local loopback) and the IPv6 address ::1 (which is the local host).

A lot of software relies on that the local host name is resolvable. This package provides an alternative to the fragile and error-prone manual editing of /etc/hosts.

Installing this package automatically adds myhostname to /etc/nsswitch.conf.

Tags: Implemented in: C, Role: Plugin

Other Packages Related to libnss-myhostname

  • depends
  • recommends
  • suggests
  • enhances

Download libnss-myhostname

Download for all available architectures
Architecture Package Size Installed Size Files
armhf 75.3 kB147.0 kB [list of files]