I've got a server on my LAN, let's say it's hostname is server. Periodically I will suddenly be unable to reach the server using server.local. I will get an error which looks like:
server.local: Name or service not known
This causes various things like ssh and rsync to fail. In this state I can log in directly to the machine and it has no trouble seeing server.local. I can also connect directly to the machine using its IP address.
If I try nslookup I get this output:
nslookup server.local
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find mem.local: NXDOMAIN
Isn't ".local" supposed to be running some kind of multicast "bonjour" protocol or something to resolve the address directly without going through a DHCP/DNS server?
Both the client and server are running Ubuntu 18.04.