2 ; config options go here.
3 forward-zone: name: "." forward-addr: 216.0.0.1
6 SCENARIO_BEGIN Query receives answer from the cache
14 ; the query is sent to the forwarder - no cache yet.
15 STEP 2 CHECK_OUT_QUERY
17 MATCH qname qtype opcode
23 MATCH opcode qtype qname
25 ; authoritative answer
26 REPLY QR AA RD RA NOERROR
30 www.example.com. IN A 10.20.30.40
32 www.example.com. IN NS ns.example.com.
34 ns.example.com. IN A 10.20.30.50
43 www.example.com. IN A 10.20.30.40
45 www.example.com. IN NS ns.example.com.
47 ns.example.com. IN A 10.20.30.50
50 ; another query, same, so it must be answered from the cache
57 ; immediate answer without an OUT_QUERY happening (checked on exit)
58 ; also, the answer does not have AA set
66 www.example.com. IN A 10.20.30.40
68 www.example.com. IN NS ns.example.com.
70 ns.example.com. IN A 10.20.30.50