From RHEL to CentOS BIND 9

Baird, Josh jbaird at
Wed Dec 5 15:49:25 UTC 2007

I think that you are making this way too complicated.  

Remove the bind packages that you have already installed and "yum
install bind-chroot"

This will install a chrooted bind in /var/named/chroot/.

Copy the named.conf from your RHEL primary to
/var/named/chroot/etc/named.conf on the new CentOS box.

Copy the zones from your RHEL primary to /var/named/chroot/etc/xxx,
where 'xxx' is the "directory" in global options.

Take the RHEL primary offline, assign it's IP to the CentOS box, and
boom -- you should have a working BIND master.  Remember that if you
want to log within a chroot, you will need to start syslogd with the -a
flag (check /etc/sysconfig/syslog, and make the change here).


Josh Baird

-----Original Message-----
From: bind-users-bounce at [mailto:bind-users-bounce at] On
Behalf Of isplist at
Sent: Wednesday, December 05, 2007 9:39 AM
To: bind-users
Subject: Re: From RHEL to CentOS BIND 9

> I think start from scratch will be fastest and easiest way how fix
> it (especially when you modified perms etc). It will take
> about 5 minutes if you have zone files and named.conf :)

I didn't change much for permissions and such but zone files and
and such have been messed with too much by now. I'll rebuild and try
suggestion before anything.

Do you have any tips on anything else I should be aware of?

The scenario is that I have a RHEL based primary right now. I am
installing a 
new CentOS based bind server, both are chrooted. I am replacing the
machine with the second. I will have to turn off the old machine and
the new machine IP when I am ready to let it take over. 

Once this is working correctly, the second part will be getting a
online. I want to get the first one going before thinking about the


More information about the bind-users mailing list