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 of SOA with minimum ttl and normal ttl.
17 MATCH opcode qtype qname
23 . IN NS K.ROOT-SERVERS.NET.
25 K.ROOT-SERVERS.NET. IN A 193.0.14.129
29 MATCH opcode subdomain
30 ADJUST copy_id copy_query
35 com. IN NS a.gtld-servers.net.
37 a.gtld-servers.net. IN A 192.5.6.30
45 MATCH opcode qtype qname
51 com. IN NS a.gtld-servers.net.
53 a.gtld-servers.net. IN A 192.5.6.30
57 MATCH opcode subdomain
58 ADJUST copy_id copy_query
63 example.com. IN NS ns.example.com.
65 ns.example.com. IN A 1.2.3.4
73 MATCH opcode qtype qname
79 example.com. IN NS ns.example.com.
81 ns.example.com. IN A 1.2.3.4
85 MATCH opcode qtype qname
91 www.example.com. IN A 10.20.30.40
93 example.com. IN NS ns.example.com.
95 ns.example.com. IN A 1.2.3.4
99 MATCH opcode qtype qname
105 example.com. 86400 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
107 example.com. 3600 IN NS ns.example.com.
109 ns.example.com. 3600 IN A 1.2.3.4
113 MATCH opcode qtype qname
119 example.com. 3600 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
124 ; put both queries with SOA records into the cache and then query them from
126 ; first the nxdomain, so that the positive SOA answer later overrides the
127 ; SOA from the authority section from that nxdomain.
136 ; recursion happens here.
140 REPLY QR RD RA NXDOMAIN
144 example.com. 3600 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
154 ; recursion happens here.
158 REPLY QR RD RA NOERROR
162 example.com. 86400 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
164 example.com. 3600 IN NS ns.example.com.
166 ns.example.com. 3600 IN A 1.2.3.4
169 ; now check them from the cache (no seconds elapsed).
178 STEP 120 CHECK_ANSWER
181 REPLY QR RD RA NXDOMAIN
185 example.com. 3600 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
195 STEP 140 CHECK_ANSWER
198 REPLY QR RD RA NOERROR
202 example.com. 86400 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
204 example.com. 3600 IN NS ns.example.com.
206 ns.example.com. 3600 IN A 1.2.3.4