]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/dlv_delegation.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / dlv_delegation.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 delegation in DLV repository
14 ; positive response for DLV.
15 ; but the DLV repository has a (secure) delegation inside it.
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
44 ENTRY_BEGIN
45 MATCH opcode subdomain
46 ADJUST copy_id copy_query
47 REPLY QR NOERROR
48 SECTION QUESTION
49 net. IN A
50 SECTION AUTHORITY
51 net. IN NS a.gtld-servers.net.
52 SECTION ADDITIONAL
53 a.gtld-servers.net. IN A 192.5.6.30
54 ENTRY_END
55 RANGE_END
56
57 ; a.gtld-servers.net.
58 RANGE_BEGIN 0 100
59 ADDRESS 192.5.6.30
60 ENTRY_BEGIN
61 MATCH opcode qtype qname
62 ADJUST copy_id
63 REPLY QR NOERROR
64 SECTION QUESTION
65 com. IN NS
66 SECTION ANSWER
67 com. IN NS a.gtld-servers.net.
68 SECTION ADDITIONAL
69 a.gtld-servers.net. IN A 192.5.6.30
70 ENTRY_END
71
72 ENTRY_BEGIN
73 MATCH opcode qtype qname
74 ADJUST copy_id
75 REPLY QR NOERROR
76 SECTION QUESTION
77 net. IN NS
78 SECTION ANSWER
79 net. IN NS a.gtld-servers.net.
80 SECTION ADDITIONAL
81 a.gtld-servers.net. IN A 192.5.6.30
82 ENTRY_END
83
84 ENTRY_BEGIN
85 MATCH opcode subdomain
86 ADJUST copy_id copy_query
87 REPLY QR NOERROR
88 SECTION QUESTION
89 example.com. IN A
90 SECTION AUTHORITY
91 example.com. IN NS ns.example.com.
92 SECTION ADDITIONAL
93 ns.example.com. IN A 1.2.3.4
94 ENTRY_END
95
96 ENTRY_BEGIN
97 MATCH opcode subdomain
98 ADJUST copy_id copy_query
99 REPLY QR NOERROR
100 SECTION QUESTION
101 example.net. IN A
102 SECTION AUTHORITY
103 example.net. IN NS ns.example.net.
104 SECTION ADDITIONAL
105 ns.example.net. IN A 1.2.3.5
106 ENTRY_END
107 RANGE_END
108
109 ; ns.example.com.
110 RANGE_BEGIN 0 100
111 ADDRESS 1.2.3.4
112 ENTRY_BEGIN
113 MATCH opcode qtype qname
114 ADJUST copy_id
115 REPLY QR NOERROR
116 SECTION QUESTION
117 example.com. IN NS
118 SECTION ANSWER
119 example.com. IN NS ns.example.com.
120 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
121 SECTION ADDITIONAL
122 ns.example.com. IN A 1.2.3.4
123 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
124 ENTRY_END
125
126 ; response to DNSKEY priming query
127 ENTRY_BEGIN
128 MATCH opcode qtype qname
129 ADJUST copy_id
130 REPLY QR NOERROR
131 SECTION QUESTION
132 example.com. IN DNSKEY
133 SECTION ANSWER
134 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}
135 example.com. 3600 IN RRSIG DNSKEY 3 2 3600 20070926134802 20070829134802 2854 example.com. MCwCFG1yhRNtTEa3Eno2zhVVuy2EJX3wAhQeLyUp6+UXcpC5qGNu9tkrTEgPUg== ;{id = 2854}
136 SECTION AUTHORITY
137 example.com. IN NS ns.example.com.
138 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854}
139 SECTION ADDITIONAL
140 ns.example.com. IN A 1.2.3.4
141 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854}
142 ENTRY_END
143
144 ; referral to the net.example.com DLV server
145 ENTRY_BEGIN
146 MATCH opcode subdomain
147 ADJUST copy_id copy_query
148 REPLY QR NOERROR
149 SECTION QUESTION
150 net.example.com. IN DLV
151 SECTION ANSWER
152 SECTION AUTHORITY
153 net.example.com. NS ns.net.example.com.
154 net.example.com. 3600 IN DS 2854 3 1 24d80cd822bc4083cf491b7f055890345a77dd9b ; xenat-myfat-memir-sabym-fefig-nakol-zucyh-megef-gakel-lolyn-ruxox
155 net.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. AA0APyTN12wzj1XmDEZe+wrPE1hkLAINKT8cT9zGup7zX3O8R4Ki2N8= ;{id = 2854}
156 SECTION ADDITIONAL
157 ns.net.example.com. A 1.2.3.6
158 ENTRY_END
159
160 ENTRY_BEGIN
161 MATCH opcode qtype qname
162 ADJUST copy_id
163 REPLY QR NXDOMAIN
164 SECTION QUESTION
165 com.example.com. IN DLV
166 SECTION ANSWER
167 SECTION AUTHORITY
168 example.com. IN SOA open.nlnetlabs.nl. hostmaster.nlnetlabs.nl. 2008081300 28800 7200 604800 3600
169 example.com. 3600 IN RRSIG SOA 3 2 3600 20070926134150 20070829134150 2854 example.com. AKPJnPBqfJKxE4P2iVYkSRJno9HmiXJZtjdqE8oBeq9Lk9FytcMdcig= ;{id = 2854}
170 example.com IN NSEC net.example.com. SOA NS RRSIG NSEC
171 example.com. 3600 IN RRSIG NSEC 3 2 3600 20070926134150 20070829134150 2854 example.com. AJEvfI+tX6Y1OF0h1CNHERJjXaaTsmLWTMLgXk4UYJl8JjAikCpsf9Q= ;{id = 2854}
172 ENTRY_END
173
174 RANGE_END
175
176 ; ns.net.example.com.
177 RANGE_BEGIN 0 100
178 ADDRESS 1.2.3.6
179 ; NS query
180 ENTRY_BEGIN
181 MATCH opcode qtype qname
182 ADJUST copy_id
183 REPLY QR NOERROR
184 SECTION QUESTION
185 net.example.com. IN NS
186 SECTION ANSWER
187 net.example.com. NS ns.net.example.com.
188 net.example.com. 3600 IN RRSIG NS 3 3 3600 20070926134150 20070829134150 2854 net.example.com. AHjTvB20SzZVV9P3LXJ6lVzFWCoDk7T71VHllOwmom3a/EutlUpsgNM= ;{id = 2854}
189 SECTION ADDITIONAL
190 ns.net.example.com. A 1.2.3.6
191 ns.net.example.com. 3600 IN RRSIG A 3 4 3600 20070926134150 20070829134150 2854 net.example.com. AE2wjNCJayCBi6e8QAGwgujdMC2LbVWQVbQCuQx+grjoQJXQxxpFB5I= ;{id = 2854}
192 ENTRY_END
193
194 ; DNSKEY query
195 ENTRY_BEGIN
196 MATCH opcode qtype qname
197 ADJUST copy_id
198 REPLY QR NOERROR
199 SECTION QUESTION
200 net.example.com. IN DNSKEY
201 SECTION ANSWER
202 net.example.com. 3600 IN DNSKEY 256 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2854 (zsk), size = 1688b}
203 net.example.com. 3600 IN RRSIG DNSKEY 3 3 3600 20070926134150 20070829134150 2854 net.example.com. ADgKDV1Yi2iFOXFUN1XkvBU7KW/rdtGcOEdc9VMIxfIKDo5h24E5fqs= ;{id = 2854}
204 SECTION AUTHORITY
205 net.example.com. NS ns.net.example.com.
206 net.example.com. 3600 IN RRSIG NS 3 3 3600 20070926134150 20070829134150 2854 net.example.com. AHjTvB20SzZVV9P3LXJ6lVzFWCoDk7T71VHllOwmom3a/EutlUpsgNM= ;{id = 2854}
207 SECTION ADDITIONAL
208 ns.net.example.com. A 1.2.3.6
209 ns.net.example.com. 3600 IN RRSIG A 3 4 3600 20070926134150 20070829134150 2854 net.example.com. AE2wjNCJayCBi6e8QAGwgujdMC2LbVWQVbQCuQx+grjoQJXQxxpFB5I= ;{id = 2854}
210 ENTRY_END
211
212 ; DLV apex
213 ENTRY_BEGIN
214 MATCH opcode qtype qname
215 ADJUST copy_id
216 REPLY QR NOERROR
217 SECTION QUESTION
218 net.example.com. IN DLV
219 SECTION ANSWER
220 SECTION AUTHORITY
221 net.example.com. SOA open.nlnetlabs.nl. hostmaster.nlnetlabs.nl. 2008081300 28800 7200 604800 3600
222 net.example.com. 3600 IN RRSIG SOA 3 3 3600 20070926134150 20070829134150 2854 net.example.com. AKAjedAeGWRHaqhDhNhbTvVUQMgCspiD4GNC7dMVbEZSd87AFcqwg1Y= ;{id = 2854}
223 net.example.com. NSEC example.net.example.com. SOA NS DNSKEY RRSIG NSEC
224 net.example.com. 3600 IN RRSIG NSEC 3 3 3600 20070926134150 20070829134150 2854 net.example.com. AAHqj3xDqng7ZuNFn89sTjTo2qfuXTv0yR6v8mZ1+L5mCsOwjpGXrJw= ;{id = 2854}
225 SECTION ADDITIONAL
226 ENTRY_END
227
228 ; DLV of interest
229 ENTRY_BEGIN
230 MATCH opcode qtype qname
231 ADJUST copy_id
232 REPLY QR NOERROR
233 SECTION QUESTION
234 example.net.example.com. IN DLV
235 SECTION ANSWER
236 example.net.example.com. 3600 IN DLV 30899 5 1 14188c885f20623ad1d3bec42798f3f951793e4c ; xehac-mofum-malyd-bomaf-pegit-fuzes-ganin-misiz-nigel-nozog-soxix
237 example.net.example.com. 3600 IN RRSIG DLV 3 4 3600 20070926134150 20070829134150 2854 net.example.com. AIZmoTbAlXYwLknm84i7sbglbHr1Iq7t0yyTENO/MsPj7K/mvEQAI/g= ;{id = 2854}
238 SECTION AUTHORITY
239 net.example.com. NS ns.net.example.com.
240 net.example.com. 3600 IN RRSIG NS 3 3 3600 20070926134150 20070829134150 2854 net.example.com. AHjTvB20SzZVV9P3LXJ6lVzFWCoDk7T71VHllOwmom3a/EutlUpsgNM= ;{id = 2854}
241 SECTION ADDITIONAL
242 ns.net.example.com. A 1.2.3.6
243 ns.net.example.com. 3600 IN RRSIG A 3 4 3600 20070926134150 20070829134150 2854 net.example.com. AE2wjNCJayCBi6e8QAGwgujdMC2LbVWQVbQCuQx+grjoQJXQxxpFB5I= ;{id = 2854}
244 ENTRY_END
245
246 RANGE_END
247
248 ; ns.example.net.
249 RANGE_BEGIN 0 100
250 ADDRESS 1.2.3.5
251 ; DS RR is
252 ; example.net. 3600 IN DS 30899 5 1 14188c885f20623ad1d3bec42798f3f951793e4c ; xehac-mofum-malyd-bomaf-pegit-fuzes-ganin-misiz-nigel-nozog-soxix
253 ; DNSKEY prime query
254 ENTRY_BEGIN
255 MATCH opcode qtype qname
256 ADJUST copy_id
257 REPLY QR NOERROR
258 SECTION QUESTION
259 example.net. IN DNSKEY
260 SECTION ANSWER
261 example.net. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
262 example.net. 3600 IN RRSIG DNSKEY RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. hiFzlQ8VoYgCuvIsfVuxC3mfJDqsTh0yc6abs5xMx5uEcIjb0dndFQx7INOM+imlzveEN73Hqp4OLFpFhsWLlw== ;{id = 30899}
263 SECTION AUTHORITY
264 example.net. IN NS ns.example.net.
265 example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
266 SECTION ADDITIONAL
267 ns.example.net. IN A 1.2.3.5
268 ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
269 ENTRY_END
270
271 ; NS query
272 ENTRY_BEGIN
273 MATCH opcode qtype qname
274 ADJUST copy_id
275 REPLY QR NOERROR
276 SECTION QUESTION
277 example.net. IN NS
278 SECTION ANSWER
279 example.net. IN NS ns.example.net.
280 example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
281 SECTION ADDITIONAL
282 ns.example.net. IN A 1.2.3.5
283 ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
284 ENTRY_END
285
286 ; www.example.net query
287 ENTRY_BEGIN
288 MATCH opcode qtype qname
289 ADJUST copy_id
290 REPLY QR NOERROR
291 SECTION QUESTION
292 www.example.net. IN A
293 SECTION ANSWER
294 www.example.net. 3600 IN A 10.20.30.40
295 www.example.net. 3600 IN RRSIG A 5 3 3600 20070926135752 20070829135752 30899 example.net. ACvv4RQVC7TbI57ewqFImRaVoymktJ5Cxn/FaCodIENt82LVM92nivbP2WtwWCsQHWp7FkrMxTlQTJwyAeXFyg== ;{id = 30899}
296 SECTION AUTHORITY
297 example.net. IN NS ns.example.net.
298 example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
299 SECTION ADDITIONAL
300 ns.example.net. IN A 1.2.3.5
301 ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
302 ENTRY_END
303
304 RANGE_END
305
306 STEP 1 QUERY
307 ENTRY_BEGIN
308 REPLY RD DO
309 SECTION QUESTION
310 www.example.net. IN A
311 ENTRY_END
312
313 ; recursion happens here.
314 STEP 10 CHECK_ANSWER
315 ENTRY_BEGIN
316 MATCH all
317 REPLY QR RD RA AD DO NOERROR
318 SECTION QUESTION
319 www.example.net. IN A
320 SECTION ANSWER
321 www.example.net. 3600 IN A 10.20.30.40
322 www.example.net. 3600 IN RRSIG A 5 3 3600 20070926135752 20070829135752 30899 example.net. ACvv4RQVC7TbI57ewqFImRaVoymktJ5Cxn/FaCodIENt82LVM92nivbP2WtwWCsQHWp7FkrMxTlQTJwyAeXFyg== ;{id = 30899}
323 SECTION AUTHORITY
324 example.net. IN NS ns.example.net.
325 example.net. 3600 IN RRSIG NS RSASHA1 2 3600 20070926134150 20070829134150 30899 example.net. E8JX0l4B+cSR5bkHQwOJy1pBmlLMTYCJ8EwfNMU/eCv0YhKwo26rHhn52FGisgv+Nwp7/NbhHqQ+kJgoZC94XA== ;{id = 30899}
326 SECTION ADDITIONAL
327 ns.example.net. IN A 1.2.3.5
328 ns.example.net. 3600 IN RRSIG A RSASHA1 3 3600 20070926134150 20070829134150 30899 example.net. x+tQMC9FhzT7Fcy1pM5NrOC7E8nLd7THPI3C6ie4EwL8PrxllqlR3q/DKB0d/m0qCOPcgN6HFOYURV1s4uAcsw== ;{id = 30899}
329 ENTRY_END
330
331 SCENARIO_END