Hi all,
I recently installed Debian on my old desktop, before this it was running Ubuntu. So my issue is before installing debian I was able to ping me other machine using ```ping hostname.local```, but after installing debian 12 I am not able to do that. I am not expert in computer so kindly help me. If you guys need more info then please ask me as I don't know all the networking stuff.
Are you able to ping by IP address instead of host name?
Are you able to resolve the DNS name with dig? dig hostname.local
OS: debian 12.10 [updated]
```avahi-daemon``` is installed, and running.
```libnss-mdns``` is also installed. nss-lookup.target is inactive though. And As I tired to start it through systemd there was a error which read.
Failed to start nss-lookup.target: Operation refused, unit nss-lookup.target may be requested by dependency only (it is configured to refuse manual start/stop). See system logs and 'systemctl status nss-lookup.target' for details.
There is already a line in /etc/nssitch.conf
hosts: files mdns4_minimal [NOTFOUND=return] dns
systemd-resolved is not installed.
relevant article
https://wiki.debian.org/Avahi
https://wiki.archlinux.org/title/Avahi
Thanks.