[v9_9] check hint files in named-checkconf -z
3676. [bug] "named-checkconf -z" now checks zones of type
hint and redirect as well as master. [RT #35046]
(cherry picked from commit d999ca28d4)
This commit is contained in:
@@ -43,6 +43,12 @@ do
|
||||
status=`expr $status + $ret`
|
||||
done
|
||||
|
||||
echo "I: checking that named-checkconf -z catches missing hint file"
|
||||
ret=0
|
||||
$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 named-checkconf dnssec warnings"
|
||||
ret=0
|
||||
$CHECKCONF dnssec.1 2>&1 | grep 'validation yes.*enable no' > /dev/null || ret=1
|
||||
|
||||
Reference in New Issue
Block a user