diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-03-13 03:07:48 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-03-13 03:10:22 -0700 |
commit | b18c8d41be3a3c09c2d75329952ba73f2dbb731f (patch) | |
tree | fffe83da6464417df3024132d260c1975a666d19 /etc/nsswitch.conf | |
parent | 017c4dbf282ce72219cd7b29db25663dd37b2423 (diff) |
I disabled systemd-resolved, so nsswitch.conf no need resolve in hosts:
Diffstat (limited to 'etc/nsswitch.conf')
-rw-r--r-- | etc/nsswitch.conf | 3 |
1 files changed, 2 insertions, 1 deletions
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 |