]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/dlv_ask_higher.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / dlv_ask_higher.rpl
1 ; config options
2 ; The island of trust is at example.com (the DLV repository)
3 server:
4 dlv-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 DLV where it needs to ask higher up in dlv.
14 ; at first negative DLV response, it needs to ask higher.
15 ; the SOA record in that negative reponse has a big span (if interpreted as NSEC)
16 ; then a positive response for DLV.
17
18 ; K.ROOT-SERVERS.NET.
19 RANGE_BEGIN 0 100
20 ADDRESS 193.0.14.129
21 ENTRY_BEGIN
22 MATCH opcode qtype qname
23 ADJUST copy_id
24 REPLY QR NOERROR
25 SECTION QUESTION
26 . IN NS
27 SECTION ANSWER
28 . IN NS K.ROOT-SERVERS.NET.
29 SECTION ADDITIONAL
30 K.ROOT-SERVERS.NET. IN A 193.0.14.129
31 ENTRY_END
32
33 ENTRY_BEGIN
34 MATCH opcode subdomain
35 ADJUST copy_id copy_query
36 REPLY QR NOERROR
37 SECTION QUESTION
38 com. IN A
39 SECTION AUTHORITY
40 com. IN NS a.gtld-servers.net.
41 SECTION ADDITIONAL
42 a.gtld-servers.net. IN A 192.5.6.30
43 ENTRY_END
44
45 ENTRY_BEGIN
46 MATCH opcode subdomain
47 ADJUST copy_id copy_query
48 REPLY QR NOERROR
49 SECTION QUESTION
50 net. IN A
51 SECTION AUTHORITY
52 net. IN NS a.gtld-servers.net.
53 SECTION ADDITIONAL
54 a.gtld-servers.net. IN A 192.5.6.30
55 ENTRY_END
56 RANGE_END
57
58 ; a.gtld-servers.net.
59 RANGE_BEGIN 0 100
60 ADDRESS 192.5.6.30
61 ENTRY_BEGIN
62 MATCH opcode qtype qname
63 ADJUST copy_id
64 REPLY QR NOERROR
65 SECTION QUESTION
66 com. IN NS
67 SECTION ANSWER
68 com. IN NS a.gtld-servers.net.
69 SECTION ADDITIONAL
70 a.gtld-servers.net. IN A 192.5.6.30
71 ENTRY_END
72
73 ENTRY_BEGIN
74 MATCH opcode qtype qname
75 ADJUST copy_id
76 REPLY QR NOERROR
77 SECTION QUESTION
78 net. IN NS
79 SECTION ANSWER
80 net. IN NS a.gtld-servers.net.
81 SECTION ADDITIONAL
82 a.gtld-servers.net. IN A 192.5.6.30
83 ENTRY_END
84
85 ENTRY_BEGIN
86 MATCH opcode subdomain
87 ADJUST copy_id copy_query
88 REPLY QR NOERROR
89 SECTION QUESTION
90 example.com. IN A
91 SECTION AUTHORITY
92 example.com. IN NS ns.example.com.
93 SECTION ADDITIONAL
94 ns.example.com. IN A 1.2.3.4
95 ENTRY_END
96
97 ENTRY_BEGIN
98 MATCH opcode subdomain
99 ADJUST copy_id copy_query
100 REPLY QR NOERROR
101 SECTION QUESTION
102 example.net. IN A
103 SECTION AUTHORITY
104 example.net. IN NS ns.example.net.
105 SECTION ADDITIONAL
106 ns.example.net. IN A 1.2.3.5
107 ENTRY_END
108 RANGE_END
109
110 ; ns.example.com.
111 RANGE_BEGIN 0 100
112 ADDRESS 1.2.3.4
113 ENTRY_BEGIN
114 MATCH opcode qtype qname
115 ADJUST copy_id
116 REPLY QR NOERROR
117 SECTION QUESTION
118 example.com. IN NS
119 SECTION ANSWER
120 example.com. IN NS ns.example.com.
121 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
122 SECTION ADDITIONAL
123 ns.example.com. IN A 1.2.3.4
124 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
125 ENTRY_END
126
127 ; response to DNSKEY priming query
128 ENTRY_BEGIN
129 MATCH opcode qtype qname
130 ADJUST copy_id
131 REPLY QR NOERROR
132 SECTION QUESTION
133 example.com. IN DNSKEY
134 SECTION ANSWER
135 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}
136 example.com. 3600 IN RRSIG DNSKEY 3 2 3600 20070926134802 20070829134802 2854 example.com. MCwCFG1yhRNtTEa3Eno2zhVVuy2EJX3wAhQeLyUp6+UXcpC5qGNu9tkrTEgPUg== ;{id = 2854}
137 SECTION AUTHORITY
138 example.com. IN NS ns.example.com.
139 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
140 SECTION ADDITIONAL
141 ns.example.com. IN A 1.2.3.4
142 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
143 ENTRY_END
144
145 ; failed DLV query
146 ENTRY_BEGIN
147 MATCH opcode qtype qname
148 ADJUST copy_id
149 REPLY QR AA NXDOMAIN
150 SECTION QUESTION
151 sub.example.net.example.com. IN DLV
152 SECTION ANSWER
153 SECTION AUTHORITY
154 example.com. IN SOA open.nlnetlabs.nl. hostmaster.nlnetlabs.nl. 2008081300 28800 7200 604800 3600
155 example.com. 3600 IN RRSIG SOA 3 2 3600 20070926134150 20070829134150 2854 example.com. AKPJnPBqfJKxE4P2iVYkSRJno9HmiXJZtjdqE8oBeq9Lk9FytcMdcig= ;{id = 2854}
156 example.net.example.com IN NSEC not.example.com. RRSIG NSEC DLV
157 example.net.example.com. 3600 IN RRSIG NSEC 3 4 3600 20070926134150 20070829134150 2854 example.com. AKz/e6KOw8gCx6wnpIatBwKb0WOPBTWmNNMg91XR/wlJQ9Z2+qICPmA= ;{id = 2854}
158 example.com IN NSEC example.net.example.com. SOA NS RRSIG NSEC
159 example.com. 3600 IN RRSIG NSEC 3 2 3600 20070926134150 20070829134150 2854 example.com. AIoUkJ04/7/kJFDLocoqksqt9UL2RHHwlRfXAMxGdBHcNO+GSpG47Uk= ;{id = 2854}
160 SECTION ADDITIONAL
161 ENTRY_END
162
163 ; DLV query
164 ENTRY_BEGIN
165 MATCH opcode qtype qname
166 ADJUST copy_id
167 REPLY QR NOERROR
168 SECTION QUESTION
169 example.net.example.com. IN DLV
170 SECTION ANSWER
171 example.net.example.com. 3600 IN DLV 30899 5 1 14188c885f20623ad1d3bec42798f3f951793e4c ; xehac-mofum-malyd-bomaf-pegit-fuzes-ganin-misiz-nigel-nozog-soxix
172 example.net.example.com. 3600 IN RRSIG DLV 3 4 3600 20070926134150 20070829134150 2854 example.com. ACK48Q/oKwh/SM9yRiKjZYuc+AtEZ2yCPNJ15kKCN8nsVcv7xigmNTY= ;{id = 2854}
173 SECTION AUTHORITY
174 example.com. IN NS ns.example.com.
175 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
176 SECTION ADDITIONAL
177 ns.example.com. IN A 1.2.3.4
178 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
179 ENTRY_END
180
181 ENTRY_BEGIN
182 MATCH opcode qtype qname
183 ADJUST copy_id
184 REPLY QR NOERROR
185 SECTION QUESTION
186 net.example.com. IN DLV
187 SECTION ANSWER
188 SECTION AUTHORITY
189 example.com. IN SOA open.nlnetlabs.nl. hostmaster.nlnetlabs.nl. 2008081300 28800 7200 604800 3600
190 example.com. 3600 IN RRSIG SOA 3 2 3600 20070926134150 20070829134150 2854 example.com. AKPJnPBqfJKxE4P2iVYkSRJno9HmiXJZtjdqE8oBeq9Lk9FytcMdcig= ;{id = 2854}
191 example.com IN NSEC example.net.example.com. SOA NS RRSIG NSEC
192 example.com. 3600 IN RRSIG NSEC 3 2 3600 20070926134150 20070829134150 2854 example.com. AIoUkJ04/7/kJFDLocoqksqt9UL2RHHwlRfXAMxGdBHcNO+GSpG47Uk= ;{id = 2854}
193 ENTRY_END
194
195 ENTRY_BEGIN
196 MATCH opcode qtype qname
197 ADJUST copy_id
198 REPLY QR NXDOMAIN
199 SECTION QUESTION
200 com.example.com. IN DLV
201 SECTION ANSWER
202 SECTION AUTHORITY
203 example.com. IN SOA open.nlnetlabs.nl. hostmaster.nlnetlabs.nl. 2008081300 28800 7200 604800 3600
204 example.com. 3600 IN RRSIG SOA 3 2 3600 20070926134150 20070829134150 2854 example.com. AKPJnPBqfJKxE4P2iVYkSRJno9HmiXJZtjdqE8oBeq9Lk9FytcMdcig= ;{id = 2854}
205 example.com IN NSEC example.net.example.com. SOA NS RRSIG NSEC
206 example.com. 3600 IN RRSIG NSEC 3 2 3600 20070926134150 20070829134150 2854 example.com. AIoUkJ04/7/kJFDLocoqksqt9UL2RHHwlRfXAMxGdBHcNO+GSpG47Uk= ;{id = 2854}
207 ENTRY_END
208
209 RANGE_END
210
211 ; ns.example.net.
212 RANGE_BEGIN 0 100
213 ADDRESS 1.2.3.5
214 ; DS RR is
215 ; example.net. 3600 IN DS 30899 5 1 14188c885f20623ad1d3bec42798f3f951793e4c ; xehac-mofum-malyd-bomaf-pegit-fuzes-ganin-misiz-nigel-nozog-soxix
216 ; DNSKEY prime query
217 ENTRY_BEGIN
218 MATCH opcode qtype qname
219 ADJUST copy_id
220 REPLY QR NOERROR
221 SECTION QUESTION
222 example.net. IN DNSKEY
223 SECTION ANSWER
224 example.net. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
225 example.net. 3600 IN RRSIG DNSKEY RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. hiFzlQ8VoYgCuvIsfVuxC3mfJDqsTh0yc6abs5xMx5uEcIjb0dndFQx7INOM+imlzveEN73Hqp4OLFpFhsWLlw== ;{id = 30899}
226 SECTION AUTHORITY
227 example.net. IN NS ns.example.net.
228 example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
229 SECTION ADDITIONAL
230 ns.example.net. IN A 1.2.3.5
231 ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
232 ENTRY_END
233
234 ; NS query
235 ENTRY_BEGIN
236 MATCH opcode qtype qname
237 ADJUST copy_id
238 REPLY QR NOERROR
239 SECTION QUESTION
240 example.net. IN NS
241 SECTION ANSWER
242 example.net. IN NS ns.example.net.
243 example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
244 SECTION ADDITIONAL
245 ns.example.net. IN A 1.2.3.5
246 ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
247 ENTRY_END
248
249 ; www.sub.example.net query
250 ENTRY_BEGIN
251 MATCH opcode subdomain
252 ADJUST copy_id copy_query
253 REPLY QR NOERROR
254 SECTION QUESTION
255 sub.example.net. IN A
256 SECTION ANSWER
257 SECTION AUTHORITY
258 sub.example.net. IN NS ns.sub.example.net.
259 sub.example.net. 3600 IN DS 30899 5 1 36b39460f94a807cbbbf3b31cc9db955081b2b36 ; xetir-fahok-bovug-pebyl-sovur-zyvaf-cufan-tivih-hadec-rypof-kixox
260 sub.example.net. 3600 IN RRSIG DS 5 3 3600 20070926134150 20070829134150 30899 example.net. nM5HAlRsrLurc5mUNKwCye5X6LSH53pLgSeyni4wb6Jd2J48ZRWwrVvy7IpyvI75+Wlu3aGOjv/kEyVaizChRQ== ;{id = 30899}
261 SECTION ADDITIONAL
262 ns.sub.example.net. IN A 1.2.3.6
263 ENTRY_END
264
265 RANGE_END
266
267 ; ns.sub.example.net.
268 RANGE_BEGIN 0 100
269 ADDRESS 1.2.3.6
270 ; DS
271 ; sub.example.net. 3600 IN DS 30899 5 1 36b39460f94a807cbbbf3b31cc9db955081b2b36 ; xetir-fahok-bovug-pebyl-sovur-zyvaf-cufan-tivih-hadec-rypof-kixox
272 ; DNSKEY prime query
273 ENTRY_BEGIN
274 MATCH opcode qtype qname
275 ADJUST copy_id
276 REPLY QR NOERROR
277 SECTION QUESTION
278 sub.example.net. IN DNSKEY
279 SECTION ANSWER
280 sub.example.net. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
281 sub.example.net. 3600 IN RRSIG DNSKEY 5 3 3600 20070926134150 20070829134150 30899 sub.example.net. PATh0K1jz9QeN02C79noX9gwK+Nr5VznWPQwygm/pYDsOb0z3EsaiOrzyoreegDKgoNn3kN0CywS+usCWM6hrw== ;{id = 30899}
282 SECTION AUTHORITY
283 sub.example.net. IN NS ns.sub.example.net.
284 sub.example.net. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.net. JZUK303aE7R428S5XXLaowpM79YSc2g7wy2rDOH+6Ts2UefZInv6X5cjJU4+qBrS8i9XhdllqG7SEnPKZ0GtAw== ;{id = 30899}
285 SECTION ADDITIONAL
286 ns.sub.example.net. IN A 1.2.3.6
287 ns.sub.example.net. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.net. AluXPa4XdlCysQMVrt0YairoOug4GMvy8rNUeKLCfQ5xVqRMqkTisbzJXBQPgYEVA0DJR74eEpgLrcz5ztb1aA== ;{id = 30899}
288 ENTRY_END
289
290 ; NS query
291 ENTRY_BEGIN
292 MATCH opcode qtype qname
293 ADJUST copy_id
294 REPLY QR NOERROR
295 SECTION QUESTION
296 sub.example.net. IN NS
297 SECTION ANSWER
298 sub.example.net. IN NS ns.sub.example.net.
299 sub.example.net. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.net. JZUK303aE7R428S5XXLaowpM79YSc2g7wy2rDOH+6Ts2UefZInv6X5cjJU4+qBrS8i9XhdllqG7SEnPKZ0GtAw== ;{id = 30899}
300 SECTION ADDITIONAL
301 ns.sub.example.net. IN A 1.2.3.6
302 ns.sub.example.net. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.net. AluXPa4XdlCysQMVrt0YairoOug4GMvy8rNUeKLCfQ5xVqRMqkTisbzJXBQPgYEVA0DJR74eEpgLrcz5ztb1aA== ;{id = 30899}
303 ENTRY_END
304
305 ; www.sub.example.net query
306 ENTRY_BEGIN
307 MATCH opcode qtype qname
308 ADJUST copy_id
309 REPLY QR NOERROR
310 SECTION QUESTION
311 www.sub.example.net. IN A
312 SECTION ANSWER
313 www.sub.example.net. 3600 IN A 10.20.30.40
314 www.sub.example.net. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.net. Q+88AIM3K8q6S0bHeFVT742EepZFxOxgtaL1V68DEkP4NePKzL4zttWQD3uI/5ALw/fIrC7G43Eo+epWn2ZGCA== ;{id = 30899}
315 SECTION AUTHORITY
316 sub.example.net. IN NS ns.sub.example.net.
317 sub.example.net. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.net. JZUK303aE7R428S5XXLaowpM79YSc2g7wy2rDOH+6Ts2UefZInv6X5cjJU4+qBrS8i9XhdllqG7SEnPKZ0GtAw== ;{id = 30899}
318 SECTION ADDITIONAL
319 ns.sub.example.net. IN A 1.2.3.6
320 ns.sub.example.net. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.net. AluXPa4XdlCysQMVrt0YairoOug4GMvy8rNUeKLCfQ5xVqRMqkTisbzJXBQPgYEVA0DJR74eEpgLrcz5ztb1aA== ;{id = 30899}
321 ENTRY_END
322
323 RANGE_END
324
325 STEP 1 QUERY
326 ENTRY_BEGIN
327 REPLY RD DO
328 SECTION QUESTION
329 www.sub.example.net. IN A
330 ENTRY_END
331
332 ; recursion happens here.
333 STEP 10 CHECK_ANSWER
334 ENTRY_BEGIN
335 MATCH all
336 REPLY QR RD RA AD DO NOERROR
337 SECTION QUESTION
338 www.sub.example.net. IN A
339 SECTION ANSWER
340 www.sub.example.net. 3600 IN A 10.20.30.40
341 www.sub.example.net. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.net. Q+88AIM3K8q6S0bHeFVT742EepZFxOxgtaL1V68DEkP4NePKzL4zttWQD3uI/5ALw/fIrC7G43Eo+epWn2ZGCA== ;{id = 30899}
342 SECTION AUTHORITY
343 sub.example.net. IN NS ns.sub.example.net.
344 sub.example.net. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.net. JZUK303aE7R428S5XXLaowpM79YSc2g7wy2rDOH+6Ts2UefZInv6X5cjJU4+qBrS8i9XhdllqG7SEnPKZ0GtAw== ;{id = 30899}
345 SECTION ADDITIONAL
346 ns.sub.example.net. IN A 1.2.3.6
347 ns.sub.example.net. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.net. AluXPa4XdlCysQMVrt0YairoOug4GMvy8rNUeKLCfQ5xVqRMqkTisbzJXBQPgYEVA0DJR74eEpgLrcz5ztb1aA== ;{id = 30899}
348 ENTRY_END
349
350 SCENARIO_END