Question: What if I do not want
proftpd to use DNS to resolve the hostname to an IP address
because I am in an environment where there is no DNS at all?
Answer: In ProFTPD 1.3.3rc1, support for a new
-S command-line option was added. This option can be used to
specify the IP address of the host machine. By default,
proftpd attempts to resolve the host IP address by using DNS
resolution of the hostname. However, in cases where DNS is not configured for
the host machine, this approach does not work.
To specify the desired IP address, use -S when starting
proftpd, e.g.:
$ /usr/local/sbin/proftpd -S 1.2.3.4 ...
And if you want proftpd to listen on all interfaces, you can
specify a wildcard socket using an IP address of 0.0.0.0:
$ /usr/local/sbin/proftpd -S 0.0.0.0 ...
Note that will also mean that, in your proftpd.conf, any
<VirtualHost> sections will need to use IP addresses,
not DNS names.
© Copyright 2017 The ProFTPD Project
All Rights Reserved