]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/version_bind.rpl
1c5b914c18826d240f2131d4f4ff180a6afc9b2a
[apple/network_cmds.git] / unbound / testdata / version_bind.rpl
1 ; config options
2 server:
3 hide-identity: no
4 hide-version: no
5 identity: "test-identity"
6 version: "test-version"
7 CONFIG_END
8 SCENARIO_BEGIN Test version.bind identity and version queries
9
10 ; version.bind.
11 STEP 1 QUERY
12 ENTRY_BEGIN
13 SECTION QUESTION
14 version.bind. CH TXT
15 ENTRY_END
16 STEP 2 CHECK_ANSWER
17 ENTRY_BEGIN
18 MATCH all
19 REPLY QR RA
20 SECTION QUESTION
21 version.bind. CH TXT
22 SECTION ANSWER
23 version.bind. 0 CH TXT "test-version"
24 ENTRY_END
25
26 ; version.server.
27 STEP 3 QUERY
28 ENTRY_BEGIN
29 SECTION QUESTION
30 version.server. CH TXT
31 ENTRY_END
32 STEP 4 CHECK_ANSWER
33 ENTRY_BEGIN
34 MATCH all
35 REPLY QR RA
36 SECTION QUESTION
37 version.server. CH TXT
38 SECTION ANSWER
39 version.server. 0 CH TXT "test-version"
40 ENTRY_END
41
42 ; hostname.bind.
43 STEP 5 QUERY
44 ENTRY_BEGIN
45 SECTION QUESTION
46 hostname.bind. CH TXT
47 ENTRY_END
48 STEP 6 CHECK_ANSWER
49 ENTRY_BEGIN
50 MATCH all
51 REPLY QR RA
52 SECTION QUESTION
53 hostname.bind. CH TXT
54 SECTION ANSWER
55 hostname.bind. 0 CH TXT "test-identity"
56 ENTRY_END
57
58 ; id.server.
59 STEP 7 QUERY
60 ENTRY_BEGIN
61 SECTION QUESTION
62 id.server. CH TXT
63 ENTRY_END
64 STEP 8 CHECK_ANSWER
65 ENTRY_BEGIN
66 MATCH all
67 REPLY QR RA
68 SECTION QUESTION
69 id.server. CH TXT
70 SECTION ANSWER
71 id.server. 0 CH TXT "test-identity"
72 ENTRY_END
73
74 SCENARIO_END