3 module-config: "validator iterator"
4 qname-minimisation: "no"
14 SCENARIO_BEGIN Test serve-expired
16 ; - query for example.com. IN A
17 ; - check that we get an answer for example.com. IN A with the correct TTL
18 ; - query again right after the TTL expired + serve-expired-ttl
19 ; - check that we get an updated answer and not the cached one
25 MATCH opcode qtype qname
31 example.com. IN NS ns.example.com.
33 ns.example.com. IN A 1.2.3.4
37 MATCH opcode qtype qname
43 example.com. IN A 5.6.7.8
45 example.com. IN NS ns.example.com.
47 ns.example.com. IN A 1.2.3.4
59 ; Check that we got the correct answer (should be cached)
63 REPLY QR RD RA NOERROR
67 example.com. IN A 5.6.7.8
69 example.com. IN NS ns.example.com.
71 ns.example.com. IN A 1.2.3.4
74 ; Wait for the TTL to expire + serve-expired-ttl
75 STEP 11 TIME_PASSES ELAPSE 3611
85 ; Check that we got an updated answer
89 REPLY QR RD RA NOERROR
93 example.com. IN A 5.6.7.8
95 example.com. IN NS ns.example.com.
97 ns.example.com. IN A 1.2.3.4