From cf0f84ab362556745c87e618a20396c9c285afef Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Mon, 13 Mar 2023 03:07:48 -0700 Subject: I disabled systemd-resolved, so nsswitch.conf no need resolve in hosts: --- etc/nsswitch.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/nsswitch.conf') diff --git a/etc/nsswitch.conf b/etc/nsswitch.conf index 3cf5f86b..b49ce4eb 100644 --- a/etc/nsswitch.conf +++ b/etc/nsswitch.conf @@ -9,7 +9,8 @@ gshadow: files systemd publickey: files # https://wiki.archlinux.org/title/Avahi#Hostname_resolution -hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns +# man nss-myhostname, man nss-mymachine, man nss-resolve, man nss-systemd +hosts: mymachines mdns_minimal [NOTFOUND=return] files myhostname dns networks: files protocols: files -- cgit v1.2.3-70-g09d2