How to speed up logins in pure-ftpd on Debian or Ubuntu Linux by disable name resolving

If you experience problems with slow logins in pure-ftpd, this is often caused by a problem with the resolving of the clients hsotname. This happens e.g. when you run a FTP server in your intranet and the hostname of the client computer does not exist in DNS. To disable name resolving in pureftpd, run the command:

echo 'yes' > /etc/pure-ftpd/conf/DontResolve

and then restart pure-ftpd

/etc/init.d/pure-ftpd-mysql restart

Disabling name resolving also fixes the following error message:

Jul 24 16:26:28 ispconfig pure-ftpd: ([email protected]?) [ERROR] Sorry, invalid address given

6 thoughts on “How to speed up logins in pure-ftpd on Debian or Ubuntu Linux by disable name resolving”

  1. Thanks for this, I’m currently on an optimization spree for my linux server ^^

    Reply
  2. Hi I still got an error. I already did that in the step by step setup in ispconfig3 using ubuntu 8.04

    Reply
  3. Avatar

    Thank You…this works fine with me !!

    Reply
  4. how to do this under centos 5 32bit?

    sorry i’m linux noob ..

    Reply
  5. Avatar

    pro-ftpd installed
    Issue resolved.

    Reply
  6. Avatar

    Perfect, did the job. Thank you.

    Reply

Leave a Comment

*