]>
Commit | Line | Data |
---|---|---|
89c4ed63 A |
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 | prefetch-key: yes | |
8 | ||
9 | stub-zone: | |
10 | name: "." | |
11 | stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET. | |
12 | CONFIG_END | |
13 | ||
14 | SCENARIO_BEGIN Test validator with key prefetch | |
15 | ||
16 | ; K.ROOT-SERVERS.NET. | |
17 | RANGE_BEGIN 0 100 | |
18 | ADDRESS 193.0.14.129 | |
19 | ENTRY_BEGIN | |
20 | MATCH opcode qtype qname | |
21 | ADJUST copy_id | |
22 | REPLY QR NOERROR | |
23 | SECTION QUESTION | |
24 | . IN NS | |
25 | SECTION ANSWER | |
26 | . IN NS K.ROOT-SERVERS.NET. | |
27 | SECTION ADDITIONAL | |
28 | K.ROOT-SERVERS.NET. IN A 193.0.14.129 | |
29 | ENTRY_END | |
30 | ||
31 | ENTRY_BEGIN | |
32 | MATCH opcode qtype qname | |
33 | ADJUST copy_id | |
34 | REPLY QR NOERROR | |
35 | SECTION QUESTION | |
36 | www.sub.example.com. IN A | |
37 | SECTION AUTHORITY | |
38 | com. IN NS a.gtld-servers.net. | |
39 | SECTION ADDITIONAL | |
40 | a.gtld-servers.net. IN A 192.5.6.30 | |
41 | ENTRY_END | |
42 | RANGE_END | |
43 | ||
44 | ; a.gtld-servers.net. | |
45 | RANGE_BEGIN 0 100 | |
46 | ADDRESS 192.5.6.30 | |
47 | ENTRY_BEGIN | |
48 | MATCH opcode qtype qname | |
49 | ADJUST copy_id | |
50 | REPLY QR NOERROR | |
51 | SECTION QUESTION | |
52 | com. IN NS | |
53 | SECTION ANSWER | |
54 | com. IN NS a.gtld-servers.net. | |
55 | SECTION ADDITIONAL | |
56 | a.gtld-servers.net. IN A 192.5.6.30 | |
57 | ENTRY_END | |
58 | ||
59 | ENTRY_BEGIN | |
60 | MATCH opcode qtype qname | |
61 | ADJUST copy_id | |
62 | REPLY QR NOERROR | |
63 | SECTION QUESTION | |
64 | www.sub.example.com. IN A | |
65 | SECTION AUTHORITY | |
66 | example.com. IN NS ns.example.com. | |
67 | SECTION ADDITIONAL | |
68 | ns.example.com. IN A 1.2.3.4 | |
69 | ENTRY_END | |
70 | RANGE_END | |
71 | ||
72 | ; ns.example.com. | |
73 | RANGE_BEGIN 0 100 | |
74 | ADDRESS 1.2.3.4 | |
75 | ENTRY_BEGIN | |
76 | MATCH opcode qtype qname | |
77 | ADJUST copy_id | |
78 | REPLY QR NOERROR | |
79 | SECTION QUESTION | |
80 | example.com. IN NS | |
81 | SECTION ANSWER | |
82 | example.com. IN NS ns.example.com. | |
83 | example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854} | |
84 | SECTION ADDITIONAL | |
85 | ns.example.com. IN A 1.2.3.4 | |
86 | ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854} | |
87 | ENTRY_END | |
88 | ||
89 | ; response to DNSKEY priming query | |
90 | ENTRY_BEGIN | |
91 | MATCH opcode qtype qname | |
92 | ADJUST copy_id | |
93 | REPLY QR NOERROR | |
94 | SECTION QUESTION | |
95 | example.com. IN DNSKEY | |
96 | SECTION ANSWER | |
97 | 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} | |
98 | example.com. 3600 IN RRSIG DNSKEY DSA 2 3600 20070926134150 20070829134150 2854 example.com. MCwCFBQRtlR4BEv9ohi+PGFjp+AHsJuHAhRCvz0shggvnvI88DFnBDCczHUcVA== ;{id = 2854} | |
99 | SECTION AUTHORITY | |
100 | example.com. IN NS ns.example.com. | |
101 | example.com. 3600 IN RRSIG NS 3 2 3600 20070926134150 20070829134150 2854 example.com. MC0CFQCN+qHdJxoI/2tNKwsb08pra/G7aAIUAWA5sDdJTbrXA1/3OaesGBAO3sI= ;{id = 2854} | |
102 | SECTION ADDITIONAL | |
103 | ns.example.com. IN A 1.2.3.4 | |
104 | ns.example.com. 3600 IN RRSIG A 3 3 3600 20070926135752 20070829135752 2854 example.com. MC0CFQCMSWxVehgOQLoYclB9PIAbNP229AIUeH0vNNGJhjnZiqgIOKvs1EhzqAo= ;{id = 2854} | |
105 | ENTRY_END | |
106 | ||
107 | ; response for delegation to sub.example.com. | |
108 | ENTRY_BEGIN | |
109 | MATCH opcode qtype qname | |
110 | ADJUST copy_id | |
111 | REPLY QR NOERROR | |
112 | SECTION QUESTION | |
113 | www.sub.example.com. IN A | |
114 | SECTION ANSWER | |
115 | SECTION AUTHORITY | |
116 | sub.example.com. IN NS ns.sub.example.com. | |
117 | sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3 | |
118 | sub.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. MCwCFCW3ix0GD4BSvNLWIbROCJt5DAW9AhRt/kg9kBKJ20UBUdumrBUHqnskdA== ;{id = 2854} | |
119 | SECTION ADDITIONAL | |
120 | ns.sub.example.com. IN A 1.2.3.6 | |
121 | ENTRY_END | |
122 | ||
123 | ; response for delegation to sub.example.com. | |
124 | ENTRY_BEGIN | |
125 | MATCH opcode qtype qname | |
126 | ADJUST copy_id | |
127 | REPLY QR NOERROR | |
128 | SECTION QUESTION | |
129 | sub.example.com. IN DNSKEY | |
130 | SECTION ANSWER | |
131 | SECTION AUTHORITY | |
132 | sub.example.com. IN NS ns.sub.example.com. | |
133 | sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3 | |
134 | sub.example.com. 3600 IN RRSIG DS 3 3 3600 20070926134150 20070829134150 2854 example.com. MCwCFCW3ix0GD4BSvNLWIbROCJt5DAW9AhRt/kg9kBKJ20UBUdumrBUHqnskdA== ;{id = 2854} | |
135 | SECTION ADDITIONAL | |
136 | ns.sub.example.com. IN A 1.2.3.6 | |
137 | ENTRY_END | |
138 | RANGE_END | |
139 | ||
140 | ; ns.sub.example.com. | |
141 | RANGE_BEGIN 0 100 | |
142 | ADDRESS 1.2.3.6 | |
143 | ENTRY_BEGIN | |
144 | MATCH opcode qtype qname | |
145 | ADJUST copy_id | |
146 | REPLY QR NOERROR | |
147 | SECTION QUESTION | |
148 | sub.example.com. IN NS | |
149 | SECTION ANSWER | |
150 | sub.example.com. IN NS ns.sub.example.com. | |
151 | sub.example.com. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. wcpHeBILHfo8C9uxMhcW03gcURZeUffiKdSTb50ZjzTHgMNhRyMfpcvSpXEd9548A9UTmWKeLZChfr5Z/glONw== ;{id = 30899} | |
152 | SECTION ADDITIONAL | |
153 | ns.sub.example.com. IN A 1.2.3.6 | |
154 | ns.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. UF7shD/gt1FOp2UHgLTNbPzVykklSXFMEtJ1xD+Hholwf/PIzd7zoaIttIYibNa4fUXCqMg22H9P7MRhfmFe6g== ;{id = 30899} | |
155 | ENTRY_END | |
156 | ||
157 | ; response to DNSKEY priming query | |
158 | ; sub.example.com. 3600 IN DS 30899 RSASHA1 1 f7ed618f24d5e5202927e1d27bc2e84a141cb4b3 | |
159 | ENTRY_BEGIN | |
160 | MATCH opcode qtype qname | |
161 | ADJUST copy_id | |
162 | REPLY QR NOERROR | |
163 | SECTION QUESTION | |
164 | sub.example.com. IN DNSKEY | |
165 | SECTION ANSWER | |
166 | sub.example.com. 3600 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} | |
167 | sub.example.com. 3600 IN RRSIG DNSKEY 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. uNGp99iznjD7oOX02XnQbDnbg75UwBHRvZSKYUorTKvPUnCWMHKdRsQ+mf+Fx3GZ+Fz9BVjoCmQqpnfgXLEYqw== ;{id = 30899} | |
168 | SECTION AUTHORITY | |
169 | sub.example.com. IN NS ns.sub.example.com. | |
170 | sub.example.com. 3600 IN RRSIG NS 5 3 3600 20070926134150 20070829134150 30899 sub.example.com. wcpHeBILHfo8C9uxMhcW03gcURZeUffiKdSTb50ZjzTHgMNhRyMfpcvSpXEd9548A9UTmWKeLZChfr5Z/glONw== ;{id = 30899} | |
171 | SECTION ADDITIONAL | |
172 | ns.sub.example.com. IN A 1.2.3.6 | |
173 | ns.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. UF7shD/gt1FOp2UHgLTNbPzVykklSXFMEtJ1xD+Hholwf/PIzd7zoaIttIYibNa4fUXCqMg22H9P7MRhfmFe6g== ;{id = 30899} | |
174 | ENTRY_END | |
175 | ||
176 | ; response to query of interest | |
177 | ENTRY_BEGIN | |
178 | MATCH opcode qtype qname | |
179 | ADJUST copy_id | |
180 | REPLY QR NOERROR | |
181 | SECTION QUESTION | |
182 | www.sub.example.com. IN A | |
183 | SECTION ANSWER | |
184 | www.sub.example.com. IN A 11.11.11.11 | |
185 | www.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899} | |
186 | SECTION AUTHORITY | |
187 | SECTION ADDITIONAL | |
188 | ENTRY_END | |
189 | RANGE_END | |
190 | ||
191 | STEP 1 QUERY | |
192 | ENTRY_BEGIN | |
193 | REPLY RD DO | |
194 | SECTION QUESTION | |
195 | www.sub.example.com. IN A | |
196 | ENTRY_END | |
197 | ||
198 | ; recursion happens here. | |
199 | STEP 10 CHECK_ANSWER | |
200 | ENTRY_BEGIN | |
201 | MATCH all | |
202 | REPLY QR RD RA AD DO NOERROR | |
203 | SECTION QUESTION | |
204 | www.sub.example.com. IN A | |
205 | SECTION ANSWER | |
206 | www.sub.example.com. 3600 IN A 11.11.11.11 | |
207 | www.sub.example.com. 3600 IN RRSIG A 5 4 3600 20070926134150 20070829134150 30899 sub.example.com. 0DqqRfRtm7VSEQ4mmBbzrKRqQAay3JAE8DPDGmjtokrrjN9F1G/HxozDV7bjdIh2EChlQea8FPwf/GepJMUVxg== ;{id = 30899} | |
208 | SECTION AUTHORITY | |
209 | SECTION ADDITIONAL | |
210 | ENTRY_END | |
211 | ||
212 | SCENARIO_END |