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:

Sponsored
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
Sponsored

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

Why we brought hardware-optimized GenAI inference to Ubuntu

On October 23rd, we announced the beta availability of silicon-optimized AI models in Ubuntu. Developers…

1 day ago

Canonical and NVIDIA BlueField-4: a foundation for zero-trust high performance infrastructure

At NVIDIA GTC Washington D.C., Canonical is pleased to support the arrival of the NVIDIA…

2 days ago

Global-ready from day one

How Anbox Cloud streamlines localization testing Wherever users are based, they expect apps to just…

4 days ago

Canonical announces new optimized Ubuntu image for Thundercomm RUBIK Pi 3

Ubuntu now runs natively on the Thundercomm RUBIK Pi 3 developer board – a lightweight…

1 week ago

Introducing Canonical Academy

Validate your skills and advance your career with recognized qualifications from the publishers of Ubuntu…

1 week ago