summaryrefslogtreecommitdiffstats
path: root/tests/testdata_notimpl/iter_stub_noroot.rpl
blob: f0740b665a6c39878d6d6a2107cb37355045ae22 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
; config options
server:
	target-fetch-policy: "0 0 0 0 0"

stub-zone:
	name: "."
	stub-addr: 81.187.81.187
stub-zone:
        name: "lp0.eu"
	stub-addr: 81.2.80.65
	stub-prime: no
CONFIG_END

SCENARIO_BEGIN Test resolve of stub zone without root prime.

; this server does not respond. (for the root)
RANGE_BEGIN 0 100
	ADDRESS 81.187.81.187
ENTRY_BEGIN
MATCH
ADJUST copy_id copy_query
REPLY QR SERVFAIL
SECTION QUESTION
. IN NS
ENTRY_END
RANGE_END

; lp0.eu server
RANGE_BEGIN 0 100
	ADDRESS 81.2.80.65
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
REPLY QR NOERROR
SECTION QUESTION
proxima.lp0.eu. IN A
SECTION ANSWER
proxima.lp0.eu. IN A 81.2.80.65
SECTION AUTHORITY
lp0.eu. IN NS proxima.lp0.eu.
ENTRY_END
RANGE_END

STEP 1 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
proxima.lp0.eu. IN A
ENTRY_END

; recursion happens here.
STEP 10 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA NOERROR
SECTION QUESTION
proxima.lp0.eu. IN A
SECTION ANSWER
proxima.lp0.eu. IN A 81.2.80.65
;SECTION AUTHORITY
;lp0.eu. IN NS proxima.lp0.eu.
ENTRY_END

SCENARIO_END