BIND9 REPLACE BASE BIND8
bsd_mailing at yahoo.com
Tue Sep 14 21:53:28 PDT 2004
--- Joshua Lewis <jmlewis at dslextreme.com> 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:
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
> 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
> 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:
If you are planning on controlling bind through rndc
don't forget to run: "rndc-confgen -a" after you
to make bind9 load on boot add to /etc/rc.conf
named_flags="depends on your environment check -u -t
-c options in named(8)."
"UNIX, it's a way of life."
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
More information about the freebsd-questions