Showing results for 
Search instead for 
Did you mean: 

ssh: Could not resolve hostname

Posts: 4
Registered: 01-03-2017

ssh: Could not resolve hostname



I intermittently get these errors:

ssh: Could not resolve hostname nodename nor servname provided, or not known

Eventually it resolves itself.

Is there some known issue with the look up via plusnet? My system administrator at work says I could resolve this by using the google DNS server which would be more reliable. But I think this should just work via the default DNS server on plusnet? Does someone have any suggestions?








Community Veteran
Posts: 5,118
Thanks: 1,228
Fixes: 30
Registered: 16-10-2014

Re: ssh: Could not resolve hostname

It should and once its resolved it will remain cached, so subsequent lookup shouldn't be an issue (until the cache is expired). However if this is happening more often then I'd go with what you were told and use the google DNS and for good measure.