Resolving zeroconfig host

I can use avahi discovery to find other zerconfig hosts on the network and I can see their hostnames and services with addresses:ports. I can use these IPs to access advertised services, however, when I use {other}.local, it is not resolved. Which part am I missing?

/etc/resolv.conf:
nameserver 100.x.x.x # probably a dns server owned by my vpn company
search lan

You will need to check your /etc/nsswitch.conf. This file is used to order different lookup services. The hosts line is important for DNS.

It also makes a difference if you use systemd-resolved or not.

https://wiki.archlinux.org/title/avahi#Hostname_resolution

Yeah, these are all according to arch specs, if I am not mistaken…

# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.

passwd: files mymachines systemd
group: files [SUCCESS=merge] mymachines systemd
shadow: files

publickey: files

hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files