cancel
Showing results for 
Search instead for 
Did you mean: 

ssh: Could not resolve hostname

shefmarkh
Newbie
Posts: 4
Registered: 01-03-2017

ssh: Could not resolve hostname

Hello,

 

I intermittently get these errors:

ssh: Could not resolve hostname hepgw.shef.ac.uk: 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?

 

Thanks,

 

Mark

 

 

 

1 REPLY
Community Veteran
Posts: 4,767
Thanks: 1,052
Fixes: 27
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 8.8.8.8 and 8.8.4.4 for good measure.