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?
ssh username@myhost.local
? – user68186 Jun 05 '18 at 18:47cat /etc/hosts
;sudo netstat -antup | grep LISTEN
;cat /var/run/systemd/resolve/resolv.conf | grep name
... Thank you – cmak.fr Jun 05 '18 at 18:53