]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Checking synthesis of AAAA of builtin ipv4only.arpa
authorMark Andrews <marka@isc.org>
Thu, 5 Jul 2018 06:45:05 +0000 (16:45 +1000)
committerMark Andrews <marka@isc.org>
Fri, 11 Dec 2020 03:17:47 +0000 (14:17 +1100)
bin/tests/system/dns64/tests.sh

index 753de1f2aa3e912d1265a25c230815537225ff98..f3b60d0ea3dbf41ccb571564daf23a40325f3fdc 100644 (file)
@@ -1429,5 +1429,14 @@ n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
+echo_i "checking synthesis of AAAA from builtin ipv4only.arpa ($n)"
+ret=0
+$DIG $DIGOPTS aaaa ipv4only.arpa -b 10.53.0.7 @10.53.0.2 > dig.out.ns2.test$n || ret=1
+grep -i 'ipv4only.arpa.*IN.AAAA.2001:96::c000:aa' dig.out.ns2.test$n >/dev/null || ret=1
+grep -i 'ipv4only.arpa.*IN.AAAA.2001:96::c000:ab' dig.out.ns2.test$n >/dev/null || ret=1
+n=`expr $n + 1`
+if [ $ret != 0 ]; then echo_i "failed"; fi
+status=`expr $status + $ret`
+
 echo_i "exit status: $status"
 [ $status -eq 0 ] || exit 1