Check that excessive iterations in logged by named when

loading an existing zone or transfering from the primary.
This commit is contained in:
Mark Andrews
2021-02-17 16:33:49 +11:00
parent 8ec16c378d
commit 46eb21c546
10 changed files with 76 additions and 4 deletions

View File

@@ -4323,5 +4323,13 @@ n=$((n+1))
test "$ret" -eq 0 || echo_i "failed"
status=$((status+ret))
echo_i "checking excessive NSEC3 iteration warnings in named.run ($n)"
ret=0
grep "zone too-many-iterations/IN: excessive NSEC3PARAM iterations [0-9]* > 150" ns2/named.run >/dev/null 2>&1 || ret=1
grep "zone too-many-iterations/IN: excessive NSEC3PARAM iterations [0-9]* > 150" ns3/named.run >/dev/null 2>&1 || ret=1
n=$((n+1))
test "$ret" -eq 0 || echo_i "failed"
status=$((status+ret))
echo_i "exit status: $status"
[ $status -eq 0 ] || exit 1