I've enabled ftpd and am experiencing very long delays (consistently
75 seconds) when logging in from localhost.

Running nc reveals that the connection is accepted immediately, but
the server waits before spitting out the 'ready' line:

$ nc -4v localhost 21
Connection to localhost 21 port [tcp/ftp] succeeded!
<<...75 seconds go by...>>
220 zen-thought.my.domain FTP server ready.

This smelled a lot like https://www.openbsd.org/faq/faq8.html#RevDNS,
but of course localhost is in /etc/hosts (and /etc/resolv.conf has
'lookup file bind').

Reply via email to