unbound/testdata/version_bind.rpl
Wouter Wijngaards 8b0bbc6691 Tests can handle multiple hosts. Tests for chaos and iterator.
git-svn-id: file:///svn/unbound/trunk@450 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-25 12:31:04 +00:00

75 lines
1.2 KiB
Plaintext

; config options
server:
hide-identity: no
hide-version: no
identity: "test-identity"
version: "test-version"
CONFIG_END
SCENARIO_BEGIN Test version.bind identity and version queries
; version.bind.
STEP 1 QUERY
ENTRY_BEGIN
SECTION QUESTION
version.bind. CH TXT
ENTRY_END
STEP 2 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RA
SECTION QUESTION
version.bind. CH TXT
SECTION ANSWER
version.bind. 0 CH TXT "test-version"
ENTRY_END
; version.server.
STEP 3 QUERY
ENTRY_BEGIN
SECTION QUESTION
version.server. CH TXT
ENTRY_END
STEP 4 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RA
SECTION QUESTION
version.server. CH TXT
SECTION ANSWER
version.server. 0 CH TXT "test-version"
ENTRY_END
; hostname.bind.
STEP 5 QUERY
ENTRY_BEGIN
SECTION QUESTION
hostname.bind. CH TXT
ENTRY_END
STEP 6 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RA
SECTION QUESTION
hostname.bind. CH TXT
SECTION ANSWER
hostname.bind. 0 CH TXT "test-identity"
ENTRY_END
; id.server.
STEP 7 QUERY
ENTRY_BEGIN
SECTION QUESTION
id.server. CH TXT
ENTRY_END
STEP 8 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RA
SECTION QUESTION
id.server. CH TXT
SECTION ANSWER
id.server. 0 CH TXT "test-identity"
ENTRY_END
SCENARIO_END