3 target-fetch-policy: "0 0 0 0 0"
7 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
8 AUTOTRUST_FILE example.com
9 ; autotrust trust anchor file
11 ;;last_queried: 1258962400 ;;Mon Nov 23 08:46:40 2009
12 ;;last_success: 1258962400 ;;Mon Nov 23 08:46:40 2009
13 ;;next_probe_time: 1258967360 ;;Mon Nov 23 10:09:20 2009
15 ;;query_interval: 5400
17 example.com. 10800 IN DNSKEY 257 3 5 AwEAAas/cAhCFXvBUgTSNZCvQp0pLx1dY+7rXR0hH4/3EUgWmsmbYUpI1qD0xhwKD/oYGEwAm291fyWJ9c0oVxXDEK8= ;{id = 16486 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=1258962400 ;;Mon Nov 23 08:46:40 2009
18 example.com. 10800 IN DNSKEY 257 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55582 (ksk), size = 512b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=1258962400 ;;Mon Nov 23 08:46:40 2009
22 SCENARIO_BEGIN Test autotrust with trust point revocation
28 MATCH opcode qname qtype
29 ADJUST copy_id copy_query
34 . IN NS k.root-servers.net.
36 k.root-servers.net IN A 193.0.14.129
40 MATCH opcode subdomain
41 ADJUST copy_id copy_query
46 com. IN NS a.gtld-servers.net.
48 a.gtld-servers.net. IN A 192.5.6.30
56 MATCH opcode subdomain
57 ADJUST copy_id copy_query
62 example.com. IN NS ns.example.com.
64 ns.example.com. IN A 1.2.3.4
72 MATCH opcode qname qtype
76 example.com. IN DNSKEY
81 example.com. 10800 IN DNSKEY 385 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55710 (ksk), size = 512b}
82 example.com. 10800 IN DNSKEY 385 3 5 AwEAAas/cAhCFXvBUgTSNZCvQp0pLx1dY+7rXR0hH4/3EUgWmsmbYUpI1qD0xhwKD/oYGEwAm291fyWJ9c0oVxXDEK8= ;{id = 16614 (ksk), size = 512b}
84 example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091124111500 20091018111500 55710 example.com. zOSlB1iwtlP2lum1RK0WoDQrMVj0JKwk2E5Mu1okzV38hAx3Xm9IGMK6WrNkVVLmx4OkhYmdPVA95jVsFpwLMw== ;{id = 55710}
85 example.com. 10800 IN RRSIG DNSKEY 5 2 10800 20091124111500 20091018111500 16614 example.com. qP49cCYP3lvNnLBYty/JxAwHqBIGjpup5zQ7qpjPnaZpBb/TlpOhY17LBZrqD86VvBbEVz5tkxC9UrCy85ePDQ== ;{id = 16614}
90 MATCH opcode subdomain
91 ADJUST copy_id copy_query
96 www.example.com. IN A 10.20.30.40
102 ; set date/time to Mon Nov 23 09:46:40 2009
103 STEP 5 TIME_PASSES EVAL ${1258962400 + 7200}
104 STEP 6 TRAFFIC ; do the probe
105 STEP 7 ASSIGN t0 = ${time}
106 STEP 8 ASSIGN probe0 = ${range 0 ${timeout} 0}
107 STEP 9 ASSIGN tp = ${1258962400}
109 ; the auto probing should have been done now.
110 STEP 11 CHECK_AUTOTRUST example.com
112 ; autotrust trust anchor file
114 ; The zone has all keys revoked, and is
115 ; considered as if it has no trust anchors.
116 ; the remainder of the file is the last probe.
117 ; to restart the trust anchor, overwrite this file.
118 ; with one containing valid DNSKEYs or DSes.
120 ;;last_queried: ${$t0} ;;${ctime $t0}
121 ;;last_success: ${$t0} ;;${ctime $t0}
122 ;;next_probe_time: ${0} ;;${ctime 0}
124 ;;query_interval: 5400
126 example.com. 10800 IN DNSKEY 385 3 5 AwEAAc3Z5DQDJpH4oPdNtC4BUQHk50XMD+dHr4r8psHmivIa83hxR5CRgCtd9sENCW9Ae8OIO19xw9t/RPaEAqQa+OE= ;{id = 55710 (ksk), size = 512b} ;;state=4 [ REVOKED ] ;;count=0 ;;lastchange=${$t0} ;;${ctime $t0}
127 example.com. 10800 IN DNSKEY 385 3 5 AwEAAas/cAhCFXvBUgTSNZCvQp0pLx1dY+7rXR0hH4/3EUgWmsmbYUpI1qD0xhwKD/oYGEwAm291fyWJ9c0oVxXDEK8= ;{id = 16614 (ksk), size = 512b} ;;state=4 [ REVOKED ] ;;count=0 ;;lastchange=${$t0} ;;${ctime $t0}
134 www.example.com. IN A
137 ; correct unsigned response works after trust point revocation.
141 REPLY QR RD RA DO NOERROR
143 www.example.com. IN A
145 www.example.com. IN A 10.20.30.40