chiark / gitweb /
205118d4ec1f1049c27881c3a1938235a46ee218
[elogind.git] / README
1 nss-myhostname is a GNU libc NSS module that statically translates the
2 local host name to the IP address 127.0.0.2 (which is on the loopback
3 device) and vice versa.
4
5 This is useful to make sure that the local host name is always
6 resolvable. Some programs (such as sudo) require this functionality. 
7
8 Especially on embedded systems it may not be desirable to modify
9 /etc/hosts to match the current host name. 
10
11 It is a good idea to put this module as last resort in
12 /etc/nsswitch.conf, to make sure that other name service take
13 precedence.
14
15 -- Lennart Poettering, lennart [at] poettering [dot] de
16
17 $Id$