I have an updated Debian 11 (bullseye) setup and want to use avahi to connect to locally connected computers.
avahi works, for example:
avahi-resolve -n4 prag11mono.local
gives
prag11mono.local 10.0.0.105
which is correct. However, ping
(or ssh
) for the same host
ping prag11mono.local
PING prag11mono.local.rpz.GS.local (127.0.0.2) 56(84) bytes of data.
64 bytes from 127.0.0.2 (127.0.0.2): icmp_seq=1 ttl=64 time=0.035 ms
Here I do not understand where the rpz.GS.local
addition comes from. It is not added to ssh prag11mono.local
, but the request goes to 127.0.0.2
as well.
In /etc/nsswitch.conf
I have
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
but
getent hosts bhutan.local
returns nothing. I have no /etc/mdns.allow
file.
The connection between avahi-daeomon
and mdns4
is puzzling. I can restart avahi-daemon with systemctl; But how do I restart mdns
?
I fear that I am missing some installation. I tried to install the package nss-mdns
but got unable to locate package
-- it should be available for bullseye. I installed libnss-mdns
and checked that the required files are in `/lib/libnss_mdns*
What is missing? How to debug?
Asked by user855443
(153 rep)
Mar 20, 2022, 08:50 PM
Last activity: Mar 16, 2024, 04:38 PM
Last activity: Mar 16, 2024, 04:38 PM