Removing default installed BIND

Daniel Bye dan at
Mon Aug 18 07:43:23 PDT 2003

On Mon, Aug 18, 2003 at 04:25:00PM +0200, Jacob Vennervald Madsen wrote:
> Hi
> I have a FreeBSD 4.8 box which I want to setup as a DNS server.
> By default BIND8 is installed but I want to use BIND9. How do I remove
> the old BIND version?

The easiest thing to do is install BIND9 from the ports, and set
named_program="/usr/local/sbin/named" in /etc/rc.conf.  This won't remove
the version in the base system, but it will cause the newer version to be
started at boot time.

If you really want to delete the default version, find and delete any
BIND-related files (the packing list for the ports version of BIND8 may be
helpful here) before you install the port of BIND9.  You should probably 
also set `NO_BIND=true' in /etc/make.conf, so that you don't end up building
them again at your next buildworld.

I have only attempted this once, though, and found the effort was not
rewarded with any real sense of achievement.

> It doesn't seem to be a package.

It's not.  It comes as part of the base system.


Daniel Bye

PGP Key:
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list