4191. [protocol] Accept DNS-SD non LDH PTR records in reverse zones

as per RFC 6763. [RT #37889]

(cherry picked from commit 5855fd79e3)
This commit is contained in:
Mark Andrews
2015-08-25 14:46:06 +10:00
parent f921bb1806
commit 79f23b271e
9 changed files with 120 additions and 2 deletions

View File

@@ -28,6 +28,9 @@ do
zones/good-gc-msdcs.db)
$CHECKZONE -k fail -i local example $db > test.out.$n 2>&1 || ret=1
;;
zones/good-dns-sd-reverse.db)
$CHECKZONE -k fail -i local 0.0.0.0.in-addr.arpa $db > test.out.$n 2>&1 || ret=1
;;
*)
$CHECKZONE -i local example $db > test.out.$n 2>&1 || ret=1
;;
@@ -41,7 +44,14 @@ for db in zones/bad*.db
do
echo "I:checking $db ($n)"
ret=0
$CHECKZONE -i local example $db > test.out.$n 2>&1 && ret=1
case $db in
zones/bad-dns-sd-reverse.db)
$CHECKZONE -k fail -i local 0.0.0.0.in-addr.arpa $db > test.out.$n 2>&1 && ret=1
;;
*)
$CHECKZONE -i local example $db > test.out.$n 2>&1 && ret=1
;;
esac
n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`