LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   RSH login/connection slows down when one of DNS go down (https://www.linuxquestions.org/questions/linux-server-73/rsh-login-connection-slows-down-when-one-of-dns-go-down-937057/)

vrtareg 03-29-2012 05:54 AM

RSH login/connection slows down when one of DNS go down
 
Hi

Does anyone hit the situation when rsh/rlogin connection slows down when one of the DNS servers described in /etc/resolv.conf go down.

Is there any way to configure rshd daemon in CentOS 5.x linux systems to ignore the non existing DNS server?

The time measurements are the following:

1. both DNS are up
rsh from host A to host B takes approx 120-170ms
2. first DNS is down
rsh from host A to host B takes approx 2 min
3. second DNS is down
rsh from host A to host B takes approx 40s

I performed the tcpdump for DNS requests on host B and it shows that during the rsh login process check the in.rshd sends the same amount of DNS requests to the both DNS servers and not using only one of them and switching to second one if first one fails in 5 seconds like the host or dig.

Regards
Areg

chrism01 03-29-2012 08:02 PM

Just out of interest, have you read this http://www.informit.com/articles/art...p=169465&rll=1 ?
Do you REALLY need to use rsh ?


All times are GMT -5. The time now is 05:50 PM.