Pi 4 B does not use its dot local address
It seems that the package avahi-daemon
has fixed this issue.
I was also able to change the name to pie.local
instead of the default one by modifying /etc/hosts
and /etc/hostname
and restarting the Pi.