From owner-freebsd-questions Thu Jan 23 18: 3:27 2003 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 1D15737B401 for ; Thu, 23 Jan 2003 18:03:26 -0800 (PST) Received: from voo.doo.net (voo.doo.net [81.17.45.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8280443E4A for ; Thu, 23 Jan 2003 18:03:24 -0800 (PST) (envelope-from marc@schneiders.org) Received: from localhost (localhost [127.0.0.1]) by voo.doo.net (8.12.6/8.12.6) with ESMTP id h0O22q6Z012980; Fri, 24 Jan 2003 03:02:53 +0100 (CET) (envelope-from marc@schneiders.org) Date: Fri, 24 Jan 2003 03:02:52 +0100 (CET) From: Marc Schneiders X-X-Sender: To: Jonathan Chen Cc: stan , Free BSD Questions list Subject: Re: How to cleanly remove bind before using bind9 In-Reply-To: <20030124015449.GA68828@grimoire.chen.org.nz> Message-ID: <20030124030047.V12770-100000@voo.doo.net> X-Preferred-email-to: marc@schneiders.org X-Other-email-to: marc@venster.nl X-Organization: Venster (Zeist - NL) X-URL: http://www.bijt.net/ X-SOA: A.ROOT-SERVERS.ORSC. X-OS: FreeBSD: The Power to Serve MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 24 Jan 2003, at 14:54 [=GMT+1300], Jonathan Chen wrote: > On Thu, Jan 23, 2003 at 06:29:22PM -0500, stan wrote: > > I want to use bind 9 from the ports tree. I see how to prevent the bundled > > bind from being built the next time I make world, and I see how to change > > the init files et all to use the ports bind9. > > > > What I _don't_ see (and I'm certain it's just my lack of knowledge here), > > is a clean way to remove all teh traces of the existing bersion of bind > > which was built the last time I did a make world. > > > > Could someone enlighten me? > > You don't remove the bundle BIND. All you do is add the following > lines into your /etc/rc.conf to run the port-installed Bind9. > > named_enable="YES" # Run named, the DNS server (or NO). > named_program="/usr/local/sbin/named" But would this also make the system use the dig that comes with bind9, which is put in /usr/local/bin by the port? Would it not be easiest to tell the port to install in /usr and not in /usr/local? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message