diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-03-12 07:42:29 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-03-12 07:42:29 -0700 |
commit | 70b500e1d6141a2fe56cd00f48b22ee606469c34 (patch) | |
tree | 9de5d32b4f3c3209c0891cf5643b9c7b9ca68670 /etc | |
parent | 74855be0becca85a8983097c82d11708e1426e0e (diff) |
enable mdns via avahi
Diffstat (limited to 'etc')
-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 1ca05d57..3cf5f86b 100644 --- a/etc/nsswitch.conf +++ b/etc/nsswitch.conf @@ -8,7 +8,8 @@ gshadow: files systemd publickey: files -hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns +# https://wiki.archlinux.org/title/Avahi#Hostname_resolution +hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns networks: files protocols: files |