2 ; config options go here.
6 forward-zone: name: "." forward-addr: 216.0.0.1
9 SCENARIO_BEGIN RRset is updated from other message that passes by.
17 ; the query is sent to the forwarder - no cache yet.
18 STEP 2 CHECK_OUT_QUERY
20 MATCH qname qtype opcode
26 MATCH opcode qtype qname
28 ; authoritative answer
29 REPLY QR AA RD RA NOERROR
33 www.example.com. IN A 10.20.30.40
35 example.com. IN NS ns.example.com.
37 ns.example.com. IN A 10.20.30.50
46 www.example.com. IN A 10.20.30.40
48 example.com. IN NS ns.example.com.
50 ns.example.com. IN A 10.20.30.50
53 ; another query passes along
60 STEP 7 CHECK_OUT_QUERY
62 MATCH qname qtype opcode
67 ; This answer has updated information on ns2.example.com.
69 MATCH opcode qtype qname
71 ; authoritative answer
72 REPLY QR AA RD RA NOERROR
76 bla.example.com. IN A 10.20.30.140
78 example.com. IN NS ns.example.com.
79 example.com. IN NS ns2.example.com.
81 ns.example.com. IN A 10.20.30.50
82 ns2.example.com. IN A 10.20.30.53
91 bla.example.com. IN A 10.20.30.140
93 example.com. IN NS ns.example.com.
94 example.com. IN NS ns2.example.com.
96 ns.example.com. IN A 10.20.30.50
97 ns2.example.com. IN A 10.20.30.53
101 ; original www.example.com query
106 www.example.com. IN A
108 ; immediate answer without an OUT_QUERY happening (checked on exit)
109 ; also, the answer does not have AA set
110 ; NS rrset has been updated.
116 www.example.com. IN A
118 www.example.com. IN A 10.20.30.40
120 example.com. IN NS ns.example.com.
121 example.com. IN NS ns2.example.com.
123 ns.example.com. IN A 10.20.30.50