1 ; config options go here.
2 ; This is one forever, one jostle.
4 num-queries-per-thread: 2
7 forward-addr: 216.0.0.1
9 SCENARIO_BEGIN Test too many queries asked, last one jostled out to make space
11 ; fill the forever slot.
19 STEP 2 CHECK_OUT_QUERY
21 MATCH qname qtype opcode
26 ; NO REPLY (this step is not needed)
29 ;something enters the jostle slot.
37 STEP 5 CHECK_OUT_QUERY
39 MATCH qname qtype opcode
45 STEP 6 TIME_PASSES ELAPSE 0.300
47 ; something else tries to replace the entry in the jostle slot.
48 ; and it works because the entry is now too old.
56 ; reply from latest query returns
59 MATCH opcode qtype qname
61 REPLY QR RD RA NOERROR
65 www.example.org. IN A 10.20.30.42
67 www.example.org. IN NS ns.example.org.
69 ns.example.org. IN A 10.20.30.50
72 ; answer to last query
75 MATCH opcode qname qtype
79 www.example.org. IN A 10.20.30.42
83 ; reply from first query returns
86 MATCH opcode qtype qname
88 REPLY QR RD RA NOERROR
92 www.example.com. IN A 10.20.30.40
94 www.example.com. IN NS ns.example.com.
96 ns.example.com. IN A 10.20.30.50
99 ; answer to first query
102 MATCH opcode qname qtype
104 www.example.com. IN A
106 www.example.com. IN A 10.20.30.40
111 ; testbound checks before exit:
112 ; * no more pending queries outstanding.
113 ; * and no answers that have not been checked.