AXFR IXFR test

git-svn-id: file:///svn/unbound/trunk@453 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-07-26 09:39:08 +00:00
parent 85bfa1bd35
commit 3eb8f9028b
2 changed files with 38 additions and 0 deletions

View File

@ -1,6 +1,7 @@
26 July 2007: Wouter 26 July 2007: Wouter
- cycle detection, for query state dependencies. Will attempt to - cycle detection, for query state dependencies. Will attempt to
circumvent the cycle, but if no other targets available fails. circumvent the cycle, but if no other targets available fails.
- unit test for AXFR, IXFR response.
25 July 2007: Wouter 25 July 2007: Wouter
- testbound read ADDRESS and check it. - testbound read ADDRESS and check it.

37
testdata/refuse_xfr.rpl vendored Normal file
View File

@ -0,0 +1,37 @@
; config options
CONFIG_END
SCENARIO_BEGIN Test AXFR and IXFR queries.
; AXFR
STEP 1 QUERY
ENTRY_BEGIN
SECTION QUESTION
nlnetlabs.nl. IN AXFR
ENTRY_END
STEP 2 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR REFUSED
SECTION QUESTION
nlnetlabs.nl. IN AXFR
ENTRY_END
; IXFR
STEP 3 QUERY
ENTRY_BEGIN
SECTION QUESTION
nlnetlabs.nl. IN IXFR
SECTION AUTHORITY
nlnetlabs.nl. IN SOA mr. op. 12 0 0 0 0
ENTRY_END
STEP 4 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR FORMERR
SECTION QUESTION
nlnetlabs.nl. IN IXFR
SECTION AUTHORITY
nlnetlabs.nl. IN SOA mr. op. 12 0 0 0 0
ENTRY_END
SCENARIO_END