]> git.saurik.com Git - apple/network_cmds.git/blame - unbound/testdata/autotrust_rollalgo.rpl
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / autotrust_rollalgo.rpl
CommitLineData
89c4ed63
A
1; config options
2server:
3 target-fetch-policy: "0 0 0 0 0"
4 log-time-ascii: yes
5stub-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)
9AUTOTRUST_FILE example.com
10example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b}
11example.com. 10800 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
12AUTOTRUST_END
13CONFIG_END
14
15SCENARIO_BEGIN Test autotrust with algorithm rollover
16; from RSASHA1(5) to DSASHA1(3)
17; Note, when both algorithms are present, the zone must be double-signed.
18; with a ZSK for RSASHA1(5) and a ZSK for DSASHA1(3).
19
20; K-ROOT
21RANGE_BEGIN 0 100
22 ADDRESS 193.0.14.129
23ENTRY_BEGIN
24MATCH opcode qname qtype
25ADJUST copy_id copy_query
26REPLY QR AA
27SECTION QUESTION
28. IN NS
29SECTION ANSWER
30. IN NS k.root-servers.net.
31SECTION ADDITIONAL
32k.root-servers.net IN A 193.0.14.129
33ENTRY_END
34
35ENTRY_BEGIN
36MATCH opcode subdomain
37ADJUST copy_id copy_query
38REPLY QR
39SECTION QUESTION
40com. IN NS
41SECTION AUTHORITY
42com. IN NS a.gtld-servers.net.
43SECTION ADDITIONAL
44a.gtld-servers.net. IN A 192.5.6.30
45ENTRY_END
46RANGE_END
47
48; a.gtld-servers.net.
49RANGE_BEGIN 0 100
50 ADDRESS 192.5.6.30
51ENTRY_BEGIN
52MATCH opcode subdomain
53ADJUST copy_id copy_query
54REPLY QR
55SECTION QUESTION
56example.com. IN NS
57SECTION AUTHORITY
58example.com. IN NS ns.example.com.
59SECTION ADDITIONAL
60ns.example.com. IN A 1.2.3.4
61ENTRY_END
62RANGE_END
63
64; ns.example.com. KSK 55582
65RANGE_BEGIN 0 10
66 ADDRESS 1.2.3.4
67ENTRY_BEGIN
68MATCH opcode qname qtype
69ADJUST copy_id
70REPLY QR AA
71SECTION QUESTION
72www.example.com. IN A
73SECTION ANSWER
74www.example.com. 3600 IN A 10.20.30.40
75www.example.com. 3600 IN RRSIG A 5 3 3600 20090924111500 20090821111500 30899 example.com. pYGxVLsWUvOp1wSf0iwPap+JnECfC5GAm1lRqy3YEqecNGld7U7x/5Imo3CerbdZrVptUQs2oH0lcjwYJXMnsw== ;{id = 30899}
76SECTION AUTHORITY
77example.com. 3600 IN NS ns.example.com.
78example.com. 3600 IN RRSIG NS 5 2 3600 20090924111500 20090821111500 30899 example.com. J5wxRq0jgwQL6yy530kvo9cHqNAUHV8IF4dvaYZL0bNraO2Oe6dVXqlJl4+cxNHI2TMsstwFPr2Zz8tv6Az2mQ== ;{id = 30899}
79SECTION ADDITIONAL
80ns.example.com. 3600 IN A 1.2.3.4
81ns.example.com. 3600 IN RRSIG A 5 3 3600 20090924111500 20090821111500 30899 example.com. JsXbS18oyc0zkVaOWGSFdIQuOsZKflT0GraT9afDPoWLCgH4ApF7jNgfJV7Pqy1sTBRajME5IUAhpANwGBuW4A== ;{id = 30899}
82ENTRY_END
83
84ENTRY_BEGIN
85MATCH opcode qname qtype
86ADJUST copy_id
87REPLY QR AA
88SECTION QUESTION
89example.com. IN DNSKEY
90SECTION ANSWER
91; KSK 1
92example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b}
93; ZSK 1
94example.com. 10800 IN DNSKEY 256 3 5 AQPQ41chR9DEHt/aIzIFAqanbDlRflJoRs5yz1jFsoRIT7dWf0r+PeDuewdxkszNH6wnU4QL8pfKFRh5PIYVBLK3 ;{id = 30899 (zsk), size = 512b}
95; signatures
96example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20090924111500 20090821111500 30899 example.com. b/HK231jIQLX8IhlZfup3r0yhpXaasbPE6LzxoEVVvWaTZWcLmeV8jDIcn0qO7Yvs7bIJN20lwVAV0GcHH3hWQ== ;{id = 30899}
97example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20090924111500 20090821111500 55582 example.com. PCHme1QLoULxqjhg5tMlpR0qJlBfstEUVq18TtNoKQe9le1YhJ9caheXcTWoK+boLhXxg9u6Yyvq8FboQh0OjA== ;{id = 55582}
98ENTRY_END
99RANGE_END
100
101; ns.example.com. KSK 55582 and DSAkey 02855
102RANGE_BEGIN 11 40
103 ADDRESS 1.2.3.4
104ENTRY_BEGIN
105MATCH opcode qname qtype
106ADJUST copy_id
107REPLY QR AA
108SECTION QUESTION
109example.com. IN DNSKEY
110SECTION ANSWER
111; KSK 1
112example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b}
113; KSK 2
114example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 1688b}
115; and two ZSKs (omitted) for both algorithms.
116; signatures
117example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091024111500 20090921111500 55582 example.com. aCZVA+PLXxm15p46499FCPHvhR/MSpMSRTZT6PoUy2e+wdk7bszLdsEmfWym81UN2Xx1JOj5104c43c3QnvjNQ== ;{id = 55582}
118example.com. 10800 IN RRSIG DNSKEY 3 2 10800 20091024111500 20090921111500 2855 example.com. AKdhmjqEbe0STsFNq/UxOidElaWHWCy2hSPQ7oN0Tsq56w6Hsk72PpM= ;{id = 2855}
119ENTRY_END
120RANGE_END
121
122; ns.example.com. KSK 55582 and 02855 (signatures updated)
123RANGE_BEGIN 41 50
124 ADDRESS 1.2.3.4
125ENTRY_BEGIN
126MATCH opcode qname qtype
127ADJUST copy_id
128REPLY QR AA
129SECTION QUESTION
130example.com. IN DNSKEY
131SECTION ANSWER
132; KSK 1
133example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b}
134; KSK 2
135example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 1688b}
136; signatures
137example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091124111500 20091018111500 55582 example.com. vpLMiMW+2uxqE1+OpMWipQdyGJ/pOQ63tIhup50WFejPysvlZRZ27XOoB4GVRyCwK9Bv46PrsQf3IsjHZf6jvw== ;{id = 55582}
138example.com. 10800 IN RRSIG DNSKEY 3 2 10800 20091124111500 20091018111500 2855 example.com. ABJyZ97htJyBFk5wsKml3YAz81FpXkQKdJeC++fB5ysvl3i+zKJFzTo= ;{id = 2855}
139ENTRY_END
140RANGE_END
141
142; ns.example.com. KSK 55582-REVOKED and 02855
143RANGE_BEGIN 51 60
144 ADDRESS 1.2.3.4
145ENTRY_BEGIN
146MATCH opcode qname qtype
147ADJUST copy_id
148REPLY QR AA
149SECTION QUESTION
150example.com. IN DNSKEY
151SECTION ANSWER
152; KSK 1
153example.com. 10800 IN DNSKEY 385 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55710 (ksk), size = 512b}
154; KSK 2
155example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 1688b}
156; signatures
157example.com. 10800 IN RRSIG DNSKEY 3 2 10800 20091224111500 20091118111500 2855 example.com. AFAbqLJsTDBfwAipE84ETdFTfzKHs7pzdyzjTKHR2VXygGvHY4QsBaA= ;{id = 2855}
158example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091224111500 20091118111500 55710 example.com. DqR6BRE9G+kEb+ZorUr3yKKUsCF2TN+vrsNBaLfpHR+Vgv0RgeRCkXki+/FY9b4NEhXkg719dlLSASg4DmyV7g== ;{id = 55710}
159; wrong keytag: 55582
160ENTRY_END
161RANGE_END
162
163; ns.example.com. KSK 02855
164RANGE_BEGIN 61 70
165 ADDRESS 1.2.3.4
166ENTRY_BEGIN
167MATCH opcode qname qtype
168ADJUST copy_id
169REPLY QR AA
170SECTION QUESTION
171example.com. IN DNSKEY
172SECTION ANSWER
173; KSK 2
174example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 1688b}
175; signatures
176example.com. 10800 IN RRSIG DNSKEY 3 2 10800 20101224111500 20101118111500 2855 example.com. AJv9ujre3iUykHlhJpLYPqsXq12lmQp+AHUPSPpE5zuUhXAPjbnbewk= ;{id = 2855}
177ENTRY_END
178RANGE_END
179
180; set date/time to Aug 24 07:46:40 (2009).
181STEP 5 TIME_PASSES ELAPSE 1251100000
182STEP 6 TRAFFIC ; the initial probe
183STEP 7 ASSIGN t0 = ${time}
184STEP 8 ASSIGN probe0 = ${range 4800 ${timeout} 5400}
185
186; the auto probing should have been done now.
187STEP 10 CHECK_AUTOTRUST example.com
188FILE_BEGIN
189; autotrust trust anchor file
190;;id: example.com. 1
191;;last_queried: ${$t0} ;;${ctime $t0}
192;;last_success: ${$t0} ;;${ctime $t0}
193;;next_probe_time: ${$t0 + $probe0} ;;${ctime $t0 + $probe0}
194;;query_failed: 0
195;;query_interval: 5400
196;;retry_time: 3600
197example.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}
198FILE_END
199
200; key prepublished. First poll. 30 days later
201STEP 11 TIME_PASSES EVAL ${30*24*3600}
202STEP 12 TRAFFIC
203STEP 13 ASSIGN t1 = ${time}
204STEP 14 ASSIGN probe1 = ${range 4800 ${timeout} 5400}
205STEP 15 CHECK_AUTOTRUST example.com
206FILE_BEGIN
207; autotrust trust anchor file
208;;id: example.com. 1
209;;last_queried: ${$t1} ;;${ctime $t1}
210;;last_success: ${$t1} ;;${ctime $t1}
211;;next_probe_time: ${$t1 + $probe1} ;;${ctime $t1 + $probe1}
212;;query_failed: 0
213;;query_interval: 5400
214;;retry_time: 3600
215example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 512b} ;;state=1 [ ADDPEND ] ;;count=1 ;;lastchange=${$t1} ;;${ctime $t1}
216example.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}
217FILE_END
218
219; Second poll. 10 days later
220STEP 21 TIME_PASSES EVAL ${10*24*3600}
221STEP 22 TRAFFIC
222STEP 23 ASSIGN t2 = ${time}
223STEP 24 ASSIGN probe2 = ${range 4800 ${timeout} 5400}
224STEP 25 CHECK_AUTOTRUST example.com
225FILE_BEGIN
226; autotrust trust anchor file
227;;id: example.com. 1
228;;last_queried: ${$t2} ;;${ctime $t2}
229;;last_success: ${$t2} ;;${ctime $t2}
230;;next_probe_time: ${$t2 + $probe2} ;;${ctime $t2 + $probe2}
231;;query_failed: 0
232;;query_interval: 5400
233;;retry_time: 3600
234example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 512b} ;;state=1 [ ADDPEND ] ;;count=2 ;;lastchange=${$t1} ;;${ctime $t1}
235example.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}
236FILE_END
237
238; Third poll. 10 days later
239STEP 31 TIME_PASSES EVAL ${10*24*3600}
240STEP 32 TRAFFIC
241STEP 33 ASSIGN t3 = ${time}
242STEP 34 ASSIGN probe3 = ${range 4800 ${timeout} 5400}
243STEP 35 CHECK_AUTOTRUST example.com
244FILE_BEGIN
245; autotrust trust anchor file
246;;id: example.com. 1
247;;last_queried: ${$t3} ;;${ctime $t3}
248;;last_success: ${$t3} ;;${ctime $t3}
249;;next_probe_time: ${$t3 + $probe3} ;;${ctime $t3 + $probe3}
250;;query_failed: 0
251;;query_interval: 5400
252;;retry_time: 3600
253example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 512b} ;;state=1 [ ADDPEND ] ;;count=3 ;;lastchange=${$t1} ;;${ctime $t1}
254example.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}
255FILE_END
256
257; 11 days later, hold down has lapsed.
258STEP 41 TIME_PASSES EVAL ${11*24*3600}
259STEP 42 TRAFFIC
260STEP 43 ASSIGN t4 = ${time}
261STEP 44 ASSIGN probe4 = ${range 4800 ${timeout} 5400}
262STEP 45 CHECK_AUTOTRUST example.com
263FILE_BEGIN
264; autotrust trust anchor file
265;;id: example.com. 1
266;;last_queried: ${$t4} ;;${ctime $t4}
267;;last_success: ${$t4} ;;${ctime $t4}
268;;next_probe_time: ${$t4 + $probe4} ;;${ctime $t4 + $probe4}
269;;query_failed: 0
270;;query_interval: 5400
271;;retry_time: 3600
272example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t4} ;;${ctime $t4}
273example.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}
274FILE_END
275
276; 30 days later, the old key is revoked
277STEP 51 TIME_PASSES EVAL ${30*24*3600}
278STEP 52 TRAFFIC
279STEP 53 ASSIGN t5 = ${time}
280STEP 54 ASSIGN probe5 = ${range 4800 ${timeout} 5400}
281STEP 55 CHECK_AUTOTRUST example.com
282FILE_BEGIN
283; autotrust trust anchor file
284;;id: example.com. 1
285;;last_queried: ${$t5} ;;${ctime $t5}
286;;last_success: ${$t5} ;;${ctime $t5}
287;;next_probe_time: ${$t5 + $probe5} ;;${ctime $t5 + $probe5}
288;;query_failed: 0
289;;query_interval: 5400
290;;retry_time: 3600
291example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t4} ;;${ctime $t4}
292example.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}
293FILE_END
294
295; 370 days later, the old key is removed from storage
296STEP 61 TIME_PASSES EVAL ${370*24*3600}
297STEP 62 TRAFFIC
298STEP 63 ASSIGN t6 = ${time}
299STEP 64 ASSIGN probe6 = ${range 4800 ${timeout} 5400}
300STEP 65 CHECK_AUTOTRUST example.com
301FILE_BEGIN
302; autotrust trust anchor file
303;;id: example.com. 1
304;;last_queried: ${$t6} ;;${ctime $t6}
305;;last_success: ${$t6} ;;${ctime $t6}
306;;next_probe_time: ${$t6 + $probe6} ;;${ctime $t6 + $probe6}
307;;query_failed: 0
308;;query_interval: 5400
309;;retry_time: 3600
310example.com. 10800 IN DNSKEY 257 3 3 ALXLUsWqUrY3JYER3T4TBJIIs70j+sDS/UT2QRp61SE7S3EEXopNXoFE73JLRmvpi/UrOO/Vz4Se6wXv/CYCKjGw06U4WRgRYXcpEhJROyNapmdIKSxhOzfLVE1gqA0PweZR8dtY3aNQSRn3sPpwJr6Mi/PqQKAMMrZ9ckJpf1+bQMOOvxgzz2U1GS18b3yZKcgTMEaJzd/GZYzi/BN2DzQ0MsrSwYXfsNLFOBbs8PJMW4LYIxeeOe6rUgkWOF7CC9Dh/dduQ1QrsJhmZAEFfd6ByYV+ ;{id = 2855 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=${$t4} ;;${ctime $t4}
311FILE_END
312
313
314SCENARIO_END