]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/nss-resolve.xml
man: change recommended order of NSS modules in /etc/nsswitch.conf 2723/head
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Feb 2016 17:24:03 +0000 (18:24 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Feb 2016 17:26:35 +0000 (18:26 +0100)
commit9053aaad4255a1d01a50f8e44784cd7eebe8f95c
treed1692fca63166065b9e6e9c56715f509a5b9e1df
parent45bd4854540ae50586e6bfcef5a153c4c1e2aca7
man: change recommended order of NSS modules in /etc/nsswitch.conf

So far we recommended placing "nss-mymachines" after "nss-resolve" in the order
of preference in /etc/nsswitch.conf. This change reverse this order.

Rationale: single-label names are resolved via LLMNR by resolved, which has to
time out if no peer by that name exists. By placing "nss-mymachines" first
(which always responds immediately) we avoid running into this timeout for most
containers. Both modules should return the same data if LLMNR is used by the
container anyway.

While we are at it, improve the man pages of the three NSS modules in other
ways a bit.
man/nss-myhostname.xml
man/nss-mymachines.xml
man/nss-resolve.xml