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

Saturday, August 1, 2009 posted by Till

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: (?@?) [ERROR] Sorry, invalid address given

Be Sociable, Share!


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

  1. Xeross says:

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

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

  3. cristian says:

    Thank You…this works fine with me !!

  4. Buzzknow says:

    how to do this under centos 5 32bit?

    sorry i’m linux noob ..

  5. Neelanjan says:

    pro-ftpd installed
    Issue resolved.

  6. Nathan Friend says:

    Perfect, did the job. Thank you.

Leave a Reply