From owner-freebsd-questions@FreeBSD.ORG Thu Dec 1 03:36:06 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 07D4616A41F for ; Thu, 1 Dec 2005 03:36:06 +0000 (GMT) (envelope-from jhfoo@nexlabs.com) Received: from tin.colossus.net (tin.colossus.net [216.121.224.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B83E43D88 for ; Thu, 1 Dec 2005 03:35:55 +0000 (GMT) (envelope-from jhfoo@nexlabs.com) Received: from nexpc (91.210-193-15.adsl.qala.com.sg [210.193.15.91]) by tin.colossus.net (8.9.3p2/8.9.3) with SMTP id TAA12680; Wed, 30 Nov 2005 19:35:40 -0800 Message-ID: <01f601c5f629$6912f7f0$c801a8c0@nexpc> From: "Foo Ji-Haw" To: "Wojciech Puchar" References: <01bb01c5f624$afbe0a50$c801a8c0@nexpc> <20051201042247.V78580@chylonia.3miasto.net> Date: Thu, 1 Dec 2005 11:43:34 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Cc: FreeBSD-questions@freebsd.org Subject: Re: faster ssh session? 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: Thu, 01 Dec 2005 03:36:06 -0000 Thanks for your quick response. I think Glenn's answer is better with the UseDNS option. ----- Original Message ----- From: "Wojciech Puchar" To: "Foo Ji-Haw" Cc: Sent: Thursday, December 01, 2005 11:23 AM Subject: Re: faster ssh session? > > > > I have a well and working setup of FBSD 5.4. Nothing much to complain about, but I hope to resolve this oddity. > > > > If I were to open a SSH connection to the box from an IP that cannot be reverse dns queried, the box takes a little while before giving the username prompt. Is there a way to turn off reverse dns query? This happens to the smtp service (running on inetd) as well. > > it's more general problem - DNS queries have to timeout. > > quickest solution (if it's your private lan) is to add entries to > /etc/hosts