Hello, i am use BIND version 9.9.5. DNS records stored in files.
Fast load zones released in startup by enabling zones to load in multiple threads. ( [RT #25333] ) But named-checkconf work too slow. Somebody, use check local files, before reloading BIND configuration? For checking zone files i run next command: named-checkconf -j -z /etc/named.conf Which load 7317 zones, one by one: named-checkconf -j -z /etc/named.conf | wc -l 7317 And check zones over 30 seconds: # time named-checkconf -j -z /etc/named.conf > /dev/null real 0m24.878s user 0m23.561s sys 0m0.724s I use script to check: CHECK_OK=0 CHECK_CMD=`/usr/local/sbin/named-checkconf -j -z /etc/named.conf > /dev/shm/named-checkconf.out` RETVAL=$? if [ "${RETVAL}" = "${CHECK_OK}" ]; then echo DNS config checking - OKEY /usr/local/sbin/rndc reload echo dns config reloaded else echo DNS config checking - ERROR cat /dev/shm/named-checkconf.out | grep -v " loaded serial " fi -- Alex _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users