3981. [bug] Cache DS/NXDOMAIN independently of other query types.
[RT #37467]
This commit is contained in:
@@ -110,5 +110,18 @@ grep "status: NXDOMAIN" dig.out.f2 > /dev/null || ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
echo "I:checking that DS lookups for grafting forward zones are isolated"
|
||||
ret=0
|
||||
$DIG grafted A @10.53.0.4 -p 5300 > dig.out.q1
|
||||
$DIG grafted DS @10.53.0.4 -p 5300 > dig.out.q2
|
||||
$DIG grafted A @10.53.0.4 -p 5300 > dig.out.q3
|
||||
$DIG grafted AAAA @10.53.0.4 -p 5300 > dig.out.q4
|
||||
grep "status: NOERROR" dig.out.q1 > /dev/null || ret=1
|
||||
grep "status: NXDOMAIN" dig.out.q2 > /dev/null || ret=1
|
||||
grep "status: NOERROR" dig.out.q3 > /dev/null || ret=1
|
||||
grep "status: NOERROR" dig.out.q4 > /dev/null || ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
echo "I:exit status: $status"
|
||||
exit $status
|
||||
|
||||
Reference in New Issue
Block a user