Bind 9.18.27 for RHEL/Centos/Fedora

A source rpm for Bind 9.18.27 is available here. This contains the original source code from isc.org without any of the backported patches in the official RHEL version. It can be built via:

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

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

The EL7 builds require the python-argparse and python-ply packages from the epel repository.

The EL7 and EL8 builds require the libuv package from the epel repositories. They also require the libuv-devel package - that is in epel for EL7, and in powertools for EL8.

If your 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.