A week ago I was able to ssh
into a local NAS server that I just set up. After a week of tackling other projects I tried accessing it again using ssh [hostname]
and it isn't working. I'm getting the error Could not resolve hostname [hostname]: Temporary failure in name resolution
.
The machine is definitely accessible through the network: I can still access the samba share that machine is hosting, also ssh [username]@[ip-address]
and ssh [username]@[hostname].local
both work.
I have restarted both machines.
I recently switched internet providers, could that be why it no longer works? I am using the same router and I believe the local router handles DNS requests for private networks. My networking knowledge is a little lacking, so that may be incorrect.
Any ideas as to why ssh [username]@[hostname]
no longer works? Also, why am I getting this warning (The authenticity of host '[hostname].local (192.168.1.102)' can't be established.
) the first time I connect using an alternate method even though the resolved IP address is the same both times?