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

If you experience problems with slow logins in pure-ftpd, this is often caused by a problem with the resolving of the client’s hostname. This happens e.g. when you run an FTP server in your intranet and the hostname of the client computer does not exist in DNS.

Disable PureFTPD name resolver

To disable name resolving in pureftpd, run the command:

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

and then restart pure-ftpd either with the command:

service pure-ftpd-mysql restart

when you use PureFTPD with MySQL bindings or the command:

service pure-ftpd restart

when using PureFTPS without MySQL.

Disabling name resolving also fixes the following error message:

Apr 12 14:19:10 ispconfig pure-ftpd: (?@?) [ERROR] Sorry, invalid address given

The post How to speed up logins in pure-ftpd on Debian or Ubuntu Linux by disabling name resolution appeared first on FAQforge.

Ubuntu Server Admin

Recent Posts

Deploy Shoutcast Streaming Server on Ubuntu VPS

This article provides a guide to deploy Shoutcast streaming server on Ubuntu VPS. What is…

10 hours ago

Karafka 2.6 and Web UI 1.0: Laying the Groundwork for Kafka Queues

I'm happy to announce that Karafka 2.6 and Karafka Web UI 1.0 have just been…

3 days ago

🚀 How to Deploy Apache JMeter on Ubuntu VPS

This article provides a guide demonstrating how to deploy Apache JMeter on Ubuntu VPS. Introduction…

3 days ago

How to Migrate from Ubuntu 24.04 to Ubuntu 26.04 (Zero-Downtime Guide)

In this blog post, we will show you how to migrate from Ubuntu 24.04 to…

1 week ago

LLMs and xfwl4

I was planning to write a little about my usage of LLMs while building xfwl4…

2 weeks ago

🚀 Deploy Self-Hosted AppFlowy on Ubuntu VPS

This article provides a comprehensive, step-by-step guide to deploy self-hosted AppFlowy on Ubuntu VPS (20.04…

2 weeks ago