From owner-freebsd-questions@FreeBSD.ORG Fri Nov 19 22:37:33 2004 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 EF00E16A4CE for ; Fri, 19 Nov 2004 22:37:33 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1B2C43D4C for ; Fri, 19 Nov 2004 22:37:33 +0000 (GMT) (envelope-from henninb@gmail.com) Received: by mproxy.gmail.com with SMTP id q44so25589cwc for ; Fri, 19 Nov 2004 14:37:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=TIzEA940oymEh6hX7XV5riA+xJkae5jONih/4G0M200EoMHb5DZzfxJ1IYrQxBb6DCbLv4VY4QgS2+LDZoFtowULsLmIXz5iox60SgJbnhjwpr7JHhzNsd45j2uCjjsYAT6GtVb0pdRoGfcJ+8OWJ5vMlzlv1la3EYpx69yCt7U= Received: by 10.11.118.39 with SMTP id q39mr55707cwc; Fri, 19 Nov 2004 14:37:33 -0800 (PST) Received: by 10.11.118.7 with HTTP; Fri, 19 Nov 2004 14:37:33 -0800 (PST) Message-ID: <47f8d9310411191437526f70d1@mail.gmail.com> Date: Fri, 19 Nov 2004 16:37:33 -0600 From: Brian Henning To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: ssh slowness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brian Henning List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 22:37:34 -0000 Greetings All, I am running FreeBSD 4.10 stable. I connect to the internet via dialup so I have an entries in my /etc/hosts for all my local machines and I have an entry in my /etc/resolv.conf for my isp's dns server. when I am not connected to my isp and I try to ssh to a local machine from a local mahine it takes a "long" time to connect. I susspect the reason is because it is trying to hit the dns server first from my isp. From what I understand it should hit the hosts file first according to the following setup. Can anyone exlain how I can fix my problem? or explain why my current configuration is incorrect? /etc/host.conf # First try the /etc/hosts file hosts # Now try the nameserver next. bind thanks much, Brian