summaryrefslogtreecommitdiffstats
path: root/tests/integration/deckard/sets/resolver/module_policy_tc.rpl
blob: 17f7619db45189232d220660e03a0a50efe101b7 (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
25
26
do-ip6: no

; 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