[CentOS] CentOS5U2 waiting too long when ssh login to other linux servers

Renato de Oliveira Diogo renato.diogo at gmail.com
Tue Mar 31 13:46:16 UTC 2009


I don´t know about use 2 dns, but one dns requistion has timeout to 5000ms.

Do you test this use the dig or nslookup.

====
[renato at thedark ~]$ dig -x 127.0.0.1

; <<>> DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 <<>> -x 127.0.0.1
;; global options:  printcmd
....

;; Query time: 14 msec

...
====

The dig showed the time of the query.

[]s
________________________________________________
Renato de Oliveira Diogo

Bacharel em Ciência da Computação
UNESP - Bauru

LPIC1 - Linux Professional Institute Certification - Nível 1

renato.diogo at gmail.com
renato.diogo at yahoo.com.br



2009/3/31 Les Mikesell <lesmikesell at gmail.com>:
> Ryan J M wrote:
>> The waiting time is about 50s on my CentOS box now. "yum remove
>> openssh* "and "yum  install openssh*" can't make it right. "mv
>> ~/.ssh{,.bak}" not works either.
>> Here comes my tcpdump log, I am not an expert on SSH, Can anyone here
>> get me out of this?
>>
>
> The answering sshd will do a reverse DNS lookup on the connecting IP
> address.  That's about the right time to wait for timeouts from 2 DNS
> servers if they don't respond.
>
> --
>   Les Mikesell
>    lesmikesell at gmail.com
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


More information about the CentOS mailing list