summaryrefslogtreecommitdiffstats
path: root/dnszones/test.ZONEINFO
blob: 13833009b57e010a92b78a92eaa2ff455ca231ba (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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
;
; This is the Qt test zone
;

; Set the TTL to a low value, so redeployment is easy
$TTL	60

; -- MAY NOT MATCH BEGIN --
@			IN SOA nowhere.example.net. hostmaster.example.com. (
				 1	   ; serial
				 10800	   ; refresh (3 hours)
				 60	   ; retry (1 min)
				 60	   ; expire (1 min)
				 60	   ; minimum (1 min)
			       )
			IN NS nowhere.example.net.

; IDN test domain
; This expands to "alqualondë" -- historical reasons
xn--alqualond-34a 86400 IN NS	nowhere.example.net
; -- MAY NOT MATCH END --

localhost		IN A	127.0.0.1
			IN AAAA ::1

; This zone matches the tests for QDnsLookup

; Unless required for other reasons -- specifically, the NS entries --
; all IPv4 and IPv6 addresses should be in one of the test networks
; reserved for testing and documentation. They are:
;   192.0.2.0/24       TEST-NET-1	  (RFC 5737)
;   198.51.100.0/24    TEST-NET-2	  (RFC 5737)
;   203.0.113.0/24     TEST-NET-3	  (RFC 5737)
;   2001::db8::/32     IPV6-DOC-AP	  (RFC 3849)

; Make sure this never exists
; invalid	       -> always NXDOMAIN

; Simple record with one A only
a-single		IN A	192.0.2.1

; Simple record with multiple A records
a-multi			IN A	192.0.2.1
			IN A	192.0.2.2
			IN A	192.0.2.3

; Simple record with one AAAA only
aaaa-single		IN AAAA 2001:db8::1

; Simple record with multiple AAAA records
aaaa-multi		IN AAAA 2001:db8::1
			IN AAAA 2001:db8::2
			IN AAAA 2001:db8::3

; Record with one A and one AAAA
a-plus-aaaa		IN A	198.51.100.1
			IN AAAA 2001:db8::1:1

; Record with multiple A and AAAA entries
multi			IN A	198.51.100.1
			IN A	198.51.100.2
			IN AAAA 2001:db8::1:1
			IN A	198.51.100.3
			IN AAAA 2001:db8::1:2

; MX record
mx-single		IN MX	10 multi
mx-multi		IN MX	10 multi
			IN MX	20 a-single
mx-multi-sameprio	IN MX	10 multi
			IN MX	10 a-single
mx-single-cname		IN MX	10 cname

; CAA records
caa-single              IN CAA  0 issue "example.com"
caa-multi               IN CAA  0 issue "example.org"
                        IN CAA  0 issue "example.com"
caa-issuewild           IN CAA  0 issuewild "example.net"

; CNAME records
cname			IN CNAME multi
cname-cname		IN CNAME cname

; NS record
; Note: NS records must point to valid DNS servers...
ns-single		IN NS ns11.cloudns.net.
ns-multi		IN NS ns11.cloudns.net.
			IN NS ns12.cloudns.net.

; PTR records
ptr-single		IN PTR a-single

; SRV records
; priority 5, weight 0, port 7 (echo)
_echo._tcp.srv-single	IN SRV 5 0 7 multi
; priority 5, multiple weights, port 7 (echo)
_echo._tcp.srv-weighted IN SRV 5 25 7 a-plus-aaaa
			IN SRV 5 75 7 multi
; multiple priorities, weight 0, port 7 (echo)
_echo._tcp.srv-prio	IN SRV 1 0 7 multi
			IN SRV 2 0 7 a-plus-aaaa
; multiple priorities, same weights, port 7 (echo)
_echo._tcp.srv-multi	IN SRV 1 50 7 multi
			IN SRV 2 50 7 a-single
			IN SRV 2 50 7 aaaa-single
			IN SRV 3 50 7 a-multi

; TLSA records
_25._tcp.multi          IN TLSA 3 1 1 0123456789abcdeffedcba98765432100123456789abcdeffedcba9876543210

; TXT records
; TXT records can carry more than one string
txt-single		IN TXT	"Hello"
txt-multi-multirr	IN TXT	"Hello"
			IN TXT	"World"
txt-multi-onerr		IN TXT	"Hello" "World"

; A bit of everything, except what can't be in the same rrset
everything		IN A	192.0.2.4
			IN AAAA 2001:db8::3:0
			IN MX	0 everything
			IN TXT	"Hello World"
			IN SRV	1 0 7 everything
			IN PTR	everything
			; SSH fingerprint
			IN SSHFP 1 1 0000000000000000000000000000000000000000
			IN SSHFP 2 1 0000000000000000000000000000000000000000
			; SPF record
			IN SPF	"v=spf1 a mx -all"
                        ; TLS association
; wrong format, provider doesn't allow it
;                        IN TLSA 3 1 1 0123456789abcdeffedcba98765432100123456789abcdeffedcba9876543210
			; location 0°0'0.1" S, 0°0'0.2" W, 0 m altitude, size 1m, 0 precision
			IN LOC	   0 0 0.1  S  0 0 0.2	W  0m		 1m	  0 0