]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/black_dnskey.rpl
0537757c0de4814f2be4a0c45585b6f47bd14e77
[apple/network_cmds.git] / unbound / testdata / black_dnskey.rpl
1 ; config options
2 ; The island of trust is at example.com
3 server:
4 trust-anchor: "example.com. 3600 IN DS 2854 3 1 46e4ffc6e9a4793b488954bd3f0cc6af0dfb201b"
5 val-override-date: "20070916134226"
6 target-fetch-policy: "0 0 0 0 0"
7
8 stub-zone:
9 name: "."
10 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
11 CONFIG_END
12
13 SCENARIO_BEGIN Test validator with blacklist for DNSKEY response
14 ; DNSKEY not for prime but further down the chain of trust
15 ; data response also needs a blacklist action.
16
17 ; K.ROOT-SERVERS.NET.
18 RANGE_BEGIN 0 100
19 ADDRESS 193.0.14.129
20 ENTRY_BEGIN
21 MATCH opcode qtype qname
22 ADJUST copy_id
23 REPLY QR NOERROR
24 SECTION QUESTION
25 . IN NS
26 SECTION ANSWER
27 . IN NS K.ROOT-SERVERS.NET.
28 SECTION ADDITIONAL
29 K.ROOT-SERVERS.NET. IN A 193.0.14.129
30 ENTRY_END
31
32 ENTRY_BEGIN
33 MATCH opcode subdomain
34 ADJUST copy_id copy_query
35 REPLY QR NOERROR
36 SECTION QUESTION
37 com. IN A
38 SECTION AUTHORITY
39 com. IN NS a.gtld-servers.net.
40 SECTION ADDITIONAL
41 a.gtld-servers.net. IN A 192.5.6.30
42 ENTRY_END
43 RANGE_END
44
45 ; a.gtld-servers.net.
46 RANGE_BEGIN 0 100
47 ADDRESS 192.5.6.30
48 ENTRY_BEGIN
49 MATCH opcode qtype qname
50 ADJUST copy_id
51 REPLY QR NOERROR
52 SECTION QUESTION
53 com. IN NS
54 SECTION ANSWER
55 com. IN NS a.gtld-servers.net.
56 SECTION ADDITIONAL
57 a.gtld-servers.net. IN A 192.5.6.30
58 ENTRY_END
59
60 ENTRY_BEGIN
61 MATCH opcode qtype qname
62 ADJUST copy_id
63 REPLY QR NOERROR
64 SECTION QUESTION
65 ns.blabla.com. IN A
66 SECTION ANSWER
67 ns.blabla.com. IN A 1.2.3.5
68 ENTRY_END
69
70 ENTRY_BEGIN
71 MATCH opcode qtype qname
72 ADJUST copy_id
73 REPLY QR NOERROR
74 SECTION QUESTION
75 ns.blabla.com. IN AAAA
76 SECTION AUTHORITY
77 com. IN SOA com. com. 2009100100 28800 7200 604800 3600
78 ENTRY_END
79
80 ENTRY_BEGIN
81 MATCH opcode qtype qname
82 ADJUST copy_id
83 REPLY QR NOERROR
84 SECTION QUESTION
85 ns.foo.com. IN A
86 SECTION ANSWER
87 ns.foo.com. IN A 1.2.4.7
88 ENTRY_END
89
90 ENTRY_BEGIN
91 MATCH opcode qtype qname
92 ADJUST copy_id
93 REPLY QR NOERROR
94 SECTION QUESTION
95 ns.foo.com. IN AAAA
96 SECTION AUTHORITY
97 com. IN SOA com. com. 2009100100 28800 7200 604800 3600
98 ENTRY_END
99
100 ENTRY_BEGIN
101 MATCH opcode subdomain
102 ADJUST copy_id copy_query
103 REPLY QR NOERROR
104 SECTION QUESTION
105 example.com. IN NS
106 SECTION AUTHORITY
107 example.com. IN NS ns.example.com.
108 example.com. IN NS ns.blabla.com.
109 SECTION ADDITIONAL
110 ns.example.com. IN A 1.2.3.4
111 ; no ns.blabla.com, try that later
112 ENTRY_END
113 RANGE_END
114
115 ; ns.example.com.
116 RANGE_BEGIN 0 100
117 ADDRESS 1.2.3.4
118 ENTRY_BEGIN
119 MATCH opcode qtype qname
120 ADJUST copy_id
121 REPLY QR NOERROR
122 SECTION QUESTION
123 example.com. IN NS
124 SECTION ANSWER
125 example.com. IN NS ns.example.com.
126 example.com. IN NS ns.blabla.com.
127 example.com. 3600 IN RRSIG NS 3 2 3600 20030926134150 20030829134150 2854 example.com. AKJ3xUBdSrCiOFkYajsy93d+h06rewpbmBHItTkL8R/26rw57b1gCIg= ;{id = 2854}
128 SECTION ADDITIONAL
129 ns.example.com. IN A 1.2.3.4
130 ns.example.com. 3600 IN RRSIG A 3 3 3600 20030926134150 20030829134150 2854 example.com. AHNj99mBmP4np19V01nSq990ZIFlIiLWoeHijm/HcOG/o8+DuIp4fL8= ;{id = 2854}
131 ENTRY_END
132
133 ENTRY_BEGIN
134 MATCH opcode qtype qname
135 ADJUST copy_id
136 REPLY QR NOERROR
137 SECTION QUESTION
138 ns.example.com. IN A
139 SECTION ANSWER
140 ns.example.com. IN A 1.2.3.4
141 ns.example.com. 3600 IN RRSIG A 3 3 3600 20030926134150 20030829134150 2854 example.com. AHNj99mBmP4np19V01nSq990ZIFlIiLWoeHijm/HcOG/o8+DuIp4fL8= ;{id = 2854}
142 SECTION ADDITIONAL
143 ENTRY_END
144
145 ENTRY_BEGIN
146 MATCH opcode qtype qname
147 ADJUST copy_id
148 REPLY QR NOERROR
149 SECTION QUESTION
150 ns.example.com. IN AAAA
151 SECTION ANSWER
152 SECTION ADDITIONAL
153 ns.example.com. IN NSEC oof.example.com. NSEC RRSIG A
154 ns.example.com. 3600 IN RRSIG NSEC 3 3 3600 20030926134150 20030829134150 2854 example.com. ACFVLLBtuSX/1z3461tbOwDz9zTHe5S9DbVtwnSO1f2x06fYbMpzSDE= ;{id = 2854}
155 ENTRY_END
156
157 ; response to DNSKEY priming query
158 ENTRY_BEGIN
159 MATCH opcode qtype qname
160 ADJUST copy_id
161 REPLY QR NOERROR
162 SECTION QUESTION
163 example.com. IN DNSKEY
164 SECTION ANSWER
165 example.com. 3600 IN DNSKEY 256 3 3 ALXLUsWqUrY3JYER3T4TBJII s70j+sDS/UT2QRp61SE7S3E EXopNXoFE73JLRmvpi/UrOO/Vz4Se 6wXv/CYCKjGw06U4WRgR YXcpEhJROyNapmdIKSx hOzfLVE1gqA0PweZR8d tY3aNQSRn3sPpwJr6Mi /PqQKAMMrZ9ckJpf1+b QMOOvxgzz2U1GS18b3y ZKcgTMEaJzd/GZYzi/B N2DzQ0MsrSwYXfsNLFO Bbs8PJMW4LYIxeeOe6rUgkWOF 7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2854 (zsk), size = 1688b}
166 ; make priming query succeed
167 example.com. 3600 IN RRSIG DNSKEY 3 2 3600 20070926134802 20070829134802 2854 example.com. MCwCFG1yhRNtTEa3Eno2zhVVuy2EJX3wAhQeLyUp6+UXcpC5qGNu9tkrTEgPUg== ;{id = 2854}
168 ;example.com. 3600 IN RRSIG DNSKEY 3 2 3600 20030926134150 20030829134150 2854 example.com. AG21xE8CFQzTq6XtHErg28b9EAmqPsoYCUcFPEAoAjFybM6AY4/bMOo= ;{id = 2854}
169 SECTION AUTHORITY
170 ;example.com. IN NS ns.example.com.
171 ;example.com. IN NS ns.blabla.com.
172 ;example.com. 3600 IN RRSIG NS 3 2 3600 20030926134150 20030829134150 2854 example.com. ACiWu7zjBHqgEX3iUoOF7rfpOmIAHj1npKQ+XDIaNlmdkfJxoCwFl04= ;{id = 2854}
173 SECTION ADDITIONAL
174 ;ns.example.com. IN A 1.2.3.4
175 ;ns.example.com. 3600 IN RRSIG A 3 3 3600 20030926134150 20030829134150 2854 example.com. ACmAsKTf7hqDaYK8CQ7FL1cGYPW+blTCnzZGkExFtEUAGrHeze87o+A= ;{id = 2854}
176 ENTRY_END
177
178 ENTRY_BEGIN
179 MATCH opcode qtype qname
180 ADJUST copy_id
181 REPLY QR NOERROR
182 SECTION QUESTION
183 www.example.com. IN A
184 SECTION ANSWER
185 www.example.com. IN A 10.20.30.40
186 www.example.com. 3600 IN RRSIG A 3 3 3600 20030926134150 20030829134150 2854 example.com. AGj9kE8oW3OhOLhkmJ3HBaNIOpvGf3S8zSd5gWmhpxAMc5hh6cxZfpQ= ;{id = 2854}
187 SECTION AUTHORITY
188 example.com. IN NS ns.example.com.
189 example.com. IN NS ns.blabla.com.
190 example.com. 3600 IN RRSIG NS 3 2 3600 20030926134150 20030829134150 2854 example.com. ACHETweBNPgbmRoNRdKvxuw4X9qNUUTEpSuwV+HhuiBE83gbB98asAc= ;{id = 2854}
191 SECTION ADDITIONAL
192 ns.example.com. IN A 1.2.3.4
193 ns.example.com. 3600 IN RRSIG A 3 3 3600 20030926134150 20030829134150 2854 example.com. AGvu9A/nGsbatxJCmnObioIhKg2Tm0Apr0eo+DO1kIDrAHco/bt/EdY= ;{id = 2854}
194 ENTRY_END
195
196 ; DS request
197 ENTRY_BEGIN
198 MATCH opcode qtype qname
199 ADJUST copy_id
200 REPLY QR AA NOERROR
201 SECTION QUESTION
202 sub.example.com. IN DS
203 SECTION ANSWER
204 sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3
205 sub.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. AKslZ9oXcoyeOkPfGkTB3/hxnpdgU5ahzElLyK6B0n6+BdIXeirIEtE= ;{id = 2854}
206 ;sub.example.com. 3600 IN RRSIG DS 3 3 3600 20030926134150 20030829134150 2854 example.com. AAT/7XwtMjHiT1GFHfV6Wvv4n+oOkqxllNdf9bLnpTHw/8h586yBgwg= ;{id = 2854}
207 ENTRY_END
208
209 ENTRY_BEGIN
210 MATCH opcode subdomain
211 ADJUST copy_id copy_query
212 REPLY QR AA NOERROR
213 SECTION QUESTION
214 sub.example.com. IN NS
215 SECTION AUTHORITY
216 sub.example.com. IN NS ns.sub.example.com.
217 sub.example.com. IN NS ns.foo.com.
218 sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3
219 sub.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. AKslZ9oXcoyeOkPfGkTB3/hxnpdgU5ahzElLyK6B0n6+BdIXeirIEtE= ;{id = 2854}
220 ;sub.example.com. 3600 IN RRSIG DS 3 3 3600 20030926134150 20030829134150 2854 example.com. AAT/7XwtMjHiT1GFHfV6Wvv4n+oOkqxllNdf9bLnpTHw/8h586yBgwg= ;{id = 2854}
221 SECTION ADDITIONAL
222 ns.sub.example.com. IN A 1.2.4.6
223 ENTRY_END
224
225 RANGE_END
226
227 ; ns.blabla.com.
228 RANGE_BEGIN 0 100
229 ADDRESS 1.2.3.5
230 ENTRY_BEGIN
231 MATCH opcode qtype qname
232 ADJUST copy_id
233 REPLY QR NOERROR
234 SECTION QUESTION
235 example.com. IN NS
236 SECTION ANSWER
237 example.com. IN NS ns.example.com.
238 example.com. IN NS ns.blabla.com.
239 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. AAJHNhPYVG6+550zQga9ZgV8McQZHLboOWjfbdiq2ZC+gUcQeQDDlFs= ;{id = 2854}
240 SECTION ADDITIONAL
241 ns.example.com. IN A 1.2.3.4
242 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
243 ENTRY_END
244
245 ENTRY_BEGIN
246 MATCH opcode qtype qname
247 ADJUST copy_id
248 REPLY QR NOERROR
249 SECTION QUESTION
250 ns.example.com. IN A
251 SECTION ANSWER
252 ns.example.com. IN A 1.2.3.4
253 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
254 SECTION ADDITIONAL
255 ENTRY_END
256
257 ENTRY_BEGIN
258 MATCH opcode qtype qname
259 ADJUST copy_id
260 REPLY QR NOERROR
261 SECTION QUESTION
262 ns.example.com. IN AAAA
263 SECTION ANSWER
264 SECTION ADDITIONAL
265 ns.example.com. IN NSEC oof.example.com. NSEC RRSIG A
266 ns.example.com. 3600 IN RRSIG NSEC 3 3 3600 20070926134150 20070829134150 2854 example.com. ABhDNtJramb2a4R1SK5gb/CTYJybQts6mZ++z3kLiwsrUSZInA4ikeQ= ;{id = 2854}
267 ENTRY_END
268
269 ; response to DNSKEY priming query
270 ENTRY_BEGIN
271 MATCH opcode qtype qname
272 ADJUST copy_id
273 REPLY QR NOERROR
274 SECTION QUESTION
275 example.com. IN DNSKEY
276 SECTION ANSWER
277 example.com. 3600 IN DNSKEY 256 3 3 ALXLUsWqUrY3JYER3T4TBJII s70j+sDS/UT2QRp61SE7S3E EXopNXoFE73JLRmvpi/UrOO/Vz4Se 6wXv/CYCKjGw06U4WRgR YXcpEhJROyNapmdIKSx hOzfLVE1gqA0PweZR8d tY3aNQSRn3sPpwJr6Mi /PqQKAMMrZ9ckJpf1+b QMOOvxgzz2U1GS18b3y ZKcgTMEaJzd/GZYzi/B N2DzQ0MsrSwYXfsNLFO Bbs8PJMW4LYIxeeOe6rUgkWOF 7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2854 (zsk), size = 1688b}
278 example.com. 3600 IN RRSIG DNSKEY 3 2 3600 20070926134802 20070829134802 2854 example.com. MCwCFG1yhRNtTEa3Eno2zhVVuy2EJX3wAhQeLyUp6+UXcpC5qGNu9tkrTEgPUg== ;{id = 2854}
279 SECTION AUTHORITY
280 example.com. IN NS ns.example.com.
281 example.com. IN NS ns.blabla.com.
282 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. AAJHNhPYVG6+550zQga9ZgV8McQZHLboOWjfbdiq2ZC+gUcQeQDDlFs= ;{id = 2854}
283 SECTION ADDITIONAL
284 ns.example.com. IN A 1.2.3.4
285 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
286 ENTRY_END
287
288 ENTRY_BEGIN
289 MATCH opcode qtype qname
290 ADJUST copy_id
291 REPLY QR NOERROR
292 SECTION QUESTION
293 www.example.com. IN A
294 SECTION ANSWER
295 www.example.com. IN A 10.20.30.40
296 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCQMyTjn7WWwpwAR1LlVeLpRgZGuQIUCcJDEkwAuzytTDRlYK7nIMwH1CM= ;{id = 2854}
297 SECTION AUTHORITY
298 example.com. IN NS ns.example.com.
299 example.com. IN NS ns.blabla.com.
300 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. AAJHNhPYVG6+550zQga9ZgV8McQZHLboOWjfbdiq2ZC+gUcQeQDDlFs= ;{id = 2854}
301 SECTION ADDITIONAL
302 ns.example.com. IN A 1.2.3.4
303 www.example.com. 3600 IN RRSIG A 3 3 3600 20070926134150 20070829134150 2854 example.com. MC0CFC99iE9K5y2WNgI0gFvBWaTi9wm6AhUAoUqOpDtG5Zct+Qr9F3mSdnbc6V4= ;{id = 2854}
304 ENTRY_END
305
306 ; DS request
307 ENTRY_BEGIN
308 MATCH opcode qtype qname
309 ADJUST copy_id
310 REPLY QR AA NOERROR
311 SECTION QUESTION
312 sub.example.com. IN DS
313 SECTION ANSWER
314 sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3
315 sub.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. AKslZ9oXcoyeOkPfGkTB3/hxnpdgU5ahzElLyK6B0n6+BdIXeirIEtE= ;{id = 2854}
316 ENTRY_END
317
318 ENTRY_BEGIN
319 MATCH opcode subdomain
320 ADJUST copy_id copy_query
321 REPLY QR AA NOERROR
322 SECTION QUESTION
323 sub.example.com. IN NS
324 SECTION AUTHORITY
325 sub.example.com. IN NS ns.sub.example.com.
326 sub.example.com. IN NS ns.foo.com.
327 sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3
328 sub.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. AKslZ9oXcoyeOkPfGkTB3/hxnpdgU5ahzElLyK6B0n6+BdIXeirIEtE= ;{id = 2854}
329 SECTION ADDITIONAL
330 ns.sub.example.com. IN A 1.2.4.6
331 ENTRY_END
332
333 RANGE_END
334
335 ; ns.sub.example.com.
336 RANGE_BEGIN 0 100
337 ADDRESS 1.2.4.6
338 ENTRY_BEGIN
339 MATCH opcode qtype qname
340 ADJUST copy_id
341 REPLY QR AA NOERROR
342 SECTION QUESTION
343 sub.example.com. IN DNSKEY
344 SECTION ANSWER
345 sub.example.com. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
346 sub.example.com. 3600 IN RRSIG DNSKEY 5 3 3600 20030926134150 20030829134150 30899 sub.example.com. g+YoDwrCF75YCFyqYoxlF+/mNfcscnuZ6LfmfBgPLohlvCCC7jYj/wkc2fxAl3MEK0CriWkHp1hw0QQYkmbbKw== ;{id = 30899}
347 ENTRY_END
348
349 ENTRY_BEGIN
350 MATCH opcode qtype qname
351 ADJUST copy_id
352 REPLY QR AA NOERROR
353 SECTION QUESTION
354 sub.example.com. IN NS
355 SECTION ANSWER
356 sub.example.com. IN NS ns.sub.example.com.
357 sub.example.com. IN NS ns.foo.com.
358 sub.example.com. 3600 IN RRSIG NS 5 3 3600 20030926134150 20030829134150 30899 sub.example.com. VCDq+gfZHuziE81Uypxm2va4eXCtoD8F8YKkwNo8laMNUcXh/hvGdbHKXMMghwuJXgxLh89Diu5kywBVwb/AIg== ;{id = 30899}
359 SECTION ADDITIONAL
360 ns.sub.example.com. IN A 1.2.4.6
361 ns.sub.example.com. 3600 IN RRSIG A 5 4 3600 20030926134150 20030829134150 30899 sub.example.com. l3wjlbDU2y7ECix6t1pp5Rtz+qFlADRMohcRsCrnD9b99IoOL0/cTpvvf2V1VTJveIibFGhbcHTuCqAQ4G4FKA== ;{id = 30899}
362 ENTRY_END
363
364 ENTRY_BEGIN
365 MATCH opcode qtype qname
366 ADJUST copy_id
367 REPLY QR AA NOERROR
368 SECTION QUESTION
369 ns.sub.example.com. IN A
370 SECTION ANSWER
371 ns.sub.example.com. IN A 1.2.4.6
372 ns.sub.example.com. 3600 IN RRSIG A 5 4 3600 20030926134150 20030829134150 30899 sub.example.com. l3wjlbDU2y7ECix6t1pp5Rtz+qFlADRMohcRsCrnD9b99IoOL0/cTpvvf2V1VTJveIibFGhbcHTuCqAQ4G4FKA== ;{id = 30899}
373 ENTRY_END
374
375 ENTRY_BEGIN
376 MATCH opcode qtype qname
377 ADJUST copy_id
378 REPLY QR AA NOERROR
379 SECTION QUESTION
380 ns.sub.example.com. IN AAAA
381 SECTION AUTHORITY
382 ns.sub.example.com. IN NSEC nt.sub.example.com. NSEC RRSIG A
383 ns.sub.example.com. 3600 IN RRSIG NSEC 5 4 3600 20030926134150 20030829134150 30899 sub.example.com. eVe3iQS2/a1Y57AA2QSlMU/z31xaJ2mwUU36PZh8vlv6shPpQywAT70JdX6+ZsuliRpsbY6crkVXTXJ2qpKTiQ== ;{id = 30899}
384 sub.example.com. IN SOA sub.example.com. hostmaster.sub.example.com. 1 2 3 4 5
385 sub.example.com. 3600 IN RRSIG SOA 5 3 3600 20030926134150 20030829134150 30899 sub.example.com. vEX2n1CksMr5jPq9d2BQJMIDwxaXdWlY5mYg+PBmOFI4xngFMKTsXa/+SfJy2SiqAgHTDI6joIo30AdQJsjdHA== ;{id = 30899}
386 ENTRY_END
387
388 ENTRY_BEGIN
389 MATCH opcode qtype qname
390 ADJUST copy_id
391 REPLY QR AA NOERROR
392 SECTION QUESTION
393 www.sub.example.com. IN A
394 SECTION ANSWER
395 www.sub.example.com. IN A 10.20.30.40
396 www.sub.example.com. 3600 IN RRSIG A 5 4 3600 20030926134150 20030829134150 30899 sub.example.com. dBK6JOkKlp2G+f7mhInKnQM6DUBnEziTS+KpXzQ/5HT8/h9XkryOt4vAJKGCz0Ew3qRqjLgylsbGrcuxmIO9jA== ;{id = 30899}
397 ENTRY_END
398
399 RANGE_END
400
401 ; ns.foo.com.
402 RANGE_BEGIN 0 100
403 ADDRESS 1.2.4.7
404 ENTRY_BEGIN
405 MATCH opcode qtype qname
406 ADJUST copy_id
407 REPLY QR AA NOERROR
408 SECTION QUESTION
409 sub.example.com. IN DNSKEY
410 SECTION ANSWER
411 sub.example.com. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
412 sub.example.com. 3600 IN RRSIG DNSKEY 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. uNGp99iznjD7oOX02XnQbDnbg75UwBHRvZSKYUorTKvPUnCWMHKdRsQ+mf+Fx3GZ+Fz9BVjoCmQqpnfgXLEYqw== ;{id = 30899}
413 ENTRY_END
414
415 ENTRY_BEGIN
416 MATCH opcode qtype qname
417 ADJUST copy_id
418 REPLY QR AA NOERROR
419 SECTION QUESTION
420 sub.example.com. IN NS
421 SECTION ANSWER
422 sub.example.com. IN NS ns.sub.example.com.
423 sub.example.com. IN NS ns.foo.com.
424 sub.example.com. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. hJ3nkrfyBwPcfpwc9wEwzhF5+ZKUddKBHQuZuHPZBjBwb1BsT7B7ryadttbGE3keQJiwNmK9AqvE0Zb+WkDceg== ;{id = 30899}
425 SECTION ADDITIONAL
426 ns.sub.example.com. IN A 1.2.4.6
427 ns.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. fMRshSYDWgvGAwc24Lzg6746jnoG5shlK+o9CgzU7CQbkeNWmj3oO/0TJGP/zxp52JiDBpzRuTmBlrcJYV/gBA== ;{id = 30899}
428 ENTRY_END
429
430 ENTRY_BEGIN
431 MATCH opcode qtype qname
432 ADJUST copy_id
433 REPLY QR AA NOERROR
434 SECTION QUESTION
435 ns.sub.example.com. IN A
436 SECTION ANSWER
437 ns.sub.example.com. IN A 1.2.4.6
438 ns.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. fMRshSYDWgvGAwc24Lzg6746jnoG5shlK+o9CgzU7CQbkeNWmj3oO/0TJGP/zxp52JiDBpzRuTmBlrcJYV/gBA== ;{id = 30899}
439 ENTRY_END
440
441 ENTRY_BEGIN
442 MATCH opcode qtype qname
443 ADJUST copy_id
444 REPLY QR AA NOERROR
445 SECTION QUESTION
446 ns.sub.example.com. IN AAAA
447 SECTION AUTHORITY
448 ns.sub.example.com. IN NSEC nt.sub.example.com. NSEC RRSIG A
449 ns.sub.example.com. 3600 IN RRSIG NSEC 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. qwUibvlPTFnxgiyCNtEJCYqJIgA8WFDqypmsO6TSYje2Rqhq4AaWEVxQwU4bdjmipCGVqtlP8mMyMQHaYNMGKA== ;{id = 30899}
450 sub.example.com. IN SOA sub.example.com. hostmaster.sub.example.com. 1 2 3 4 5
451 sub.example.com. 3600 IN RRSIG SOA 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. sZQEMd0ys2mxPRajzBuvy4XdLNVvXMmJSnmfTHUL41d9IxbGN/ifpiIWs2MXOFPnbab05aYadrzZpT/cpDTxmQ== ;{id = 30899}
452 ENTRY_END
453
454 ENTRY_BEGIN
455 MATCH opcode qtype qname
456 ADJUST copy_id
457 REPLY QR AA NOERROR
458 SECTION QUESTION
459 www.sub.example.com. IN A
460 SECTION ANSWER
461 www.sub.example.com. IN A 10.20.30.40
462 www.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. deNzEy9Hq+6gDZhafC0M7UDuRBm51AA1/FAIauAitNuQlYUzOvWLVHFQ95bn308rCVPqrb4rFDV+gNzxkzm1rw== ;{id = 30899}
463 ENTRY_END
464
465 RANGE_END
466
467 STEP 1 QUERY
468 ENTRY_BEGIN
469 REPLY RD DO
470 SECTION QUESTION
471 www.sub.example.com. IN A
472 ENTRY_END
473
474 ; recursion happens here.
475 STEP 10 CHECK_ANSWER
476 ENTRY_BEGIN
477 MATCH all
478 REPLY QR RD RA AD DO NOERROR
479 SECTION QUESTION
480 www.sub.example.com. IN A
481 SECTION ANSWER
482 www.sub.example.com. IN A 10.20.30.40
483 www.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. deNzEy9Hq+6gDZhafC0M7UDuRBm51AA1/FAIauAitNuQlYUzOvWLVHFQ95bn308rCVPqrb4rFDV+gNzxkzm1rw== ;{id = 30899}
484 ENTRY_END
485
486 ; remove pending ns.blabla.com AAAA msg
487 STEP 30 QUERY
488 ENTRY_BEGIN
489 REPLY RD DO CD
490 SECTION QUESTION
491 ns.blabla.com. IN AAAA
492 ENTRY_END
493
494 ; recursion happens here.
495 STEP 40 CHECK_ANSWER
496 ENTRY_BEGIN
497 MATCH all
498 REPLY QR RD CD RA DO NOERROR
499 SECTION QUESTION
500 ns.blabla.com. IN AAAA
501 SECTION ANSWER
502 SECTION AUTHORITY
503 com. IN SOA com. com. 2009100100 28800 7200 604800 3600
504 ENTRY_END
505
506 SCENARIO_END