[v9_9] skip unnecesary also-notify data

3713.	[bug]		Save memory by not storing "also-notify" addresses
			in zone objects that are configured not to send
			notify requests. [RT #35195]

(cherry picked from commit e45d0508c3)
This commit is contained in:
Evan Hunt
2014-03-14 10:57:51 -07:00
parent 5ca8e16412
commit 52cbef6c95
5 changed files with 130 additions and 3 deletions

View File

@@ -59,6 +59,13 @@ $CHECKCONF -z hint-nofile.conf > /dev/null 2>&1 && ret=1
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
echo "I: checking that named-checkconf warns of notify inconsistencies"
ret=0
warnings=`$CHECKCONF notify.conf 2>&1 | grep "'notify' is disabled" | wc -l`
[ $warnings -eq 3 ] || ret=1
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
echo "I: checking named-checkconf dnssec warnings"
ret=0
$CHECKCONF dnssec.1 2>&1 | grep 'validation yes.*enable no' > /dev/null || ret=1