From owner-freebsd-questions@FreeBSD.ORG Wed May 28 07:10:11 2003 Return-Path: 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 0711637B401 for ; Wed, 28 May 2003 07:10:11 -0700 (PDT) Received: from mcesr.etat.lu (webmail.mcesr.etat.lu [194.154.200.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA6E343F93 for ; Wed, 28 May 2003 07:10:09 -0700 (PDT) (envelope-from freebsd@mcesr.etat.lu) Received: from [148.110.43.189] (HELO lucy) by mcesr.etat.lu (CommuniGate Pro SMTP 4.0.6) with ESMTP id 861141 for freebsd-questions@freebsd.org; Wed, 28 May 2003 16:10:09 +0200 From: "Didier Wiroth" To: Date: Wed, 28 May 2003 16:10:35 +0200 Message-ID: <000301c32522$e8518c00$bd2b6e94@lucy> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: FW: ssh and resolv.conf question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 14:10:11 -0000 The reverse lookup zone is installed and works but, it did not resolve = the problem! Adding nameserver 192.168.0.2 or nameserver 127.0.0.1 as first entry in resolve.conf still produces the extreme delay (30-40 sec) between the username and password prompt with an ssh client??!! When I remove these entries an add two external dns servers, the problem = is solved, why? Thanks for any help Wiroth Didier wrote: [ ... ] > Now the problem: when I use the "Case2" resolv.conf file > and I try to log on with my ssh client to 192.168.0.2 > "Login as:" appears quite instantly but the password > prompts takes about 50 seconds to appear! >=20 > When I change back resolv.conf to "Case1" there is no problem,=20 > "password:" appears rapidely after having entered the username! >=20 > What it is the problem? Setting up reverse DNS, or adding the machines to /etc/hosts will almost = certainly help with that sort of delay. Note that you should probably = only use=20 a "search" line, not "domain" and "search". -Chuck _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"