Hello, I sometimes get this error message: sshd[543767]: WARNING: DNS lookup failed for " 171.31.1.21" Why is this error message? For what sshd needs DNS? If the DNS is unavailable I can't log into my computer. How can I resolve this problem, so I can still login if the DNS is not available? Thanks, Peter
> > I sometimes get this error message: > sshd[543767]: WARNING: DNS lookup failed for " 171.31.1.21" > Why is this error message? > > For what sshd needs DNS? If the DNS is unavailable I can't > log into my computer. How can I resolve this problem, so I > can still login if the DNS is not available?IIRC sshd does a reverse dns lookup to see if that matches the hostname / ip-address combo. Try setting UseDNS to No in sshd_config and/or start sshd with the -u0 option. regards, Derkjan
On Sun, Dec 19, 2004 at 07:06:00PM +0100, Kov?cs P?ter wrote:> For what sshd needs DNS? If the DNS is unavailable I can't > log into my computer. How can I resolve this problem, so I > can still login if the DNS is not available?I think this is a bad interaction between the default sshd timeouts and the DNS timeouts. If your reverse DNS is non-responding (as opposed to just non-existant) then sshd's login timeout can expire before the DNS lookup finishes making logins impossible. One way around is to up the login timeout for sshd. David.
Hi!!! sshd needs DNS for backresolving!!! When you are connecting to a remote host via SSH, sshd tries to resolv in-addr.arpa zone for your IP address. man sshd -- Best regards, Andrey Sharandakov, ASH83-RIPE ----- Original Message ----- From: "Kov?cs P?ter" <kovacspeter2@freemail.hu> To: <freebsd-stable@freebsd.org> Sent: Sunday, December 19, 2004 8:06 PM Subject: sshd DNS> Hello, > > > I sometimes get this error message: > sshd[543767]: WARNING: DNS lookup failed for " 171.31.1.21" > Why is this error message? > > For what sshd needs DNS? If the DNS is unavailable I can't > log into my computer. How can I resolve this problem, so I > can still login if the DNS is not available? > > > Thanks, > Peter > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"