Enable .local domain name resolution on Arch Linux

cat /etc/systemd/network/eth.network
[Match]
Name=eth*

[Network]
MulticastDNS=yes
DHCP=yes
sed -i  's/#MulticastDNS=yes/MulticastDNS=yes/' /etc/systemd/resolved.conf
systemctl daemon-reload
systemctl restart systemd-resolved
systemctl restart systemd-networkd

It's also important to disable avahi. For wireless, just enable iwd and associate with the router using iwctl.