Paul Mather paul at
Wed Sep 15 07:45:34 PDT 2004

On Tue, 14 Sep 2004 21:53:28 -0700 (PDT), borg <bsd_mailing at>

> --- Joshua Lewis <jmlewis at> 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

     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.

e-mail: paul at

"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

More information about the freebsd-questions mailing list