From owner-freebsd-questions Sat Jan 20 14:46:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web10603.mail.yahoo.com (web10603.mail.yahoo.com [216.136.130.167]) by hub.freebsd.org (Postfix) with SMTP id 9F0DE37B400 for ; Sat, 20 Jan 2001 14:45:54 -0800 (PST) Message-ID: <20010120224554.74432.qmail@web10603.mail.yahoo.com> Received: from [129.237.35.38] by web10603.mail.yahoo.com; Sat, 20 Jan 2001 14:45:54 PST Date: Sat, 20 Jan 2001 14:45:54 -0800 (PST) From: Tyler McGeorge Subject: Re: problem with Telnet To: Bill Moran Cc: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wow, that makes sense. I probably should have thought of that, but I didn't, because I'm not very familiar with Unix. --- Bill Moran wrote: > 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 __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message