3942. [bug] Wildcard responses from a optout range should be

marked as insecure. [RT #37072]
This commit is contained in:
Mark Andrews
2014-09-04 13:57:50 +10:00
parent d0c4884c86
commit d2ac59302c
4 changed files with 8 additions and 2 deletions

View File

@@ -258,7 +258,7 @@ $DIG $DIGOPTS a.wild.optout.example. \
$DIG $DIGOPTS a.wild.optout.example. \
@10.53.0.4 a > dig.out.ns4.test$n || ret=1
$PERL ../digcomp.pl dig.out.ns3.test$n dig.out.ns4.test$n || ret=1
grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null || ret=1
grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null && ret=1
grep "status: NOERROR" dig.out.ns4.test$n > /dev/null || ret=1
n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi