I recently upgraded from 16.04 to 18.04 and now I am not able to resolve hosts on my local network. With 16.04 everything worked fine.
I am still able to use IP to reach other computers but using host name gives error message:
ssh: Could not resolve hostname myhost: Name or service not known
Same result when using firefox to reach a web service on this host.
Usingnmap -sP 192.168.2.1/24 from this post will find all hosts on the network.
Any ideas?