]>
Commit | Line | Data |
---|---|---|
89c4ed63 A |
1 | ; config options |
2 | server: | |
3 | target-fetch-policy: "0 0 0 0 0" | |
4 | log-time-ascii: yes | |
5 | stub-zone: | |
6 | name: "." | |
7 | stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET. | |
8 | ; initial content (say from dig example.com DNSKEY > example.com.key) | |
9 | AUTOTRUST_FILE example.com | |
10 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} | |
11 | example.com. 10800 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} | |
12 | AUTOTRUST_END | |
13 | CONFIG_END | |
14 | ||
15 | SCENARIO_BEGIN Test autotrust with prepublish rollover | |
16 | ||
17 | ; K-ROOT | |
18 | RANGE_BEGIN 0 100 | |
19 | ADDRESS 193.0.14.129 | |
20 | ENTRY_BEGIN | |
21 | MATCH opcode qname qtype | |
22 | ADJUST copy_id copy_query | |
23 | REPLY QR AA | |
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 | |
36 | SECTION QUESTION | |
37 | com. IN NS | |
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 subdomain | |
50 | ADJUST copy_id copy_query | |
51 | REPLY QR | |
52 | SECTION QUESTION | |
53 | example.com. IN NS | |
54 | SECTION AUTHORITY | |
55 | example.com. IN NS ns.example.com. | |
56 | SECTION ADDITIONAL | |
57 | ns.example.com. IN A 1.2.3.4 | |
58 | ENTRY_END | |
59 | RANGE_END | |
60 | ||
61 | ; ns.example.com. KSK 55582 | |
62 | RANGE_BEGIN 0 10 | |
63 | ADDRESS 1.2.3.4 | |
64 | ENTRY_BEGIN | |
65 | MATCH opcode qname qtype | |
66 | ADJUST copy_id | |
67 | REPLY QR AA | |
68 | SECTION QUESTION | |
69 | www.example.com. IN A | |
70 | SECTION ANSWER | |
71 | www.example.com. 3600 IN A 10.20.30.40 | |
72 | www.example.com. 3600 IN RRSIG A 5 3 3600 20090924111500 20090821111500 30899 example.com. pYGxVLsWUvOp1wSf0iwPap+JnECfC5GAm1lRqy3YEqecNGld7U7x/5Imo3CerbdZrVptUQs2oH0lcjwYJXMnsw== ;{id = 30899} | |
73 | SECTION AUTHORITY | |
74 | example.com. 3600 IN NS ns.example.com. | |
75 | example.com. 3600 IN RRSIG NS 5 2 3600 20090924111500 20090821111500 30899 example.com. J5wxRq0jgwQL6yy530kvo9cHqNAUHV8IF4dvaYZL0bNraO2Oe6dVXqlJl4+cxNHI2TMsstwFPr2Zz8tv6Az2mQ== ;{id = 30899} | |
76 | SECTION ADDITIONAL | |
77 | ns.example.com. 3600 IN A 1.2.3.4 | |
78 | ns.example.com. 3600 IN RRSIG A 5 3 3600 20090924111500 20090821111500 30899 example.com. JsXbS18oyc0zkVaOWGSFdIQuOsZKflT0GraT9afDPoWLCgH4ApF7jNgfJV7Pqy1sTBRajME5IUAhpANwGBuW4A== ;{id = 30899} | |
79 | ENTRY_END | |
80 | ||
81 | ENTRY_BEGIN | |
82 | MATCH opcode qname qtype | |
83 | ADJUST copy_id | |
84 | REPLY QR AA | |
85 | SECTION QUESTION | |
86 | example.com. IN DNSKEY | |
87 | SECTION ANSWER | |
88 | ; KSK 1 | |
89 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} | |
90 | ; ZSK 1 | |
91 | example.com. 10800 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} | |
92 | ; signatures | |
93 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20090924111500 20090821111500 30899 example.com. b/HK231jIQLX8IhlZfup3r0yhpXaasbPE6LzxoEVVvWaTZWcLmeV8jDIcn0qO7Yvs7bIJN20lwVAV0GcHH3hWQ== ;{id = 30899} | |
94 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20090924111500 20090821111500 55582 example.com. PCHme1QLoULxqjhg5tMlpR0qJlBfstEUVq18TtNoKQe9le1YhJ9caheXcTWoK+boLhXxg9u6Yyvq8FboQh0OjA== ;{id = 55582} | |
95 | ENTRY_END | |
96 | RANGE_END | |
97 | ||
98 | ; ns.example.com. KSK 55582 and 60946 | |
99 | RANGE_BEGIN 11 40 | |
100 | ADDRESS 1.2.3.4 | |
101 | ENTRY_BEGIN | |
102 | MATCH opcode qname qtype | |
103 | ADJUST copy_id | |
104 | REPLY QR AA | |
105 | SECTION QUESTION | |
106 | example.com. IN DNSKEY | |
107 | SECTION ANSWER | |
108 | ; KSK 1 | |
109 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} | |
110 | ; KSK 2 | |
111 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} | |
112 | ; ZSK 1 | |
113 | example.com. 10800 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} | |
114 | ; signatures | |
115 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091024111500 20090921111500 30899 example.com. rkaCUpTFPWVu4Om5oMTR+39Mct6ZMs56xrE0rbxMMOokfvIQheIxsAEc5BFJeA/2y5WTewl6diCD6yQXCybrDg== ;{id = 30899} | |
116 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091024111500 20090921111500 55582 example.com. CoMon+lWPAsUvgfpCTDPx8Zn8dQpky3lu2O6T+oJ2Mat9a/u1YwGhSQHGPn7ZNG/4vKM97tx84sSlUGz3geD1w== ;{id = 55582} | |
117 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091024111500 20090921111500 60946 example.com. o+Cbs7DcYPYlSLd4hi3vkSVQpXGnKgKSi9MpHGfu1Uahv5190U2DUOxP1du/HOYbf+IHYL8zLbMZjVEG5wgnTg== ;{id = 60946} | |
118 | ENTRY_END | |
119 | RANGE_END | |
120 | ||
121 | ; ns.example.com. KSK 55582 and 60946 (signatures updated) | |
122 | RANGE_BEGIN 41 50 | |
123 | ADDRESS 1.2.3.4 | |
124 | ENTRY_BEGIN | |
125 | MATCH opcode qname qtype | |
126 | ADJUST copy_id | |
127 | REPLY QR AA | |
128 | SECTION QUESTION | |
129 | example.com. IN DNSKEY | |
130 | SECTION ANSWER | |
131 | ; KSK 1 | |
132 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} | |
133 | ; KSK 2 | |
134 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} | |
135 | ; ZSK 1 | |
136 | example.com. 10800 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} | |
137 | ; signatures | |
138 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091124111500 20091018111500 30899 example.com. rkaCUpTFPWVu4Om5oMTR+39Mct6ZMs56xrE0rbxMMOokfvIQheIxsAEc5BFJeA/2y5WTewl6diCD6yQXCybrDg== ;{id = 30899} | |
139 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091124111500 20091018111500 55582 example.com. v/HJbdpeVMpbhwYXrT1EDGpAFMvEgdKQII1cAbP6o8KHYNKDh8TIJ25/pXe3daEXfej6/Z5kpqJ79okPKUoi1Q== ;{id = 55582} | |
140 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091124111500 20091018111500 60946 example.com. HgXol1hdvbomOM1CFRW8qsHd3D0qOnN72EeMHTcpxIBBiuNLKZn4n1M14Voxj3vo0eAMNuG/y7EjQkxKvSsaDA== ;{id = 60946} | |
141 | ENTRY_END | |
142 | RANGE_END | |
143 | ||
144 | ; ns.example.com. KSK 55582-REVOKED and 60946 | |
145 | RANGE_BEGIN 51 60 | |
146 | ADDRESS 1.2.3.4 | |
147 | ENTRY_BEGIN | |
148 | MATCH opcode qname qtype | |
149 | ADJUST copy_id | |
150 | REPLY QR AA | |
151 | SECTION QUESTION | |
152 | example.com. IN DNSKEY | |
153 | SECTION ANSWER | |
154 | ; KSK 1 | |
155 | example.com. 10800 IN DNSKEY 385 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55710 (ksk), size = 512b} | |
156 | ; KSK 2 | |
157 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} | |
158 | ; ZSK 1 | |
159 | example.com. 10800 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} | |
160 | ; signatures | |
161 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091224111500 20091118111500 30899 example.com. qLKZUJEi3ajSJ4/b7xl0BwhzW6JtjsojpZ+2nUx1PvaeQVoTmyWxjxc2tAmJGcBPqMqzeY470xvyMDvGTOiQCQ== ;{id = 30899} | |
162 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091224111500 20091118111500 55710 example.com. EW2YB+2yNX9LTNDPVwkcGnRTTx38pOiwBaixdwxmDgqWKXLDLM6Kd2Xv9tveS39RnSZ5H1inRXE55q+rL6Re3g== ;{id = 55710} | |
163 | ; wrong keytag: | |
164 | ;example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091224111500 20091118111500 55582 example.com. nH/6HauVJI4GGz78UoK/38cOOrEqsYZP0jFzfCC3OyIlclVTjAFvjVPlVMGK7sA5Nw1v20YtFTQkXZgbrRuInQ== ;{id = 55582} | |
165 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091224111500 20091118111500 60946 example.com. xKSBZr4vOsEUKlVoNb6SOV69DM7xFOJI4gPFKq5Tv4APIMJ/9G3odoDmNcLCVyYGzhoDik5hciJnZio6UHgzAA== ;{id = 60946} | |
166 | ENTRY_END | |
167 | RANGE_END | |
168 | ||
169 | ; ns.example.com. KSK 60946 | |
170 | RANGE_BEGIN 61 70 | |
171 | ADDRESS 1.2.3.4 | |
172 | ENTRY_BEGIN | |
173 | MATCH opcode qname qtype | |
174 | ADJUST copy_id | |
175 | REPLY QR AA | |
176 | SECTION QUESTION | |
177 | example.com. IN DNSKEY | |
178 | SECTION ANSWER | |
179 | ; KSK 2 | |
180 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} | |
181 | ; ZSK 1 | |
182 | example.com. 10800 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b} | |
183 | ; signatures | |
184 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20101224111500 20101118111500 30899 example.com. TfFGz1kDtkn3ixbKMJvQDZ0uGw/eW+inIiPqQVPQtO2WiocKrnYnzwv/AqwnFvEar70dF15/zffNIF+ipOS5/g== ;{id = 30899} | |
185 | example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20101224111500 20101118111500 60946 example.com. X0Ci//w0czN/J5RvypHGqp56n1tLdapi92ODAqjM7QpZXbSHaJ7wfPG1PZzvdxHUZUVyf8uy2stjg/XoLGHMWA== ;{id = 60946} | |
186 | ENTRY_END | |
187 | RANGE_END | |
188 | ||
189 | ; set date/time to Aug 24 07:46:40 (2009). | |
190 | STEP 5 TIME_PASSES ELAPSE 1251100000 | |
191 | STEP 6 TRAFFIC ; the initial probe | |
192 | STEP 7 ASSIGN t0 = ${time} | |
193 | STEP 8 ASSIGN probe0 = ${range 4800 ${timeout} 5400} | |
194 | ||
195 | ; the auto probing should have been done now. | |
196 | STEP 10 CHECK_AUTOTRUST example.com | |
197 | FILE_BEGIN | |
198 | ; autotrust trust anchor file | |
199 | ;;id: example.com. 1 | |
200 | ;;last_queried: ${$t0} ;;${ctime $t0} | |
201 | ;;last_success: ${$t0} ;;${ctime $t0} | |
202 | ;;next_probe_time: ${$t0 + $probe0} ;;${ctime $t0 + $probe0} | |
203 | ;;query_failed: 0 | |
204 | ;;query_interval: 5400 | |
205 | ;;retry_time: 3600 | |
206 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t0} ;;${ctime $t0} | |
207 | FILE_END | |
208 | ||
209 | ; key prepublished. First poll. 30 days later | |
210 | STEP 11 TIME_PASSES EVAL ${30*24*3600} | |
211 | STEP 12 TRAFFIC | |
212 | STEP 13 ASSIGN t1 = ${time} | |
213 | STEP 14 ASSIGN probe1 = ${range 4800 ${timeout} 5400} | |
214 | STEP 15 CHECK_AUTOTRUST example.com | |
215 | FILE_BEGIN | |
216 | ; autotrust trust anchor file | |
217 | ;;id: example.com. 1 | |
218 | ;;last_queried: ${$t1} ;;${ctime $t1} | |
219 | ;;last_success: ${$t1} ;;${ctime $t1} | |
220 | ;;next_probe_time: ${$t1 + $probe1} ;;${ctime $t1 + $probe1} | |
221 | ;;query_failed: 0 | |
222 | ;;query_interval: 5400 | |
223 | ;;retry_time: 3600 | |
224 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} ;;state=1 [ ADDPEND ] ;;count=1 ;;lastchange=${$t1} ;;${ctime $t1} | |
225 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t0} ;;${ctime $t0} | |
226 | FILE_END | |
227 | ||
228 | ; Second poll. 10 days later | |
229 | STEP 21 TIME_PASSES EVAL ${10*24*3600} | |
230 | STEP 22 TRAFFIC | |
231 | STEP 23 ASSIGN t2 = ${time} | |
232 | STEP 24 ASSIGN probe2 = ${range 4800 ${timeout} 5400} | |
233 | STEP 25 CHECK_AUTOTRUST example.com | |
234 | FILE_BEGIN | |
235 | ; autotrust trust anchor file | |
236 | ;;id: example.com. 1 | |
237 | ;;last_queried: ${$t2} ;;${ctime $t2} | |
238 | ;;last_success: ${$t2} ;;${ctime $t2} | |
239 | ;;next_probe_time: ${$t2 + $probe2} ;;${ctime $t2 + $probe2} | |
240 | ;;query_failed: 0 | |
241 | ;;query_interval: 5400 | |
242 | ;;retry_time: 3600 | |
243 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} ;;state=1 [ ADDPEND ] ;;count=2 ;;lastchange=${$t1} ;;${ctime $t1} | |
244 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t0} ;;${ctime $t0} | |
245 | FILE_END | |
246 | ||
247 | ; Third poll. 10 days later | |
248 | STEP 31 TIME_PASSES EVAL ${10*24*3600} | |
249 | STEP 32 TRAFFIC | |
250 | STEP 33 ASSIGN t3 = ${time} | |
251 | STEP 34 ASSIGN probe3 = ${range 4800 ${timeout} 5400} | |
252 | STEP 35 CHECK_AUTOTRUST example.com | |
253 | FILE_BEGIN | |
254 | ; autotrust trust anchor file | |
255 | ;;id: example.com. 1 | |
256 | ;;last_queried: ${$t3} ;;${ctime $t3} | |
257 | ;;last_success: ${$t3} ;;${ctime $t3} | |
258 | ;;next_probe_time: ${$t3 + $probe3} ;;${ctime $t3 + $probe3} | |
259 | ;;query_failed: 0 | |
260 | ;;query_interval: 5400 | |
261 | ;;retry_time: 3600 | |
262 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} ;;state=1 [ ADDPEND ] ;;count=3 ;;lastchange=${$t1} ;;${ctime $t1} | |
263 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t0} ;;${ctime $t0} | |
264 | FILE_END | |
265 | ||
266 | ; 11 days later, hold down has lapsed. | |
267 | STEP 41 TIME_PASSES EVAL ${11*24*3600} | |
268 | STEP 42 TRAFFIC | |
269 | STEP 43 ASSIGN t4 = ${time} | |
270 | STEP 44 ASSIGN probe4 = ${range 4800 ${timeout} 5400} | |
271 | STEP 45 CHECK_AUTOTRUST example.com | |
272 | FILE_BEGIN | |
273 | ; autotrust trust anchor file | |
274 | ;;id: example.com. 1 | |
275 | ;;last_queried: ${$t4} ;;${ctime $t4} | |
276 | ;;last_success: ${$t4} ;;${ctime $t4} | |
277 | ;;next_probe_time: ${$t4 + $probe4} ;;${ctime $t4 + $probe4} | |
278 | ;;query_failed: 0 | |
279 | ;;query_interval: 5400 | |
280 | ;;retry_time: 3600 | |
281 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t4} ;;${ctime $t4} | |
282 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t0} ;;${ctime $t0} | |
283 | FILE_END | |
284 | ||
285 | ; 30 days later, the old key is revoked | |
286 | STEP 51 TIME_PASSES EVAL ${30*24*3600} | |
287 | STEP 52 TRAFFIC | |
288 | STEP 53 ASSIGN t5 = ${time} | |
289 | STEP 54 ASSIGN probe5 = ${range 4800 ${timeout} 5400} | |
290 | STEP 55 CHECK_AUTOTRUST example.com | |
291 | FILE_BEGIN | |
292 | ; autotrust trust anchor file | |
293 | ;;id: example.com. 1 | |
294 | ;;last_queried: ${$t5} ;;${ctime $t5} | |
295 | ;;last_success: ${$t5} ;;${ctime $t5} | |
296 | ;;next_probe_time: ${$t5 + $probe5} ;;${ctime $t5 + $probe5} | |
297 | ;;query_failed: 0 | |
298 | ;;query_interval: 5400 | |
299 | ;;retry_time: 3600 | |
300 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t4} ;;${ctime $t4} | |
301 | example.com. 10800 IN DNSKEY 385 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55710 (ksk), size = 512b} ;;state=4 [ REVOKED ] ;;count=0 ;;lastchange=${$t5} ;;${ctime $t5} | |
302 | FILE_END | |
303 | ||
304 | ; 370 days later, the old key is removed from storage | |
305 | STEP 61 TIME_PASSES EVAL ${370*24*3600} | |
306 | STEP 62 TRAFFIC | |
307 | STEP 63 ASSIGN t6 = ${time} | |
308 | STEP 64 ASSIGN probe6 = ${range 4800 ${timeout} 5400} | |
309 | STEP 65 CHECK_AUTOTRUST example.com | |
310 | FILE_BEGIN | |
311 | ; autotrust trust anchor file | |
312 | ;;id: example.com. 1 | |
313 | ;;last_queried: ${$t6} ;;${ctime $t6} | |
314 | ;;last_success: ${$t6} ;;${ctime $t6} | |
315 | ;;next_probe_time: ${$t6 + $probe6} ;;${ctime $t6 + $probe6} | |
316 | ;;query_failed: 0 | |
317 | ;;query_interval: 5400 | |
318 | ;;retry_time: 3600 | |
319 | example.com. 10800 IN DNSKEY 257 3 5 AwEAAeiaUiUIpWMfYz5L0sfJTZWnuN9IyBX4em9VjsoqQTsOD1HDQpNb4buvJo7pN2aBCxNS7e0OL8e2mVB6CLZ+8ek= ;{id = 60946 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t4} ;;${ctime $t4} | |
320 | FILE_END | |
321 | ||
322 | ||
323 | SCENARIO_END |