From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 04:53:28 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 872B116A4CE for ; Wed, 15 Sep 2004 04:53:28 +0000 (GMT) Received: from web41110.mail.yahoo.com (web41110.mail.yahoo.com [66.218.93.26]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B4BF43D31 for ; Wed, 15 Sep 2004 04:53:28 +0000 (GMT) (envelope-from bsd_mailing@yahoo.com) Message-ID: <20040915045328.40670.qmail@web41110.mail.yahoo.com> Received: from [64.172.21.201] by web41110.mail.yahoo.com via HTTP; Tue, 14 Sep 2004 21:53:28 PDT Date: Tue, 14 Sep 2004 21:53:28 -0700 (PDT) From: borg To: "FreeBSD Questions." In-Reply-To: <000401c49adb$1e195af0$3901a8c0@salvation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Joshua Lewis 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 04:53:28 -0000 --- 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 > if you plan on upgrading your base system, add > "NO_BIND= true" to / > etc/make.conf to keep 'buildworld' from blowing away > your current BIND > install. > > For one thing there was no make.conf in /etc. Then > the other thing is > the syntax looks odd to me. I would have thought it > would be > NO_BIND="TRUE" as this is the syntax I have seen in > rc.conf. Could > someone set me strait? If you are using FreeBSD 5.x I believe you should have that pre-created in /etc. The difference that I noticed is that 4.x contains /etc/default/make.conf while 5.x doesn't have. But if it's not there you can create the file anyway. # touch /etc/make.conf You can force it to not mess up your bind config on "buildworld". Add this: NO_BIND= true If you are planning on controlling bind through rndc don't forget to run: "rndc-confgen -a" after you install bind9. to make bind9 load on boot add to /etc/rc.conf named_enable="YES" named_program="/usr/local/sbin/named" named_flags="depends on your environment check -u -t -c options in named(8)." regards, "UNIX, it's a way of life." __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail