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

Package: libnss-myhostname (239-1 and others)

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 Version Package Size Installed Size Files
alpha (unofficial port) 239-1 110.0 kB189.0 kB [list of files]
amd64 239-1 108.6 kB181.0 kB [list of files]
arm64 239-1 104.9 kB172.0 kB [list of files]
armel 239-1 106.6 kB168.0 kB [list of files]
armhf 239-1 106.1 kB152.0 kB [list of files]
hppa (unofficial port) 239-1 111.7 kB189.0 kB [list of files]
i386 239-1 110.4 kB172.0 kB [list of files]
m68k (unofficial port) 239-1 105.8 kB164.0 kB [list of files]
mips 239-1 108.4 kB172.0 kB [list of files]
mips64el 239-1 107.0 kB181.0 kB [list of files]
mipsel 239-1 108.7 kB172.0 kB [list of files]
powerpc 239-1 108.4 kB236.0 kB [list of files]
powerpcspe (unofficial port) 238-5 106.8 kB171.0 kB [list of files]
ppc64 (unofficial port) 239-1 108.1 kB237.0 kB [list of files]
ppc64el 239-1 108.2 kB236.0 kB [list of files]
s390x 239-1 107.2 kB181.0 kB [list of files]
sh4 (unofficial port) 239-1 112.6 kB164.0 kB [list of files]
sparc64 (unofficial port) 238-5 103.6 kB174.0 kB [list of files]
x32 (unofficial port) 238-5 107.2 kB163.0 kB [list of files]