]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/iter_dnsseclame_ta_ok.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / iter_dnsseclame_ta_ok.rpl
1 ; config options
2 server:
3 trust-anchor: "example.com. 3600 IN DS 2854 3 1 46e4ffc6e9a4793b488954bd3f0cc6af0dfb201b"
4 val-override-date: "20070916134226"
5 target-fetch-policy: "0 0 0 0 0"
6
7 stub-zone:
8 name: "."
9 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
10
11 CONFIG_END
12
13 SCENARIO_BEGIN Test dnssec-lame detection with anchor point that is ok.
14
15 ; K.ROOT-SERVERS.NET.
16 RANGE_BEGIN 0 100
17 ADDRESS 193.0.14.129
18 ENTRY_BEGIN
19 MATCH opcode qtype qname
20 ADJUST copy_id
21 REPLY QR NOERROR
22 SECTION QUESTION
23 . IN NS
24 SECTION ANSWER
25 . IN NS K.ROOT-SERVERS.NET.
26 SECTION ADDITIONAL
27 K.ROOT-SERVERS.NET. IN A 193.0.14.129
28 ENTRY_END
29
30 ENTRY_BEGIN
31 MATCH opcode qtype qname
32 ADJUST copy_id
33 REPLY QR NOERROR
34 SECTION QUESTION
35 www.example.com. IN A
36 SECTION AUTHORITY
37 com. IN NS a.gtld-servers.net.
38 SECTION ADDITIONAL
39 a.gtld-servers.net. IN A 192.5.6.30
40 ENTRY_END
41
42 ENTRY_BEGIN
43 MATCH opcode qtype qname
44 ADJUST copy_id
45 REPLY QR NOERROR
46 SECTION QUESTION
47 ns.example.net. IN A
48 SECTION AUTHORITY
49 net. IN NS e.gtld-servers.net.
50 SECTION ADDITIONAL
51 e.gtld-servers.net. IN A 192.12.94.30
52 ENTRY_END
53
54 ENTRY_BEGIN
55 MATCH opcode qtype qname
56 ADJUST copy_id
57 REPLY QR NOERROR
58 SECTION QUESTION
59 ns.example.net. IN AAAA
60 SECTION AUTHORITY
61 net. IN NS e.gtld-servers.net.
62 SECTION ADDITIONAL
63 e.gtld-servers.net. IN A 192.12.94.30
64 ENTRY_END
65 RANGE_END
66
67 ; a.gtld-servers.net.
68 RANGE_BEGIN 0 100
69 ADDRESS 192.5.6.30
70 ENTRY_BEGIN
71 MATCH opcode qtype qname
72 ADJUST copy_id
73 REPLY QR NOERROR
74 SECTION QUESTION
75 com. IN NS
76 SECTION ANSWER
77 com. IN NS a.gtld-servers.net.
78 SECTION ADDITIONAL
79 a.gtld-servers.net. IN A 192.5.6.30
80 ENTRY_END
81
82 ENTRY_BEGIN
83 MATCH opcode qtype qname
84 ADJUST copy_id
85 REPLY QR NOERROR
86 SECTION QUESTION
87 www.example.com. IN A
88 SECTION AUTHORITY
89 example.com. IN NS ns.example.com.
90 example.com. IN NS ns.example.net.
91 SECTION ADDITIONAL
92 ns.example.com. IN A 1.2.3.55
93 ENTRY_END
94 RANGE_END
95
96 ; e.gtld-servers.net.
97 RANGE_BEGIN 0 100
98 ADDRESS 192.12.94.30
99 ENTRY_BEGIN
100 MATCH opcode qtype qname
101 ADJUST copy_id
102 REPLY QR NOERROR
103 SECTION QUESTION
104 net. IN NS
105 SECTION ANSWER
106 net. IN NS e.gtld-servers.net.
107 SECTION ADDITIONAL
108 e.gtld-servers.net. IN A 192.12.94.30
109 ENTRY_END
110
111 ENTRY_BEGIN
112 MATCH opcode qtype qname
113 ADJUST copy_id
114 REPLY QR NOERROR
115 SECTION QUESTION
116 ns.example.net. IN A
117 SECTION AUTHORITY
118 example.net. IN NS ns.example.net.
119 SECTION ADDITIONAL
120 ns.example.net. IN A 1.2.3.44
121 ENTRY_END
122
123 ENTRY_BEGIN
124 MATCH opcode qtype qname
125 ADJUST copy_id
126 REPLY QR NOERROR
127 SECTION QUESTION
128 ns.example.net. IN AAAA
129 SECTION AUTHORITY
130 example.net. IN NS ns.example.net.
131 SECTION ADDITIONAL
132 ns.example.net. IN A 1.2.3.44
133 ENTRY_END
134 RANGE_END
135
136 ; ns.example.net.
137 RANGE_BEGIN 0 100
138 ADDRESS 1.2.3.44
139 ENTRY_BEGIN
140 MATCH opcode qtype qname
141 ADJUST copy_id
142 REPLY QR NOERROR
143 SECTION QUESTION
144 example.net. IN NS
145 SECTION ANSWER
146 example.net. IN NS ns.example.net.
147 SECTION ADDITIONAL
148 ns.example.net. IN A 1.2.3.44
149 ENTRY_END
150
151 ENTRY_BEGIN
152 MATCH opcode qtype qname
153 ADJUST copy_id
154 REPLY QR AA NOERROR
155 SECTION QUESTION
156 ns.example.net. IN A
157 SECTION ANSWER
158 ns.example.net. IN A 1.2.3.44
159 SECTION AUTHORITY
160 example.net. IN NS ns.example.net.
161 ENTRY_END
162
163 ENTRY_BEGIN
164 MATCH opcode qtype qname
165 ADJUST copy_id
166 REPLY QR AA NOERROR
167 SECTION QUESTION
168 ns.example.net. IN AAAA
169 SECTION AUTHORITY
170 example.net. IN NS ns.example.net.
171 SECTION ADDITIONAL
172 ns.example.net. IN A 1.2.3.44
173 ENTRY_END
174
175 ENTRY_BEGIN
176 MATCH opcode qtype qname
177 ADJUST copy_id
178 REPLY QR NOERROR
179 SECTION QUESTION
180 example.com. IN NS
181 SECTION ANSWER
182 example.com. IN NS ns.example.com.
183 example.com. IN NS ns.example.net.
184 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134802 20070829134802 2854 example.com. AJwwYIUGH7HgjehzPVkrVUFmFkSGGksGjUX+/zqpCOG9a/cgGC+n40I= ;{id = 2854}
185 SECTION ADDITIONAL
186 ns.example.com. IN A 1.2.3.55
187 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926134802 20070829134802 2854 example.com. ABUu7ITHLl6vfuWzedIp03igXknUR1gYPBl8X6uIDrvraN1bjQJPXME= ;{id = 2854}
188 ENTRY_END
189
190 ; response to DNSKEY priming query
191 ENTRY_BEGIN
192 MATCH opcode qtype qname
193 ADJUST copy_id
194 REPLY QR AA NOERROR
195 SECTION QUESTION
196 example.com. IN DNSKEY
197 SECTION ANSWER
198 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}
199 example.com. 3600 IN RRSIG DNSKEY 3 2 3600 20070926134802 20070829134802 2854 example.com. MCwCFG1yhRNtTEa3Eno2zhVVuy2EJX3wAhQeLyUp6+UXcpC5qGNu9tkrTEgPUg== ;{id = 2854}
200 ENTRY_END
201
202 ENTRY_BEGIN
203 MATCH opcode qtype qname
204 ADJUST copy_id
205 REPLY QR AA NOERROR
206 SECTION QUESTION
207 www.example.com. IN A
208 SECTION ANSWER
209 www.example.com. IN A 10.20.30.40
210 www.example.com. 3600 IN RRSIG A 3 3 3600 20070926134150 20070829134150 2854 example.com. MC0CFC99iE9K5y2WNgI0gFvBWaTi9wm6AhUAoUqOpDtG5Zct+Qr9F3mSdnbc6V4= ;{id = 2854}
211 ENTRY_END
212
213 ENTRY_BEGIN
214 MATCH opcode qtype qname
215 ADJUST copy_id
216 REPLY QR AA NOERROR
217 SECTION QUESTION
218 ns.example.com. IN AAAA
219 SECTION ANSWER
220 ENTRY_END
221 RANGE_END
222
223 ; ns.example.com.
224 RANGE_BEGIN 0 100
225 ADDRESS 1.2.3.55
226 ENTRY_BEGIN
227 MATCH opcode qtype qname
228 ADJUST copy_id
229 REPLY QR AA NOERROR
230 SECTION QUESTION
231 ns.example.com. IN A
232 SECTION ANSWER
233 ns.example.com. IN A 1.2.3.55
234 ENTRY_END
235
236 ENTRY_BEGIN
237 MATCH opcode qtype qname
238 ADJUST copy_id
239 REPLY QR AA NOERROR
240 SECTION QUESTION
241 ns.example.com. IN AAAA
242 ENTRY_END
243
244 ; the response is not lame at all.
245 ENTRY_BEGIN
246 MATCH opcode qtype qname
247 ADJUST copy_id
248 REPLY QR AA NOERROR
249 SECTION QUESTION
250 example.com. IN DNSKEY
251 SECTION ANSWER
252 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}
253 example.com. 3600 IN RRSIG DNSKEY 3 2 3600 20070926134802 20070829134802 2854 example.com. MCwCFG1yhRNtTEa3Eno2zhVVuy2EJX3wAhQeLyUp6+UXcpC5qGNu9tkrTEgPUg== ;{id = 2854}
254 ENTRY_END
255
256 ENTRY_BEGIN
257 MATCH opcode qtype qname
258 ADJUST copy_id
259 REPLY QR NOERROR
260 SECTION QUESTION
261 example.com. IN NS
262 SECTION ANSWER
263 example.com. IN NS ns.example.com.
264 example.com. IN NS ns.example.net.
265 example.com. 3600 IN RRSIG NS 3 2 3600 20070926134802 20070829134802 2854 example.com. AJwwYIUGH7HgjehzPVkrVUFmFkSGGksGjUX+/zqpCOG9a/cgGC+n40I= ;{id = 2854}
266 SECTION ADDITIONAL
267 ns.example.com. IN A 1.2.3.55
268 ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926134802 20070829134802 2854 example.com. ABUu7ITHLl6vfuWzedIp03igXknUR1gYPBl8X6uIDrvraN1bjQJPXME= ;{id = 2854}
269 ENTRY_END
270
271 ; response is not lame.
272 ENTRY_BEGIN
273 MATCH opcode qtype qname
274 ADJUST copy_id
275 REPLY QR AA NOERROR
276 SECTION QUESTION
277 www.example.com. IN A
278 SECTION ANSWER
279 www.example.com. IN A 10.20.30.40
280 www.example.com. 3600 IN RRSIG A 3 3 3600 20070926134150 20070829134150 2854 example.com. MC0CFC99iE9K5y2WNgI0gFvBWaTi9wm6AhUAoUqOpDtG5Zct+Qr9F3mSdnbc6V4= ;{id = 2854}
281 ENTRY_END
282 RANGE_END
283
284 STEP 1 QUERY
285 ENTRY_BEGIN
286 REPLY RD DO
287 SECTION QUESTION
288 www.example.com. IN A
289 ENTRY_END
290
291 ; recursion happens here.
292 STEP 20 CHECK_ANSWER
293 ENTRY_BEGIN
294 MATCH all
295 REPLY QR RD RA AD DO NOERROR
296 SECTION QUESTION
297 www.example.com. IN A
298 SECTION ANSWER
299 www.example.com. IN A 10.20.30.40
300 www.example.com. 3600 IN RRSIG A 3 3 3600 20070926134150 20070829134150 2854 example.com. MC0CFC99iE9K5y2WNgI0gFvBWaTi9wm6AhUAoUqOpDtG5Zct+Qr9F3mSdnbc6V4= ;{id = 2854}
301 ENTRY_END
302
303 SCENARIO_END