unbound/testdata/fwd_error.rpl

22 lines
482 B
Text
Raw Normal View History

; config options go here.
forward-zone: name: "." forward-addr: 127.0.0.1
CONFIG_END
SCENARIO_BEGIN Forwarder and an error happens on server query.
STEP 1 QUERY
ENTRY_BEGIN
SECTION QUESTION
www.example.com. IN A
ENTRY_END
; But the pending query fails due to error (say TCP failure or malloc or ...)
STEP 2 ERROR
; returns servfail
STEP 4 CHECK_ANSWER
ENTRY_BEGIN
MATCH opcode qname qtype
SECTION QUESTION
REPLY SERVFAIL QR RA
MATCH all
www.example.com. IN A
ENTRY_END
SCENARIO_END