summaryrefslogtreecommitdiffstats
path: root/bin/tests/system/rpz/test1
blob: 3dc0375e445085370df335ddb80db41d63486126 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
;
; SPDX-License-Identifier: MPL-2.0
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0.  If a copy of the MPL was not distributed with this
; file, you can obtain one at https://mozilla.org/MPL/2.0/.
;
; See the COPYRIGHT file distributed with this work for additional
; information regarding copyright ownership.




; Use comment lines instead of blank lines to combine update requests into
;	single requests
; Separate update requests for distinct TLDs with blank lines or 'send'
; End the file with a blank line or 'send'

server 10.53.0.3 @PORT@

; QNAME tests

; NXDOMAIN
;	2, 25
update add  a0-1.tld2.bl.	300 CNAME .
; NODATA
;	3
update add  a3-1.tld2.bl.	300 CNAME *.
; and no assert-botch
;	4, 5
update add  a3-2.tld2.bl.	300 DNAME example.com.
;
; NXDOMAIN for a4-2-cname.tld2 via its target a4-2.tld2.
;	6 and 7
update add  a4-2.tld2.bl	300 CNAME .
;	8
; NODATA for a4-3-cname.tld2 via its target a4-3.tld2.
update add  a4-3.tld2.bl	300 CNAME *.
;
; replace the A for a4-1.sub1.tld2 with 12.12.12.12
;	9
update add  a4-1.sub1.tld2.bl.	300 A 12.12.12.12
;
; replace the A for *.sub2.tld2 with 12.12.12.12
;	10
update add  a4-1.sub2.tld2.bl.	300 A 12.12.12.12
;
; replace NXDOMAIN for {nxc1,nxc2}.sub1.tld2 with 12.12.12.12 using CNAMEs
;	11
update add nxc1.sub1.tld2.bl.	300 CNAME a12.tld2.
;	12
update add nxc2.sub1.tld2.bl.	300 CNAME a12-cname.tld2.
;
; prefer the first conflicting zone
;	13
update add a4-4.tld2.bl.	300 A	127.4.4.1
update add a6-1.tld2.bl.	300 CNAME a6-1.tld2.
update add a6-2.tld2.bl.	300 A	127.6.2.1
update add a6-1.tld2.bl.	300 A	127.6.1.1
update add a6-2.tld2.bl.	300 CNAME a6-2.tld2.
send
update add a4-4.tld2.bl-2.	300 A	127.4.4.2
send

; wildcard CNAME
;	16
update add  a3-6.tld2.bl.	300 CNAME *.tld4.
;	17
update add  *.sub1.tld2.bl.	300 CNAME *.tld4.
; CNAME chain
;	18
update add  a4-5.tld2.bl.	300 A	127.0.0.16
; stop at first hit in CNAME chain
;	19
update add  a4-6.tld2.bl.	300 CNAME .
update add  a4-6-cname.tld2.bl.	300 A	127.0.0.17
; no change instead of NXDOMAIN because +norecurse
;	20
update add  a5-2.tld2.bl.	300 CNAME .
; no change instead of NODATA because +norecurse
;	21
update add  a5-3.tld2.bl.	300 CNAME *.
;	22, 23
update add  a5-4.tld2.bl.	300 DNAME example.com.
;
; assert in rbtdb.c
;	24
update	add c1.crash2.tld3.bl.	300 CNAME .
; DO=1 without signatures, DO=0 with signatures are rewritten
;	26 - 27
update add  a0-1.tld2s.bl.	300 CNAME .
;	32
update add  a3-8.tld2.bl.	300 CNAME rpz-drop.
;	33
update add  a3-9.tld2.bl.	300 CNAME rpz-tcp-only.
;	34 qname-wait-recurse yes
update add  x.servfail.bl.	300 A	127.0.0.34
send