I use XFCE with the manjaro kernel 5.10.126-1-MANJARO and I have an issue with the mapping of entries with the .local TLD in /etc/hosts.
You can try to reproduce it by adding the following in your /etc/hosts:
192.168.10.2 toto.local
And then this should return 192.168.10.2 but will return nothing:
$ getent ahosts toto.local
Solved: Thanks @xabbu I didn’t know that! I used .local
for my AD domain in my test environment but I will avoid it in the future. By default on my manjaro install it was avahi and not systemd-resolved. So i had to edit /etc/nsswitch.conf
and replace mdns_minimal4 [NOTFOUND=return]
with mdns_minimal4
then I did a systemctl reload avahi-daemon