From owner-freebsd-questions@FreeBSD.ORG Thu Nov 24 17:46:31 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 E69B416A41F for ; Thu, 24 Nov 2005 17:46:31 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from smtp4.suscom.net (smtp4.suscom.net [64.78.119.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A16243D58 for ; Thu, 24 Nov 2005 17:46:31 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (unknown [127.0.0.1]) by smtp4.suscom.net (Postfix) with ESMTP id 1E487150058 for ; Thu, 24 Nov 2005 12:46:30 -0500 (EST) Received: from smtp4.suscom.net ([127.0.0.1]) by localhost (smtp4.suscom.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03561-01-39 for ; Thu, 24 Nov 2005 12:46:24 -0500 (EST) Received: from seibercom.net (ip148.217.susc.suscom.net [216.45.217.148]) by smtp4.suscom.net (Postfix) with SMTP id 366C2150052 for ; Thu, 24 Nov 2005 12:46:24 -0500 (EST) Received: from [192.168.0.2] (//gerard [192.168.0.2]) by seibercom.net (8.13.4/8.13.4) with ESMTP id jAOHkO9I083774 for ; Thu, 24 Nov 2005 12:46:24 -0500 (EST) (envelope-from gerard@seibercom.net) Date: Thu, 24 Nov 2005 12:46:27 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20051124123434.BC6C.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.23 [en] X-Virus-Scanned: amavisd-new at suscom.net Subject: Configuring For Cache Name Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2005 17:46:32 -0000 If I understand this correctly, if I want to enable a cache name server, all I have to do is the following: In /etc/rc.conf enter: named_enable="YES" named_flags="-u bind" Run this command: # cd /etc/namedb # sh make-localhost I enter the address: 127.0.0.1 in the /etc/resolv.conf file ahead of any other entries. I do not have to modify the /etc/namedb/named.conf in any way. I can then either reboot or start the program manually. Have I gotten that all correct? OK, then why is it that the nameserver 127.0.0.1 gets removed on every reboot of the system and the nameservers of my ISP are inserted. Actually, I never removed them, I just placed the new one ahead of them. There is also a search entry in the file. If I remove it, it also gets rewritten upon boot-up. Maybe I should mention that I am employing DHCP presently to obtain a lease from my ISP. Is there something I need to alter in order to get this to work. If I cannot be done, it is no great lose however. I can live with the system the way it is. -- Gerard Seibert gerard@seibercom.net