]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - testdata/fwd_error.rpl
import unbound 1.4.17
[FreeBSD/FreeBSD.git] / testdata / fwd_error.rpl
1 ; config options go here.
2 forward-zone: name: "." forward-addr: 216.0.0.1
3 CONFIG_END
4 SCENARIO_BEGIN Forwarder and an error happens on server query.
5 STEP 1 QUERY
6 ENTRY_BEGIN
7 REPLY RD
8 SECTION QUESTION
9 www.example.com. IN A
10 ENTRY_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.
13 STEP 2 ERROR
14 STEP 3 ERROR
15 STEP 4 ERROR
16 STEP 5 ERROR
17 STEP 6 ERROR
18 ; returns servfail
19 STEP 14 CHECK_ANSWER
20 ENTRY_BEGIN
21 MATCH opcode qname qtype
22 SECTION QUESTION
23 REPLY SERVFAIL QR RD RA
24 MATCH all
25 www.example.com. IN A
26 ENTRY_END
27 SCENARIO_END