Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2000 10:45:37 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Steve Leibel <stevel@coastside.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: how to disable local dns lookups?
Message-ID:  <20000206104537.E16173@freebie.lemis.com>
In-Reply-To: <v04210101b4c23727330a@[192.168.100.2]>
References:  <v04210101b4c23727330a@[192.168.100.2]>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000206104537.E16173>