summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-19 21:55:10 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-19 21:58:48 +0200
commita4a79605f7c2ba17ce74baabefa19c3686439e4a (patch)
treedd247ae3aa67c8499e94ee865bbef66f3c5e92d4
parentb2ca0d63277b10c9382d5bcfcdf320dbb712511b (diff)
README: document what to do with the NSS modules
-rw-r--r--README21
1 files changed, 21 insertions, 0 deletions
diff --git a/README b/README
index dcb300b334..171c76dc53 100644
--- a/README
+++ b/README
@@ -201,6 +201,27 @@ USERS AND GROUPS:
Similarly, the kdbus dbus1 proxy daemon requires the
"systemd-bus-proxy" system user and group to exist.
+NSS:
+ systemd ships with three NSS modules:
+
+ nss-myhostname resolves the local hostname to locally
+ configured IP addresses, as well as "localhost" to
+ 127.0.0.1/::1.
+
+ nss-resolve enables DNS resolution via the systemd-resolved
+ DNS/LLMNR caching stub resolver "systemd-resolved".
+
+ nss-mymachines enables resolution of all local containers
+ registered with machined to their respective IP addresses.
+
+ To make use of these NSS modules, please add them to the
+ "hosts: " line in /etc/nsswitch.conf. The "resolve" module
+ should replace the glibc "dns" module in this file.
+
+ The three modules should be used in the following order:
+
+ hosts: files mymachines resolve myhostname
+
WARNINGS:
systemd will warn you during boot if /etc/mtab is not a
symlink to /proc/mounts. Please ensure that /etc/mtab is a