From: Lennart Poettering Date: Fri, 28 Aug 2015 00:03:11 +0000 (+0200) Subject: man: Document that resolved requires nss-resolve to work with libc X-Git-Tag: v226~85^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1060%2Fhead;p=thirdparty%2Fsystemd.git man: Document that resolved requires nss-resolve to work with libc Closes #884. --- diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml index 27662456eae..96dc4f66205 100644 --- a/man/systemd-resolved.service.xml +++ b/man/systemd-resolved.service.xml @@ -61,15 +61,22 @@ resolver and an LLMNR resolver and responder. It also generates /run/systemd/resolve/resolv.conf for compatibility which may be symlinked from - /etc/resolv.conf. + /etc/resolv.conf. The glibc NSS module + nss-resolve8 + is necessary to allow libc's NSS resolver functions to resolve + host names via systemd-resolved. The DNS servers contacted are determined from the global - settings in - resolved.conf5, - the per-link static settings in .network - files, and the per-link dynamic settings received over DHCP. See + settings in /etc/systemd/resolved.conf, the + per-link static settings in /etc/systemd/network/*.network files, + and the per-link dynamic settings received over DHCP. See + resolved.conf5 + and systemd.network5 - for more details. + for details. To improve compatibility + /etc/resolv.conf is read in order to discover + configured system DNS servers, however only if it is not a symlink + to /run/systemd/resolve/resolv.conf (see above). systemd-resolved synthesizes DNS RRs for the following cases: @@ -137,6 +144,7 @@ systemd1, resolved.conf5, + nss-resolve8, systemd.network5, systemd-networkd.service8