all options
jessie  ] [  stretch  ] [  stretch-backports  ] [  buster  ] [  sid  ]
[ Source: systemd  ]

Package: libnss-myhostname (241-3)

Links for libnss-myhostname


Debian Resources:

Download Source Package systemd:


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 (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
alpha (unofficial port) 119.6 kB206.0 kB [list of files]
amd64 118.7 kB194.0 kB [list of files]
arm64 116.7 kB190.0 kB [list of files]
armel 114.7 kB177.0 kB [list of files]
armhf 114.2 kB161.0 kB [list of files]
hppa (unofficial port) 119.9 kB198.0 kB [list of files]
i386 119.5 kB185.0 kB [list of files]
m68k (unofficial port) 114.4 kB173.0 kB [list of files]
mips 116.7 kB181.0 kB [list of files]
mips64el 116.7 kB194.0 kB [list of files]
mipsel 117.0 kB181.0 kB [list of files]
powerpcspe (unofficial port) 116.1 kB181.0 kB [list of files]
ppc64 (unofficial port) 121.5 kB246.0 kB [list of files]
ppc64el 121.8 kB246.0 kB [list of files]
riscv64 (unofficial port) 115.5 kB178.0 kB [list of files]
s390x 116.5 kB194.0 kB [list of files]
sh4 (unofficial port) 120.9 kB173.0 kB [list of files]
sparc64 (unofficial port) 114.0 kB192.0 kB [list of files]
x32 (unofficial port) 117.9 kB181.0 kB [list of files]