Codebase list unbound / debian/1.4.5-1_bpo50+1 testdata / fwd.rpl
debian/1.4.5-1_bpo50+1

Tree @debian/1.4.5-1_bpo50+1 (Download .tar.gz)

fwd.rpl @debian/1.4.5-1_bpo50+1raw · history · blame

; This is a comment.
; config options go here.
forward-zone: name: "." forward-addr: 216.0.0.1
CONFIG_END

SCENARIO_BEGIN Sample of a valid query
RANGE_BEGIN 0 100
	ENTRY_BEGIN
	MATCH opcode qtype qname
	ADJUST copy_id
	REPLY QR RD RA NOERROR
	SECTION QUESTION
www.example.com. IN A
	SECTION ANSWER
www.example.com. IN A 10.20.30.40
	SECTION AUTHORITY
www.example.com. IN NS ns.example.com.
	SECTION ADDITIONAL
ns.example.com. IN A 10.20.30.50
	ENTRY_END
RANGE_END
RANGE_BEGIN 200 300
RANGE_END

STEP 1 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
www.example.com. IN A
ENTRY_END
; unneccesary nothing steps.
STEP 2 NOTHING
STEP 3 NOTHING
STEP 4 CHECK_ANSWER
ENTRY_BEGIN
MATCH opcode qname qtype
SECTION QUESTION
www.example.com. IN A
SECTION ANSWER
www.example.com. IN A 10.20.30.40
ENTRY_END
SCENARIO_END