From 20d4b68344e9bbd09892ae18cbf7c46b3e21e4af Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Fri, 23 Jul 2021 22:22:40 +0200 Subject: Add support for nss-resolve, -mymachines, -myhostname MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See also https://www.freedesktop.org/software/systemd/man/libnss_resolve.so.2.html https://www.freedesktop.org/software/systemd/man/libnss_mymachines.so.2.html https://www.freedesktop.org/software/systemd/man/libnss_myhostname.so.2.html Signed-off-by: Andreas K. Hüttel --- gentoo-config/nsswitch.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gentoo-config/nsswitch.conf b/gentoo-config/nsswitch.conf index 17aa6db..b6d742d 100644 --- a/gentoo-config/nsswitch.conf +++ b/gentoo-config/nsswitch.conf @@ -58,11 +58,12 @@ # See also https://bugs.gentoo.org/773436 # In alphabetical order. Re-order as required to optimize peformance. + aliases: files ethers: files group: files [SUCCESS=merge] systemd gshadow: files systemd -hosts: files dns +hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns # Allow initgroups to default to the setting for group. # initgroups: files netgroup: files -- cgit v1.2.3-65-gdbad