how is ssh resolving hostnames?

  • Thread starter Thread starter tjareson
  • Start date Start date
T

tjareson

Hi,

I have a strange issue on the console here:

If I want to open a ssh connection to a server by using the hostname of this server, ssh tells me after a few seconds "could not resolve hostname ...: no address associated with hostname".

If I ping the hostname it gets properly resolved and ping works.

nslookup of the hostname shows me that my own router works as DNS and the right IP is shown.

How is ssh doing the dns look-up so that it is saying that the hostname cannot be resolved? Is there any difference compared to ping?

Cheers
Tjareson

Continue reading...
 
Back
Top