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

Join Canonical at HPE Discover Las Vegas 2025

Canonical, the publisher of Ubuntu and trusted open source solutions provider, is proud to sponsor HPE Discover Las…

8 hours ago

Ubuntu Weekly Newsletter Issue 896

Welcome to the Ubuntu Weekly Newsletter, Issue 896 for the week of June 8 –…

1 day ago

Karafka 2.5 and Web UI 0.11: Next-Gen Consumer Control and Operational Excellence

Introduction Imagine pausing a problematic partition, skipping a corrupted message, and resuming processing - all…

1 day ago

How to Install and Run Mail-in-a-Box on Ubuntu VPS

This step-by-step guide will show you how to install and run Mail-in-a-Box on Ubuntu VPS.…

2 days ago

How to Deploy Keycloak on Ubuntu VPS

Here’s a clear and detailed how-to guide for how to deploy Keycloak on Ubuntu VPS.…

2 days ago

Canonical delivers Kubernetes platform and open-source security with NVIDIA Enterprise AI Factory validated design

Reference architectures speed up time to market for agentic AI projects To ease the path…

6 days ago