909-546-4700

Bind 9.16.3 for RHEL/Centos/Fedora

A source rpm for Bind 9.16.3 is available here. This contains the original source code from isc.org without any of the backported patches in the official RHEL version. ISC is using Python for more utility/management functions. This version contains two patches for Python 2 compatibility. It can be built via:

EL6:
rpmbuild --rebuild --define 'dist .el6' \
bind-9.16.3-0.1.el6.src.rpm

EL7:
rpmbuild --rebuild --define 'dist .el7' \
bind-9.16.3-0.1.el6.src.rpm

These builds require the python-argparse and python-ply packages, available from the epel repositories. The EL6 build needs a recent version of libuv. I used this one. The EL7 build requires the libuv package from the epel repository.

If your EL6 or EL7 machine is running with SELinux in enforcing mode, you need this custom policy installed. This fixes the problem of running a Centos machine in enforcing mode under KVM. You can build that policy with:

checkmodule -M -m -o iscbind.mod iscbind.te
if [ $? -eq 0 ]; then
    semodule_package -o iscbind.pp -m iscbind.mod
    rm -f iscbind.mod
    semodule -i iscbind.pp
fi

If you are building on a machine with IPv6 disabled, you might need to add "--define 'test 0'" to those rpmbuild commands. The recent ISC bind tests seem to require at least a loopback IPv6 interface.