Abhi balachandra Asked: 2017-10-19 07:32:08 +0800 CST2017-10-19 07:32:08 +0800 CST 2017-10-19 07:32:08 +0800 CST Why "couldn't resolve host" error occur for avahi-daemon? 772 I couldn't connect Ubuntu with raspberrypi. I typed ssh [email protected] but it shows “cannot resolve host.” dns 1 Answers Voted John Anderson 2017-10-19T17:44:41+08:002017-10-19T17:44:41+08:00 For the ".local" domain to work you need a line in your /etc/nsswitch.conf file like: hosts: files mdns4_minimal [NOTFOUND=return] dns
For the ".local" domain to work you need a line in your /etc/nsswitch.conf file like:
hosts: files mdns4_minimal [NOTFOUND=return] dns