I can’t believe it is that simple
Fix linux DNS issues with .local addresses on MS domain
Microsoft uses .local as the recommended root of internal domains, and serves them via unicast dns. Linux uses .local as the root of multicast dns. If you’re stuck on a broken MS network like this, reconfigure your linux multicast DNS to use a different domain like .alocal.
To do this, add a “domain-name=.alocal” line to the “[server]” section of “/etc/avahi/avahi-daemon.conf”, then restart avahi-daemon: “sudo service avahi-daemon restart”.