3 target-fetch-policy: "0 0 0 0 0"
8 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
11 SCENARIO_BEGIN Test cache ttls where parent child differ in ttl
12 ; and the lameness for parent suddenly becomes the only information point.
18 MATCH opcode qtype qname
24 . IN NS K.ROOT-SERVERS.NET.
26 K.ROOT-SERVERS.NET. IN A 193.0.14.129
30 MATCH opcode subdomain
31 ADJUST copy_id copy_query
36 com. IN NS a.gtld-servers.net.
38 a.gtld-servers.net. IN A 192.5.6.30
42 MATCH opcode subdomain
43 ADJUST copy_id copy_query
48 net. IN NS e.gtld-servers.net.
50 e.gtld-servers.net. IN A 192.12.94.30
59 MATCH opcode qtype qname
65 com. IN NS a.gtld-servers.net.
67 a.gtld-servers.net. IN A 192.5.6.30
71 MATCH opcode subdomain
72 ADJUST copy_id copy_query
77 example.com. IN NS ns.foo.com.
79 ;ns.foo.com. 200 IN A 1.2.3.44
83 MATCH opcode subdomain
84 ADJUST copy_id copy_query
89 foo.com. 200 IN NS ns.foo.com.
91 ns.foo.com. 200 IN A 1.2.3.44
100 MATCH opcode qtype qname
106 net. IN NS e.gtld-servers.net.
108 e.gtld-servers.net. IN A 192.12.94.30
114 ; The parent-IP version
118 MATCH opcode qtype qname
124 foo.com. 200 IN NS ns.foo.com.
126 ns.foo.com. 100 IN A 1.2.3.44
130 MATCH opcode qtype qname
136 ns.foo.com. 100 IN A 1.2.3.44
138 foo.com. 200 IN NS ns.foo.com.
142 MATCH opcode qtype qname
148 foo.com. 100 IN SOA . . 1 2 3 4 5
152 MATCH opcode qtype qname
158 example.com. 200 IN NS ns.foo.com.
162 MATCH opcode qtype qname
166 www.example.com. IN A
168 www.example.com. 100 IN A 10.20.30.40
170 example.com. 200 IN NS ns.foo.com.
172 ns.foo.com 100 IN A 1.2.3.44
176 ; NOT USED. The parent side equals child side but not in the cache.
177 ; and they have different TTLs only.
179 ; The child IP version. Does not respond to anything (servfail instead
180 ; of timeouts since this is easier to encode in .rpl file format).
185 ADJUST copy_id copy_query
198 www.example.com. IN A
201 ; recursion happens here.
205 REPLY QR RD RA NOERROR
207 www.example.com. IN A
209 www.example.com. 100 IN A 10.20.30.40
211 example.com. 100 IN NS ns.foo.com.
214 ;ns.foo.com IN A 1.2.3.44
217 ; Now we wait 101 seconds, and the child data is gone,
218 ; but the parent-side was cached for 200 and it still there.
220 STEP 30 TIME_PASSES ELAPSE 101
226 www.example.com. IN A
229 ; recursion happens here.
233 REPLY QR RD RA NOERROR
235 www.example.com. IN A
237 www.example.com. 100 IN A 10.20.30.40
239 example.com. 100 IN NS ns.foo.com.
242 ;ns.foo.com IN A 1.2.3.44