summaryrefslogtreecommitdiffstats
path: root/tests/deckard/sets/resolver/module_policy_drop.rpl
blob: 308584a5eb492b021859f6c6161c8153f17dec0e (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.DROP, {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 RD RA SERVFAIL
SECTION QUESTION
www.example.cz. IN A
SECTION ANSWER
ENTRY_END

SCENARIO_END