ping raspberrypi.local
ping: cannot resolve raspberrypi.local: Unknown host

But ssh pi@raspberrypi.local works.

I can ping by ip address.

  • That is indeed strange. If ping cannot resolve the hostname, neither should ssh be able to do that. Does nslookup raspberrypi.local give the right IP address? Dec 13 '21 at 11:10
  • You have omitted details crucial to an informed answer. Please edit your question to add details, or you are unlikely to get a helpful answer. ALSO: Have you made any modifications to /etc/dhcpcd.conf - or any network-related files in /etc?
    – Seamus
    Dec 14 '21 at 0:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.