From owner-freebsd-questions@FreeBSD.ORG Tue May 27 23:06:22 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 2C93537B401 for ; Tue, 27 May 2003 23:06:22 -0700 (PDT) Received: from mcesr.etat.lu (webmail.mcesr.etat.lu [194.154.200.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E17FD43F75 for ; Tue, 27 May 2003 23:06:20 -0700 (PDT) (envelope-from freebsd@mcesr.etat.lu) Received: from [148.110.43.189] (account ) by mcesr.etat.lu (CommuniGate Pro WebUser 4.0.6) with HTTP id 860844 for ; Wed, 28 May 2003 08:06:19 +0200 From: "Wiroth Didier" To: freebsd-questions@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.4.0.6 Date: Wed, 28 May 2003 08:06:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Subject: 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 06:06:22 -0000 Hey, I'm running a server with freebsd 4.8-release with OpenSSH_3.5p1 and named 8.3.4-REL. The server has the ip 192.168.0.18. Case1: My resolv.conf contains these (similar) entries: domain mydomain.com search mydomain.com nameserver 10.0.0.1 nameserver 10.0.0.2 Case2: No I put my own dns in the file, and the file looks like this: domain mydomain.com search mydomain.com nameserver 192.168.0.18 nameserver 10.0.0.1 nameserver 10.0.0.2 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! When I change back resolv.conf to "Case1" there is no problem, "password:" appears rapidely after having entered the username! What it is the problem? I'm using a 192.168.0.16/255.255.255.248 Network and I have not setup a reverse lookup zone for the moment! Could that be the problem Thanks a lot! Didier