mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 06:37:08 +00:00
AXFR IXFR test
git-svn-id: file:///svn/unbound/trunk@453 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
85bfa1bd35
commit
3eb8f9028b
@ -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
37
testdata/refuse_xfr.rpl
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user