No ssh connection if the 1st DNS fails; 2nd DNS has no effect

Peter Stuge peter at stuge.se
Wed Dec 16 18:33:03 EST 2009


Peter Yue wrote:
> I would like to know if ssh only looks for the primary DNS to
> resvolve the IP address and this is normal; this is for security
> purpose.

ssh uses the getaddrinfo() system library function to resolve a
name into an IP address. How temporary DNS failures are handled by
your library is out of scope for ssh.


//Peter


More information about the openssh-unix-dev mailing list