3 module-config: "respip validator iterator"
4 target-fetch-policy: "0 0 0 0 0"
9 name: "rpz.example.com."
12 TEMPFILE_NAME rpz.example.com
13 TEMPFILE_CONTENTS rpz.example.com
14 rpz.example.com. 3600 IN SOA ns.rpz.example.com. hostmaster.rpz.example.com. 1 3600 900 86400 3600
15 rpz.example.com. 3600 IN NS ns.rpz.example.net.
16 a.rpz.example.com. IN CNAME *.
17 c.rpz.example.com. IN TXT "hello from initial RPZ"
18 c.rpz.example.com. IN TXT "another hello from initial RPZ"
19 c.rpz.example.com. IN TXT "yet another hello from initial RPZ"
20 d.rpz.example.com. IN CNAME .
21 32.1.123.0.10.rpz-ip.rpz.example.com. CNAME *.
22 32.3.123.0.10.rpz-ip.rpz.example.com. A 10.66.0.3
23 32.3.123.0.10.rpz-ip.rpz.example.com. A 10.66.0.4
24 32.4.123.0.10.rpz-ip.rpz.example.com. CNAME .
29 stub-addr: 10.20.30.40
33 SCENARIO_BEGIN Test RPZ QNAME trigger, loaded using IXFR
39 MATCH opcode qname qtype
51 MATCH opcode qname qtype
57 b. TXT "hello from upstream"
61 MATCH opcode qname qtype
67 d. TXT "hello from upstream"
71 MATCH opcode qname qtype
77 a.rpz-ip. IN A 10.0.123.1
81 MATCH opcode qname qtype
87 c.rpz-ip. IN A 10.0.123.3
91 MATCH opcode qname qtype
97 d.rpz-ip. IN A 10.0.123.4
101 MATCH opcode qname qtype
105 rpz.example.com. IN SOA
107 rpz.example.com. IN SOA ns.rpz.example.com. hostmaster.rpz.example.com. 2 3600 900 86400 3600
111 MATCH opcode qname qtype
115 rpz.example.com. IN IXFR
117 rpz.example.com. IN SOA ns.rpz.example.com. hostmaster.rpz.example.com. 2 3600 900 86400 3600
118 rpz.example.com. IN SOA ns.rpz.example.com. hostmaster.rpz.example.com. 1 3600 900 86400 3600
119 a.rpz.example.com. IN CNAME *.
120 c.rpz.example.com. IN TXT "hello from initial RPZ"
121 c.rpz.example.com. IN TXT "another hello from initial RPZ"
122 d.rpz.example.com. IN CNAME .
123 32.1.123.0.10.rpz-ip.rpz.example.com. CNAME *.
124 32.3.123.0.10.rpz-ip.rpz.example.com. A 10.66.0.3
125 32.3.123.0.10.rpz-ip.rpz.example.com. A 10.66.0.4
126 32.4.123.0.10.rpz-ip.rpz.example.com. CNAME .
127 rpz.example.com. IN SOA ns.rpz.example.com. hostmaster.rpz.example.com. 2 3600 900 86400 3600
128 b.rpz.example.com. TXT "hello from RPZ"
129 c.rpz.example.com. TXT "hello from RPZ"
130 a.rpz.example.com. CNAME .
131 32.1.123.0.10.rpz-ip.rpz.example.com. CNAME .
132 32.3.123.0.10.rpz-ip.rpz.example.com. A 10.66.0.5
133 32.3.123.0.10.rpz-ip.rpz.example.com. A 10.66.0.6
134 rpz.example.com. IN SOA ns.rpz.example.com. hostmaster.rpz.example.com. 2 3600 900 86400 3600
149 REPLY QR RD RA NOERROR
153 b. IN TXT "hello from upstream"
166 REPLY QR RD RA AA NOERROR
182 REPLY QR RD RA NOERROR
198 REPLY QR RD RA AA NOERROR
202 c. IN TXT "yet another hello from initial RPZ"
203 c. IN TXT "another hello from initial RPZ"
204 c. IN TXT "hello from initial RPZ"
217 REPLY QR RD RA NOERROR
221 c.rpz-ip. IN A 10.66.0.4
222 c.rpz-ip. IN A 10.66.0.3
235 REPLY QR RD RA AA NXDOMAIN
251 REPLY QR RD RA NXDOMAIN
256 STEP 16 TIME_PASSES ELAPSE 1
257 STEP 30 TIME_PASSES ELAPSE 3600
270 REPLY QR RD RA AA NOERROR
274 b. IN TXT "hello from RPZ"
287 REPLY QR RD RA AA NXDOMAIN
303 REPLY QR RD RA NXDOMAIN
319 REPLY QR RD RA AA NOERROR
323 c. IN TXT "hello from RPZ"
324 c. IN TXT "yet another hello from initial RPZ"
337 REPLY QR RD RA NOERROR
341 c.rpz-ip. IN A 10.66.0.6
342 c.rpz-ip. IN A 10.66.0.5
355 REPLY QR RD RA NOERROR
359 d. IN TXT "hello from upstream"
372 REPLY QR RD RA NOERROR
376 d.rpz-ip. IN A 10.0.123.4