From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 20:57:56 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 23AE416A4D0 for ; Thu, 18 Nov 2004 20:57:56 +0000 (GMT) Received: from mailhost.schluting.com (schluting.com [131.252.214.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E85D843D48 for ; Thu, 18 Nov 2004 20:57:55 +0000 (GMT) (envelope-from charlie@schluting.com) Received: from localhost (localhost [127.0.0.1]) by mailhost.schluting.com (Postfix) with ESMTP id 16318246C for ; Thu, 18 Nov 2004 12:57:53 -0800 (PST) Received: from mailhost.schluting.com ([127.0.0.1]) by localhost (schluting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 67418-03 for ; Thu, 18 Nov 2004 12:57:45 -0800 (PST) Received: from [131.252.209.122] (smelly.cat.pdx.edu [131.252.209.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhost.schluting.com (Postfix) with ESMTP id E70AA2459 for ; Thu, 18 Nov 2004 12:57:44 -0800 (PST) Message-ID: <419D0CC8.2010308@schluting.com> Date: Thu, 18 Nov 2004 12:57:44 -0800 From: Charlie Schluting User-Agent: Mozilla Thunderbird 0.6 (X11/20040519) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Questions References: <47f8d9310411181243ef6862d@mail.gmail.com> In-Reply-To: <47f8d9310411181243ef6862d@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by your mom at schluting.com Subject: Re: resolv.conf - hosts 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: Thu, 18 Nov 2004 20:57:56 -0000 Brian Henning wrote: > Greetings All: > > Is it possible to add a line above that name server entries in the > resolv.conf file that will tell the system to check the hosts file for > a resolution before querying the dns server(s)? > > Thanks, > Depending on your version of freebsd, nsswitch.conf will have: hosts: files dns If you don't have /etc/nsswitch.conf ...I don't know how it was done before that was introduced/brought back. -Charlie