From owner-freebsd-questions@FreeBSD.ORG Mon Jun 6 02:55:56 2005 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A71216A41C for ; Mon, 6 Jun 2005 02:55:56 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECB2A43D55 for ; Mon, 6 Jun 2005 02:55:55 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id E700B5642E; Mon, 6 Jun 2005 14:55:54 +1200 (NZST) Date: Mon, 6 Jun 2005 14:55:54 +1200 From: Jonathan Chen To: Robert Marella Message-ID: <20050606025554.GB81546@osiris.chen.org.nz> References: <5EEBE9C3C61D1142994C6B620C51E847110B80@depot.weblinkmo.com> <17059.37867.174248.688500@jerusalem.litteratus.org> <42A3A5F4.8090807@gmail.com> <20050606023235.GA81334@osiris.chen.org.nz> <42A3B9B6.5070800@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42A3B9B6.5070800@gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@FreeBSD.org Subject: Re: ssh delays 40 seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 02:55:56 -0000 On Sun, Jun 05, 2005 at 04:49:26PM -1000, Robert Marella wrote: > Jonathan Chen wrote: [...] > >It's not the forward case that's the problem. The sshd daemon on the > >server side attempts to find out where the connection is from by doing > >a reverse-lookup. If the incoming IP hasn't got a DNS entry, the failing > >DNS ip-lookup will time out in ~30s. > > > > Thanks for responding. In all of my systems /etc/hosts is populated with > the name and LAN IP address of all other boxes. My gateway/firewall is a > 5.4 Rel computer. I can ping that box "it's called gateway" with ping > gateway or ping 10.0.0.1 no problem. What does "dig -x 10.0.0.1" on the ssh-server box give you? Looks like you need to set up a internal DNS server to resolve these sort of problems. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Vini, vidi, velcro... I came, I saw, I stuck around