Set MulticastDNS
to yes
and apply the change:
sudo vi /etc/systemd/resolved.conf
sudo systemctl restart systemd-resolved
Enable mDNS on the network interface and apply the change:
sudo nmcli connection modify eno1 connection.mdns yes
sudo nmcli connection up eno1