From owner-freebsd-questions Sat Jan 20 14:29:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (unknown [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 997F437B402 for ; Sat, 20 Jan 2001 14:29:01 -0800 (PST) Received: from mail.iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f0KMQg714472; Sat, 20 Jan 2001 17:26:42 -0500 (EST) Message-ID: <3A6A1029.3B6B7F49@mail.iowna.com> Date: Sat, 20 Jan 2001 17:24:41 -0500 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Tyler McGeorge Cc: questions@FreeBSD.ORG Subject: Re: problem with Telnet References: <20010120220639.76175.qmail@web10606.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tyler McGeorge wrote: > > I think I may have had a similar problem. I was able > to actually connect if I waited a long time. Which > means extending the timeout period of you FTP client, > usually. After I established a domain name for my > computer that was valid, the telnet works much faster. > As in, I was able to instantly connect. And after I > setup a BIND name daemon, my FTP connections were > established almost instantaneously as well. I, too, > asked about that problem on newgroups and on this > list, but didn't not recieve any explanation. I would > be curious to know why this happens, so if you could, > let me know if you figure out the cause(s). The ftpd server is doing a reverse lookup on the ip address of the connecting host. If you don't have a DNS server to serve these answers out, it will take a long timeout before you connect. Potentially your client could give up on the connection before it actually gets to a login prompt. In /etc/inetd.conf, edit the line with ftp on it to remove the -l option. This should disable reverse lookups. The correct solution, however, is to have a DNS server set up that will respond to the lookups. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message