3 target-fetch-policy: "0 0 0 0 0"
9 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
12 SCENARIO_BEGIN Test cache ttls where parent child differ in ttl
13 ; and the lameness for parent suddenly becomes the only information point.
19 MATCH opcode qtype qname
25 . IN NS K.ROOT-SERVERS.NET.
27 K.ROOT-SERVERS.NET. IN A 193.0.14.129
31 MATCH opcode subdomain
32 ADJUST copy_id copy_query
37 com. IN NS a.gtld-servers.net.
39 a.gtld-servers.net. IN A 192.5.6.30
43 MATCH opcode subdomain
44 ADJUST copy_id copy_query
49 net. IN NS e.gtld-servers.net.
51 e.gtld-servers.net. IN A 192.12.94.30
60 MATCH opcode qtype qname
66 com. IN NS a.gtld-servers.net.
68 a.gtld-servers.net. IN A 192.5.6.30
72 MATCH opcode subdomain
73 ADJUST copy_id copy_query
78 example.com. IN NS ns.foo.com.
80 ;ns.foo.com. 200 IN A 1.2.3.44
84 MATCH opcode subdomain
85 ADJUST copy_id copy_query
90 foo.com. 200 IN NS ns.foo.com.
92 ns.foo.com. 200 IN A 1.2.3.44
101 MATCH opcode qtype qname
107 net. IN NS e.gtld-servers.net.
109 e.gtld-servers.net. IN A 192.12.94.30
115 ; The parent-IP version
119 MATCH opcode qtype qname
125 foo.com. 200 IN NS ns.foo.com.
127 ns.foo.com. 100 IN A 1.2.3.44
131 MATCH opcode qtype qname
137 ns.foo.com. 100 IN A 1.2.3.44
139 foo.com. 200 IN NS ns.foo.com.
143 MATCH opcode qtype qname
149 foo.com. 100 IN SOA . . 1 2 3 4 5
153 MATCH opcode qtype qname
159 example.com. 200 IN NS ns.foo.com.
163 MATCH opcode qtype qname
167 www.example.com. IN A
169 www.example.com. 100 IN A 10.20.30.40
171 example.com. 200 IN NS ns.foo.com.
173 ns.foo.com 100 IN A 1.2.3.44
177 ; NOT USED. The parent side equals child side but not in the cache.
178 ; and they have different TTLs only.
180 ; The child IP version. Does not respond to anything (servfail instead
181 ; of timeouts since this is easier to encode in .rpl file format).
186 ADJUST copy_id copy_query
199 www.example.com. IN A
202 ; recursion happens here.
206 REPLY QR RD RA NOERROR
208 www.example.com. IN A
210 www.example.com. 100 IN A 10.20.30.40
212 example.com. 100 IN NS ns.foo.com.
215 ;ns.foo.com IN A 1.2.3.44
218 ; Now we wait 101 seconds, and the child data is gone,
219 ; but the parent-side was cached for 200 and it still there.
221 STEP 30 TIME_PASSES ELAPSE 101
227 www.example.com. IN A
230 ; recursion happens here.
234 REPLY QR RD RA NOERROR
236 www.example.com. IN A
238 www.example.com. 100 IN A 10.20.30.40
240 example.com. 100 IN NS ns.foo.com.
243 ;ns.foo.com IN A 1.2.3.44