xref: /netbsd-src/external/bsd/unbound/dist/testdata/fwd_error.rpl (revision c38e7cc395b1472a774ff828e46123de44c628e9)
1; config options go here.
2forward-zone: name: "." forward-addr: 216.0.0.1
3CONFIG_END
4SCENARIO_BEGIN Forwarder and an error happens on server query.
5STEP 1 QUERY
6ENTRY_BEGIN
7REPLY RD
8SECTION QUESTION
9www.example.com. IN A
10ENTRY_END
11; But the pending query fails due to error (say TCP failure or malloc or ...)
12; This is iterator/iterator.h OUTBOUND_MSG_RETRY number of errors.
13STEP 2 ERROR
14STEP 3 ERROR
15STEP 4 ERROR
16STEP 5 ERROR
17STEP 6 ERROR
18; returns servfail
19STEP 14 CHECK_ANSWER
20ENTRY_BEGIN
21MATCH opcode qname qtype
22SECTION QUESTION
23REPLY SERVFAIL QR RD RA
24MATCH all
25www.example.com. IN A
26ENTRY_END
27SCENARIO_END
28