Slow SSH login and SMTP rcpt to

luis

Well-Known Member
Sep 3, 2001
50
0
306
I have had this problem for a while now, can't find a solution for it so far...

When loggin in into SSH it hangs for about 30 - 40 seconds before doing it. Once logged it works normally.

When trying to send email the same occurs (just sending). After a manual chat with the server I found that the delay is after the "rcpt to" command.
Also, when rcpt to is accepted it works normally.

I use ev1 DNS servers as resolvers, contacted them but they say they are working ok... don't know where else to look.

This is my /etc/resolv.conf

root@rva [~]# more /etc/resolv.conf
search localdomain
nameserver 207.218.192.38
nameserver 207.218.192.39

Any help would be much appreciated :)
 

luis

Well-Known Member
Sep 3, 2001
50
0
306
Thanks for your response

Yes, I tried using 127.0.0.1 at the top of resolv.conf and it worked great with both SSH and rcpt to but that action led to more problems specially with email (lots of problems). Besides, if you use 127.0.0.1 WHM alerts you of security issues.

I also tried changing to other DNS resolvers (another DC at EV1) with no luck.
 

luis

Well-Known Member
Sep 3, 2001
50
0
306
Today the ev1 techs changed the DNS servers to the other ones thay have. Now I'm even more confused, they worked ok for a while but now is back to where it was.

Just noticed this: you know that when you log into SSH it greets you with the last login message... well, when it works fine it will show a hostname and when it is not working ok it hangs for 30-40 secs and show you just the IP.

Any clues?