extend rpz_respip.rpl with ipv6 without zz label case
@@ -25,6 +25,7 @@ $ORIGIN rpz.example.com.
64.zz.bb.aa.db8.2001.rpz-ip CNAME rpz-drop.
128.1.zz.cc.bb.aa.db8.2001.rpz-ip CNAME rpz-passthru.
128.123.zz.cc.bb.aa.db8.2001.rpz-ip AAAA 2001:db8::123
+128.124.0.0.cc.bb.aa.db8.2001.rpz-ip AAAA 2001:db8::124
TEMPFILE_END
@@ -206,6 +207,16 @@ SECTION ANSWER
g. IN AAAA 2001:db8:aa:bb:cc::123
ENTRY_END
+ENTRY_BEGIN
+MATCH opcode qtype qname
+ADJUST copy_id
+REPLY QR NOERROR
+SECTION QUESTION
+h. IN AAAA
+SECTION ANSWER
+h. IN AAAA 2001:db8:aa:bb:cc::124
+ENTRY_END
+
RANGE_END
STEP 1 QUERY
@@ -404,18 +415,35 @@ SECTION ANSWER
g. IN AAAA 2001:db8::123
ENTRY_END
-; should be dropped
STEP 25 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
+h. IN AAAA
+ENTRY_END
+
+STEP 26 CHECK_ANSWER
+ENTRY_BEGIN
+MATCH all
+REPLY QR RD RA NOERROR
+SECTION QUESTION
+h. IN AAAA
+SECTION ANSWER
+h. IN AAAA 2001:db8::124
+ENTRY_END
+
+; should be dropped
+STEP 27 QUERY
+ENTRY_BEGIN
+REPLY RD
+SECTION QUESTION
e. IN A
ENTRY_END
-STEP 26 QUERY
+STEP 28 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
e. IN AAAA
ENTRY_END
-STEP 27 TIME_PASSES ELAPSE 12
+STEP 29 TIME_PASSES ELAPSE 12
SCENARIO_END
