From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 14:45:34 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 8ECDC16A4CE for ; Wed, 15 Sep 2004 14:45:34 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4044143D2D for ; Wed, 15 Sep 2004 14:45:34 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from hawkwind.Chelsea-Ct.Org (pool-151-199-91-61.roa.east.verizon.net [151.199.91.61]) by gromit.dlib.vt.edu (8.13.1/8.13.1) with ESMTP id i8FEjRBF044127 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 Sep 2004 10:45:29 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from [192.168.1.25] (zappa [192.168.1.25])i8FEjKAS022104; Wed, 15 Sep 2004 10:45:21 -0400 (EDT) From: Paul Mather To: borg In-Reply-To: <20040915120125.845BB16A4D2@hub.freebsd.org> References: <20040915120125.845BB16A4D2@hub.freebsd.org> Content-Type: text/plain Message-Id: <1095259519.21806.39.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 15 Sep 2004 10:45:20 -0400 Content-Transfer-Encoding: 7bit cc: Joshua Lewis cc: freebsd-questions@freebsd.org Subject: Re: BIND9 REPLACE BASE BIND8 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, 15 Sep 2004 14:45:34 -0000 On Tue, 14 Sep 2004 21:53:28 -0700 (PDT), borg wrote: > --- Joshua Lewis wrote: > > > I have been having been having some issues with BIND > > that have been > > driving me up the wall. I believe I may have located > > the problem. I > > believe I had both BIND8 and BIND9 installed on the > > same system. So I am > > reinstalling from the ports collection and > > overwriting BIND8 completely. > > I wish to avoid this issue in the future. I found > > this in a how to > > online and was wondering if it is accurate. > That's a very common confusion. Usually after > installing Bind9 from the ports "named -v" gives you > the 8.x version. A fast and dirty method to override > the old Bind8 with Bind9 tools and file: > > cd /usr/ports/net/bind9 > make install clean > ln -fs /usr/local/bin/dig /usr/bin/dig > ln -fs /usr/local/bin/host /usr/bin/host > ln -fs /usr/local/bin/nslookup /usr/sbin/nslookup > ln -fs /usr/local/bin/nsupdate /usr/sbin/nsupdate > ln -fs /usr/local/sbin/named /usr/sbin/named > ln -fs /etc/namedb/named.conf /usr/local/etc/named.conf A perhaps quicker/cleaner way to overwrite the base BIND is to do the following: cd /usr/ports/dns/bind9 make PORT_REPLACES_BASE_BIND9=yes install clean Or, you can append 'PORT_REPLACES_BASE_BIND9=yes' to your /etc/make.conf file before you build and install the port. Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa