Some Perl module hacking to allow you to use the bind97 packages on CentOS 5 with cPanel.
First removing the normal bind packages and installing the bind97 ones:
cp -Rf /var/named/ /var/named-$(date +%s) yum remove bind bind-utils bind-devel bind-libs caching-nameserver yum install install bind97 bind97-libs bind97-utils bind97-devel /usr/local/cpanel/scripts/rebuilddnsconfig
After bind97 is installed and working you'll need to "fix" the cPanel Sysup Perl module so that upcp can continue running
sed -i.bak '/caching-nameserver/d' /usr/local/cpanel/Cpanel/Sysup.pm sed -i 's/bind/bind97/g' /usr/local/cpanel/Cpanel/Sysup.pm chattr +i /usr/local/cpanel/Cpanel/Sysup.pm
The chattr is needed because an
upcp --force will notice that the Sysup.pm module was changed and resync the file with one from cPanel's repos.
Whenever upcp runs the following gets put into the logs and may find its way into your inbox; it's safe to ignore:
[20130509.193120] E Failed to remove /usr/local/cpanel/Cpanel/Sysup.pm to install the new version of this file. Trying to move it out of the way... [20130509.193120] The Administrator will be notified to review this output when this script completes [20130509.193120] E Could not rename /usr/local/cpanel/Cpanel/Sysup.pm out of the way. Please resolve and re-run /usr/local/cpanel/scripts/upcp --force. [20130509.193120] E /usr/local/cpanel/Cpanel/Sysup.pm could not be overwritten by staged /usr/local/cpanel/Cpanel/Sysup.pm-cpanelsync [20130509.193120] The Administrator will be notified to review this output when this script completes