From owner-freebsd-questions Sat Feb 5 16:15:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by builder.freebsd.org (Postfix) with ESMTP id C2AB9467D for ; Sat, 5 Feb 2000 16:15:54 -0800 (PST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA16467; Sun, 6 Feb 2000 10:45:37 +1030 (CST) Date: Sun, 6 Feb 2000 10:45:37 +1030 From: Greg Lehey To: Steve Leibel Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to disable local dns lookups? Message-ID: <20000206104537.E16173@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 5 February 2000 at 12:27:57 -0800, Steve Leibel wrote: > I have a second machine (a Mac, as it happens) on my home network. I > don't run a local DNS. > > When I telnet or ftp into my FreeBSD machine from my Mac, the > connection takes about 30 or 40 seconds to come up. > > However when I turn on my dialup Internet connection (which > coincidentally is on the Mac -- I use the Mac as a router, using > third-party routing software called IPNetrouter) my telnet and ftp > connections to FreeBSD come up right away, as they should. > > What I think must be happening is that when my Net connection is > down, FreeBSD must be trying to do DNS resolution, retrying a few > times, and then giving up. That's probably correct. > How do I tell telnet and ftp on FreeBSD to not do DNS lookups when > receiving connection requests? Or do you think something else is > going on? Well, you could rewrite telnetd. Or you could install an /etc/hosts. But the obvious way to do it is to install DNS; that's what it's there for. There's no good reason not to run DNS. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message