summaryrefslogtreecommitdiffstats
path: root/tests/deckard/sets/resolver/module_policy_tc.rpl
blob: 620f531149bceae2a63e010191045b80b37c8c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; config options
	stub-addr: 193.0.14.129 	# K.ROOT-SERVERS.NET.
        feature-list: policy=policy:add(policy.suffix(policy.TC, {todname('example.cz')}))
CONFIG_END

SCENARIO_BEGIN Simple policy test

STEP 10 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
www.example.cz. IN A
ENTRY_END

STEP 20 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR TC RD RA
SECTION QUESTION
www.example.cz. IN A
SECTION ANSWER
ENTRY_END

SCENARIO_END