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

Facebooktwittergoogle_plusredditlinkedinmail
Tagged on:

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

  • December 29, 2009 at 2:56 pm
    Permalink

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

    Reply
  • January 12, 2010 at 11:20 am
    Permalink

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

    Reply
  • September 6, 2010 at 2:08 pm
    Permalink

    Thank You…this works fine with me !!

    Reply
  • November 8, 2010 at 2:44 pm
    Permalink

    how to do this under centos 5 32bit?

    sorry i’m linux noob ..

    Reply
  • September 6, 2013 at 10:24 am
    Permalink

    pro-ftpd installed
    Issue resolved.

    Reply
  • November 22, 2013 at 11:34 am
    Permalink

    Perfect, did the job. Thank you.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *