From 70b500e1d6141a2fe56cd00f48b22ee606469c34 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 12 Mar 2023 07:42:29 -0700 Subject: enable mdns via avahi --- 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 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 -- cgit v1.2.3-70-g09d2