Bind 9.16.7 for RHEL/Centos/Fedora

A source rpm for Bind 9.16.7 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 on EL6 and EL7. It can be built via:

rpmbuild --rebuild --define 'dist .el6' \

rpmbuild --rebuild --define 'dist .el7' \

rpmbuild --rebuild --define 'dist .el8' \

The EL6 and EL7 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 and EL8 builds require 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 also 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

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.