1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-15 07:24:00 +03:00
The systemd System and Service Manager
Go to file
lennart 4e714a2b1a add LICENSE
git-svn-id: svn+ssh://rootserver/home/lennart/svn/private/projects/nss-myhostname@86 bf9bc1cc-28ce-0310-abfb-9041aa761afb
2005-11-19 19:09:25 +00:00
LICENSE add LICENSE 2005-11-19 19:09:25 +00:00
Makefile add LICENSE 2005-11-19 19:09:25 +00:00
nss-myhostname.c clean up for distribution 2005-11-19 19:05:05 +00:00
README clean up for distribution 2005-11-19 19:05:05 +00:00

nss-myhostname is a GNU libc NSS module that statically translates the
local host name to the IP address 127.0.0.2 (which is on the loopback
device) and vice versa.

This is useful to make sure that the local host name is always
resolvable. Some programs (such as sudo) require this functionality. 

Especially on embedded systems it may not be desirable to modify
/etc/hosts to match the current host name. 

It is a good idea to put this module as last resort in
/etc/nsswitch.conf, to make sure that other name service take
precedence.

-- Lennart Poettering, lennart [at] poettering [dot] de

$Id$