diff --git a/bind.spec b/bind.spec index cb9025e..53ee224 100644 --- a/bind.spec +++ b/bind.spec @@ -22,7 +22,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: ISC Version: 9.7.3 -Release: 0.1.%{PREVER}%{?dist} +Release: 0.2.%{PREVER}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -766,6 +766,9 @@ rm -rf ${RPM_BUILD_ROOT} %endif %changelog +* Wed Jan 05 2011 Adam Tkac 32:9.7.3-0.2.b1 +- add new option DISABLE_ZONE_CHECKING to sysconfig/named + * Wed Jan 05 2011 Adam Tkac 32:9.7.3-0.1.b1 - update to 9.7.3b1 diff --git a/named.init b/named.init index 325f71c..d679a7a 100755 --- a/named.init +++ b/named.init @@ -129,7 +129,10 @@ start() exit 0; fi; - ckcf_options='-z'; # enable named-checkzone for each zone (9.3.1+) ! + if ! [ "$DISABLE_ZONE_CHECKING" = yes ]; then + ckcf_options='-z'; # enable named-checkzone for each zone (9.3.1+) ! + fi; + if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then OPTIONS="${OPTIONS} -t ${ROOTDIR}" ckcf_options="$ckcf_options -t ${ROOTDIR}"; diff --git a/named.sysconfig b/named.sysconfig index 671621d..8ba7d56 100644 --- a/named.sysconfig +++ b/named.sysconfig @@ -32,3 +32,9 @@ # at startup. Don't add -t here, use ROOTDIR instead. # # KEYTAB_FILE="/dir/file" -- Specify named service keytab file (for GSS-TSIG) +# +# DISABLE_ZONE_CHECKING -- By default, initscript calls named-checkzone +# utility for every zone to ensure all zones are +# valid before named starts. If you set this option +# to 'yes' then initscript doesn't perform those +# checks.