summaryrefslogtreecommitdiffstats
path: root/bin/tests/system/chain/ns2/example.db
blob: c13f2d22d47d561fc8ce9d89cea446204d4ad58c (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
; 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.

$TTL 300	; 5 minutes
@			IN SOA	mname1. . (
				2000042407 ; serial
				20         ; refresh (20 seconds)
				20         ; retry (20 seconds)
				1814400    ; expire (3 weeks)
				3600       ; minimum (1 hour)
				)
			NS	ns2
ns2			A	10.53.0.2

a.short			A	10.0.0.1
short-dname		DNAME	short
a.longlonglonglonglonglonglonglonglonglonglonglonglong	A 10.0.0.2
long-dname		DNAME	longlonglonglonglonglonglonglonglonglonglonglonglong
toolong-dname		DNAME	longlonglonglonglonglonglonglonglonglonglonglonglong
cname			CNAME	a.cnamedname
cnamedname		DNAME	target
a.target		A	10.0.0.3

; CNAME to delegation
; (unsigned delegations, external and internal)
sub5			NS	ns5.sub5
ns5.sub5		A	10.53.0.5
a			CNAME	a.sub5
sub2			NS	ns2.sub2
ns2.sub2		A	10.53.0.2
b			CNAME	b.sub2

; (signed delegation, external and internal)
; note: these DS records are fake and will not validate; we're only
; testing that the resolver handles their presence in a reply correctly
signed-sub5		NS	ns5.sub5
signed-sub5		DS	44137 8 2 1CB4F54E0B4F4F85109143113A3C679716A2377D86EB0907846A03FB 0C0A3927
c			CNAME	c.signed-sub5
signed-sub2		NS	ns2.sub2
signed-sub2		DS	44137 8 2 1CB4F54E0B4F4F85109143113A3C679716A2377D86EB0907846A03FB 0C0A3927
d			CNAME	d.signed-sub2

; long CNAME loop
loop			CNAME	goop
goop			CNAME	boop
boop			CNAME	soup
soup			CNAME	gump
gump			CNAME	bump
bump			CNAME	lump
lump			CNAME	rump
rump			CNAME	romp
romp			CNAME	bomp
bomp			CNAME	stomp
stomp			CNAME	clomp
clomp			CNAME	clump
clump			CNAME	hunk
hunk			CNAME	hank
hank			CNAME	bank
bank			CNAME	wank
wank			CNAME	woop
woop			CNAME	loop