2 ; config options go here.
3 ; extremely small cache to force dropping old records.
5 msg-cache-size: 1 # one whole byte!
7 forward-zone: name: "." forward-addr: 216.0.0.1
10 SCENARIO_BEGIN Old answer is dropped from the cache
18 ; the query is sent to the forwarder - no cache yet.
19 STEP 2 CHECK_OUT_QUERY
21 MATCH qname qtype opcode
27 MATCH opcode qtype qname
29 REPLY QR RD RA NOERROR
33 www.example.com. IN A 10.20.30.40
35 www.example.com. IN NS ns.example.com.
37 ns.example.com. IN A 10.20.30.50
41 MATCH opcode qname qtype
45 www.example.com. IN A 10.20.30.40
48 ; another query to force the cache to drop the example.com entry.
55 ; the query is sent to the forwarder - no cache yet.
56 STEP 12 CHECK_OUT_QUERY
58 MATCH qname qtype opcode
64 MATCH opcode qtype qname
66 REPLY QR RD RA NOERROR
70 www.example.net. IN A 10.20.30.40
72 www.example.net. IN NS ns.example.net.
74 ns.example.net. IN A 10.20.30.50
78 MATCH opcode qname qtype
82 www.example.net. IN A 10.20.30.40
86 ; query, same as first, but it fell out of the cache.
93 STEP 22 CHECK_OUT_QUERY
95 MATCH qname qtype opcode
101 MATCH opcode qtype qname
103 REPLY QR RD RA NOERROR
105 www.example.com. IN A
107 www.example.com. IN A 10.20.30.40
109 www.example.com. IN NS ns.example.com.
111 ns.example.com. IN A 10.20.30.50
115 MATCH opcode qname qtype
117 www.example.com. IN A
119 www.example.com. IN A 10.20.30.40