3674. [bug] RPZ zeroed ttls if the query type was '*'. [RT #35026]

This commit is contained in:
Mark Andrews
2013-11-18 11:22:59 +11:00
parent 6c91f1fd76
commit 225146b2c8
3 changed files with 8 additions and 0 deletions

View File

@@ -555,5 +555,10 @@ if test -n "$EMSGS"; then
egrep 'invalid rpz|rpz.*failed' ns*/named.run | sed -e '10,$d' -e 's/^/I: /'
fi
echo "I:checking that ttl values are not zeroed when qtype is '*'"
$DIG +noall +answer -p 5300 @$ns3 any a3-2.tld2 > dig.out.any
ttl=`awk '/a3-2 tld2 text/ {print $2}' dig.out.any`
if test ${ttl:=0} -eq 0; then setret I:failed; fi
echo "I:exit status: $status"
exit $status