3 target-fetch-policy: "0 0 0 0 0"
7 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
10 SCENARIO_BEGIN Test cache of SOA with minimum ttl and normal ttl.
16 MATCH opcode qtype qname
22 . IN NS K.ROOT-SERVERS.NET.
24 K.ROOT-SERVERS.NET. IN A 193.0.14.129
28 MATCH opcode subdomain
29 ADJUST copy_id copy_query
34 com. IN NS a.gtld-servers.net.
36 a.gtld-servers.net. IN A 192.5.6.30
44 MATCH opcode qtype qname
50 com. IN NS a.gtld-servers.net.
52 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 qtype qname
78 example.com. IN NS ns.example.com.
80 ns.example.com. IN A 1.2.3.4
84 MATCH opcode qtype qname
90 www.example.com. IN A 10.20.30.40
92 example.com. IN NS ns.example.com.
94 ns.example.com. IN A 1.2.3.4
98 MATCH opcode qtype qname
104 example.com. 86400 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
106 example.com. 3600 IN NS ns.example.com.
108 ns.example.com. 3600 IN A 1.2.3.4
112 MATCH opcode qtype qname
118 example.com. 3600 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
123 ; put both queries with SOA records into the cache and then query them from
125 ; first the nxdomain, so that the positive SOA answer later overrides the
126 ; SOA from the authority section from that nxdomain.
135 ; recursion happens here.
139 REPLY QR RD RA NXDOMAIN
143 example.com. 3600 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
153 ; recursion happens here.
157 REPLY QR RD RA NOERROR
161 example.com. 86400 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
163 example.com. 3600 IN NS ns.example.com.
165 ns.example.com. 3600 IN A 1.2.3.4
168 ; now check them from the cache (no seconds elapsed).
177 STEP 120 CHECK_ANSWER
180 REPLY QR RD RA NXDOMAIN
184 example.com. 3600 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
194 STEP 140 CHECK_ANSWER
197 REPLY QR RD RA NOERROR
201 example.com. 86400 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074630 7200 3600 1209600 3600
203 example.com. 3600 IN NS ns.example.com.
205 ns.example.com. 3600 IN A 1.2.3.4