Solved

Upgrading BIND 8 -> BIND 9 on Free BSD

Posted on 2002-05-15
3
198 Views
Last Modified: 2010-04-21
I copied the .gz file to /home/mydir and unzipped and untarred it.  Then ran ./configure make.  But after killing the named process and restarting - in fact after restarting the entire system - I am still showing I am running bind 8.2.4.  Please point me to a resource for upgrading from the BIND 8.2.4 that comes standard with the Free BSD installation and getting it to 9.2.1.  
0
Comment
Question by:mmedwid
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 200 total points
ID: 7012838
Do you install BIND v9 in a different dir?

Have a look at the makefile for BIND 9, to see where it is
install.

type in:
        #which named
        #which ndc
        to make sure your PATH is pointing to the new version.

        "named -v " should tell you which verion you are using
        or : ndc status
             nslookup
        can tell you the story.

        su as root,
        find / -name named -print
        to find out how many copy of named on your system.

        and try to start the new version
0
 
LVL 40

Expert Comment

by:jlevie
ID: 7013880
The default from configure isn't going to install 9.2.1 in the same locations as FreeBSD installed 8.2.4. I belive that if you build Bind 9 from the ports collection it'll install over the Bind 8 installation.

As I recall configure will target Bind 9 for /usr/local. You can run it from there manually or modify /etc/rc.conf to run your copy.  
0
 
LVL 1

Author Comment

by:mmedwid
ID: 7015231
Thanks again.  The which named is a great help.  Find showed that named 8 was in /usr/sbin while named 9.1.3 was installed by default in /usr/sbin.  I did two other things...one was in rc.conf I added...

named_program="/usr/local/sbin/named"    

and in /usr/sbin I renamed named to named8.  Any thought on a good way to clean out BIND 8?  

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question