4608. [func] DiG now warns about .local queries which are reserved
for Multicast DNS. [RT #44783]
(cherry picked from commit 7ef453bf43)
This commit is contained in:
@@ -391,6 +391,13 @@ if [ -x ${DIG} ] ; then
|
||||
echo "I:skipping 'dig +idnout' as IDN support is not enabled ($n)"
|
||||
fi
|
||||
|
||||
echo "I:checking that dig warns about .local queries ($n)"
|
||||
ret=0
|
||||
$DIG $DIGOPTS @10.53.0.3 local soa > dig.out.test$n 2>&1 || ret=1
|
||||
grep ";; WARNING: .local is reserved for Multicast DNS" dig.out.test$n > /dev/null || ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
else
|
||||
echo "$DIG is needed, so skipping these dig tests"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user