If you use cPanel, Plesk or any Linux control panel or Distro, you may notice that your Proftpd connection is either slow or takes some time before it becomes responsive. This is likely due to the Proftpd instance doing a Reverse DNS Lookup and it is having issues doing so. However it is possible to disable this option to help speed up the negotiation. This will not help with slow upload speeds if you have a slow upstream however, please make a note of this.
To disable the DNS Lookups you need to do the following;
1. Log into the server that is running Proftpd. You will need to do so by using SSH.
2. Once you have logged into the server you will now need to edit the Proftpd configuration file. This is called the Proftpd.conf file. You can simply type the following to do so;
“vi /etc/proftpd.conf”
Please note this is the default Proftpd configuration location. If your’s is in a different directory, you will need to adjust the command to your location. In this example we are using VI to make the changes. You are free to also use either Nano or Pico, which ever you feel comfortable using.
3. Once you are in the file, you will need to look for the following lines;
“IdentLookups on”
“UseReverseDNS on”
You will need to turn off the lookup by changing them to the following;
“IdentLookups off”
“UseReverseDNS off”
4. Once you make the changes, save the file. You will then need to restart the proftpd instance.
5. You then will need to restart Proftp. Take note, if you are using Plesk you will need to restart the xinetd service as Proftp runs under this service.
To restart in Plesk, type “service xinetd restart”
To restart in everything else, type /etc/init.d/proftpd restart or service proftpd restart
Tags: dns lookup, Proftpd



Entries (RSS)