Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 12:23:25 -0400
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        Joshua Lewis <jmlewis@dslextreme.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Replacing Bind8x with Bind9
Message-ID:  <1092155005.86231.75.camel@gromit.dlib.vt.edu>
In-Reply-To: <20040810060957.9F58F16A4D1@hub.freebsd.org>
References:  <20040810060957.9F58F16A4D1@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Aug 2004 22:36:54 -0700, "Joshua Lewis" <jmlewis@dslextreme.com>
wrote:

> How to I totaly replace Bind8x on my 5.2.1 system?

I run BIND 9 chroot on a 5.2.1-RELEASE-p9 system.  I installed it from
ports (/usr/ports/dns/bind9).

Basically, to replace the base BIND 8 installation, you need to append
the following to your /etc/make.conf:

     PORT_REPLACES_BASE_BIND9=YES
     NO_BIND=true

Then, cd to /usr/ports/dns/bind9 and do a "make install clean" to
install it.  The  PORT_REPLACES_BASE_BIND9 will cause the port
installation to overwrite the base version.  The NO_BIND will prevent
your ports version being overwritten when you next build and install
world.

I don't believe the chroot startup support in /etc/rc.d/named for 5.2.1
works for BIND 9, as it's designed for BIND 8.  Setting up chroot for
BIND 9 is a little more involved (from what I recall) than for BIND 8. 
I do believe there is a small tutorial out there somewhere.  (I ran
across one when I was setting up my BIND 9.)

Of course, you will also need to configure BIND 9.  It is stricter than
BIND 8, and will fail to startup on certain configuration errors that
once were treated as warnings.

> Is there a command to run to replace bind8 durring install?

I don't believe there is.

> Do I need to make changes to my startup files?

Yes---depending on whether you are running chroot or not.  You may also
need to mount a devfs via /etc/fstab to get certain required devices
like /dev/random (again, if you're running chroot).

BIND 9 will be the default in 5.3, due out in early October.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1092155005.86231.75.camel>