Web Hosting Talk







View Full Version : ftp logon time ~ 40 seconds Linux7.3


rp777
10-08-2002, 06:02 PM
Just started dedicated hosting on linux7.3 box, and also built another that i have running at home. They both do the same thing loggin in ftp clients - which is to wait 30-40 seconds between connect time and the next prompt. Applies to command line as well as ftp client programs. This is probably an easy one, but like i said, newbie at work!:rolleyes:

Techark
10-08-2002, 06:26 PM
Add your main name server IPs and server IP to the resolv.conf file.

You can also turn off reverse DNS lookups and indent lookups in your proftpd.conf file.

Open /etc/proftpd.conf and find this line:

DefaultRoot ~ !wheel

Below it add:

UseReverseDNS off
IdentLookups off
TimeoutNoTransfer 900
TimeoutIdle 900

rp777
10-08-2002, 07:23 PM
I should have said. using wuftp - the same idea, then?

Thanks, rp

PixyMisa
10-08-2002, 08:17 PM
Yeah. When a Unix (or Linux) networking program sits there for thirty seconds and then suddenly starts working every time it's a safe bet that it's trying to do a reverse DNS lookup and failing.

Your options:
Get DNS working properly so the machines can find each other.
Just stick the relevant IPs in /etc/hosts.
Hack /etc/resolv.conf to only wait a couple of seconds instead of 30. (Not recommended.)