summaryrefslogtreecommitdiff
path: root/lib/dnspython/tests/example
blob: 2f753a2f7581f96d383ebed968e40beef96cd37a (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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
; Copyright (C) 2000, 2001  Internet Software Consortium.
;
; Permission to use, copy, modify, and distribute this software for any
; purpose with or without fee is hereby granted, provided that the above
; copyright notice and this permission notice appear in all copies.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
; INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
; FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

; $Id: example,v 1.13 2004/03/19 00:06:37 halley Exp $

$ORIGIN .
$TTL 300	; 5 minutes
example		IN SOA	ns1.example. hostmaster.example. (
				1	   ; serial
				2000       ; refresh (2000 seconds)
				2000       ; retry (2000 seconds)
				1814400    ; expire (3 weeks)
				3600       ; minimum (1 hour)
				)
example.		NS	ns1.example.
ns1.example.	A	10.53.0.1
example.		NS	ns2.example.
ns2.example.	A	10.53.0.2

$ORIGIN example.
*			MX	10 mail
a			TXT	"foo foo foo"
			PTR	foo.net.
;; The next line not starting with ';;' is leading whitespace followed by
;; EOL.  We want to treat that as if EOL had appeared alone.
   	    
;; The next line not starting with ';;' is leading whitespace followed by
;; a comment followed by EOL.  We want to treat that as if EOL had appeared
;; alone.
		; foo	
$TTL 3600	; 1 hour
a01			A	0.0.0.0
a02			A	255.255.255.255
;;
;; XXXRTH dnspython doesn't currently implement A6, and since
;; A6 records are effectively dead, it may never do so.
;;
;;a601			A6	0 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
;;			A6	64 ::ffff:ffff:ffff:ffff foo.
;;			A6	127 ::1 foo.
;;			A6	128  .
aaaa01			AAAA	ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
aaaa02			AAAA	::1
afsdb01			AFSDB	0 hostname
afsdb02			AFSDB	65535 .
$TTL 300	; 5 minutes
b			CNAME	foo.net.
c			A	73.80.65.49
$TTL 3600	; 1 hour
cert01			CERT	65534 65535 PRIVATEOID (
				MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45IkskceFGgi
				WCn/GxHhai6VAuHAoNUz4YoU1tVfSCSqQYn6//11U6Nl
				d80jEeC8aTrO+KKmCaY= )
cname01			CNAME	cname-target.
cname02			CNAME	cname-target
cname03			CNAME	.
$TTL 300	; 5 minutes
d			A	73.80.65.49
$TTL 3600	; 1 hour
dhcid01			DHCID	( AAIBY2/AuCccgoJbsaxcQc9TUapptP69l
			          OjxfNuVAA2kjEA= )
dhcid02			DHCID   ( AAEBOSD+XR3Os/0LozeXVqcNc7FwCfQdW
                        	  L3b/NaiUDlW2No= )
dhcid03			DHCID	( AAABxLmlskllE0MVjd57zHcWmEH3pCQ6V
                                  ytcKD//7es/deY= )
dname01			DNAME	dname-target.
dname02			DNAME	dname-target
dname03			DNAME	.
$TTL 300	; 5 minutes
e			MX	10 mail
			TXT	"one"
			TXT	"three"
			TXT	"two"
			A	73.80.65.49
			A	73.80.65.50
			A	73.80.65.52
			A	73.80.65.51
f			A	73.80.65.52
$TTL 3600	; 1 hour
gpos01			GPOS	"-22.6882" "116.8652" "250.0"
;;
;; XXXRTH  I have commented out the following line because I don't think
;; it is a valid GPOS record.
;; 
;;gpos02			GPOS	"" "" ""
hinfo01			HINFO	"Generic PC clone" "NetBSD-1.4"
hinfo02			HINFO	"PC" "NetBSD"
isdn01			ISDN	"isdn-address"
isdn02			ISDN	"isdn-address" "subaddress"
isdn03			ISDN	"isdn-address"
isdn04			ISDN	"isdn-address" "subaddress"
;; dnspython no longer supports old DNSSEC
;;key01			KEY	512 255 1 (
;;				AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
;;				yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
;;				GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
;;				jqf0BaqHT+8= )
;;key02			KEY	HOST|FLAG4 DNSSEC RSAMD5 (
;;				AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
;;				yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
;;				GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
;;				jqf0BaqHT+8= )
kx01			KX	10 kdc
kx02			KX	10 .
loc01			LOC	60 9 0.000 N 24 39 0.000 E 10.00m 20m 2000m 20m
loc02			LOC	60 9 0.000 N 24 39 0.000 E 10.00m 20m 2000m 20m
loc03			LOC	60 9 0.000 N 24 39 0.000 E 10.00m 90000000.00m 2000m 20m
loc04			LOC	60 9 1.5 N 24 39 0.000 E 10.00m 20m 2000m 20m
loc05			LOC	60 9 1.51 N 24 39 0.000 E 10.00m 20m 2000m 20m
;;
;; XXXRTH  These are all obsolete and unused.  dnspython doesn't implement
;; them
;;mb01			MG	madname
;;mb02			MG	.
;;mg01			MG	mgmname
;;mg02			MG	.
;;minfo01			MINFO	rmailbx emailbx
;;minfo02			MINFO	. .
;;mr01			MR	mrname
;;mr02			MR	.
mx01			MX	10 mail
mx02			MX	10 .
naptr01			NAPTR	0 0 "" "" "" .
naptr02			NAPTR	65535 65535 "blurgh" "blorf" "blegh" foo.
nsap-ptr01		NSAP-PTR foo.
			NSAP-PTR .
nsap01			NSAP	0x47000580005a0000000001e133ffffff00016100
nsap02			NSAP	0x47.000580005a0000000001e133ffffff000161.00
;;nxt01			NXT	a.secure ( NS SOA MX SIG KEY LOC NXT )
;;nxt02			NXT	. ( NSAP-PTR NXT )
;;nxt03			NXT	. ( A )
;;nxt04			NXT	. ( 127 )
ptr01			PTR	example.
px01			PX	65535 foo. bar.
px02			PX	65535 . .
rp01			RP	mbox-dname txt-dname
rp02			RP	. .
rt01			RT	0 intermediate-host
rt02			RT	65535 .
$TTL 300	; 5 minutes
s			NS	ns.s
$ORIGIN s.example.
ns			A	73.80.65.49
$ORIGIN example.
$TTL 3600	; 1 hour
;;sig01			SIG	NXT 1 3 3600 (
;;				20200101000000 20030101000000 2143 foo
;;				MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45IkskceFGgi
;;				WCn/GxHhai6VAuHAoNUz4YoU1tVfSCSqQYn6//11U6Nl
;;				d80jEeC8aTrO+KKmCaY= )
srv01			SRV	0 0 0 .
srv02			SRV	65535 65535 65535 old-slow-box.example.com.
$TTL 301	; 5 minutes 1 second
t			A	73.80.65.49
$TTL 3600	; 1 hour
txt01			TXT	"foo"
txt02			TXT	"foo" "bar"
txt03			TXT	"foo"
txt04			TXT	"foo" "bar"
txt05			TXT	"foo bar"
txt06			TXT	"foo bar"
txt07			TXT	"foo bar"
txt08			TXT	"foo\010bar"
txt09			TXT	"foo\010bar"
txt10			TXT	"foo bar"
txt11			TXT	"\"foo\""
txt12			TXT	"\"foo\""
txt13			TXT	foo
$TTL 300	; 5 minutes
u			TXT	"txt-not-in-nxt"
$ORIGIN u.example.
a			A	73.80.65.49
b			A	73.80.65.49
$ORIGIN example.
$TTL 3600	; 1 hour
wks01			WKS	10.0.0.1 6 ( 0 1 2 21 23 )
wks02			WKS	10.0.0.1 17 ( 0 1 2 53 )
wks03			WKS	10.0.0.2 6 ( 65535 )
x2501			X25	"123456789"
dlv01			DLV	12345 3 1 123456789abcdef67890123456789abcdef67890
ds01			DS	12345 3 1 123456789abcdef67890123456789abcdef67890
apl01			APL	1:192.168.32.0/21 !1:192.168.38.0/28
apl02			APL	1:224.0.0.0/4 2:FF00:0:0:0:0:0:0:0/8
unknown2		TYPE999	\# 8 0a0000010a000001
rrsig01			RRSIG	NSEC 1 3 3600 20200101000000 20030101000000 2143 foo MxFcby9k/yvedMfQgKzhH5er0Mu/ vILz45IkskceFGgiWCn/GxHhai6V AuHAoNUz4YoU1tVfSCSqQYn6//11 U6Nld80jEeC8aTrO+KKmCaY=
nsec01			NSEC	a.secure. A MX RRSIG NSEC TYPE1234
nsec02			NSEC	. NSAP-PTR NSEC
nsec03			NSEC 	. NSEC TYPE65535
dnskey01		DNSKEY	512 255 1 (
				AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
				yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
				GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
				jqf0BaqHT+8= )
dnskey02		DNSKEY	257 3 RSAMD5 (
				AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
				yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
				GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
				jqf0BaqHT+8= )
;
; test known type using unknown RR syntax
;
unknown3		A	\# 4 7f000002
sshfp1			SSHFP	1 1 aa549bfe898489c02d1715d97d79c57ba2fa76ab
spf			SPF	"v=spf1 mx -all"
ipseckey01		IPSECKEY 10 1 2 192.0.2.38 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
ipseckey02		IPSECKEY 10 0 2 . AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
ipseckey03		IPSECKEY 10 3 2 mygateway.example.com. AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
ipseckey04		IPSECKEY 10 2 2 2001:0DB8:0:8002::2000:1 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
ipseckey05		IPSECKEY 10 3 2 mygateway2 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
nsec301			NSEC3 1 1 12 aabbccdd 2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG
nsec302			NSEC3 1 1 12 - 2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG
nsec3param01		NSEC3PARAM 1 1 12 aabbccdd
nsec3param02		NSEC3PARAM 1 1 12 -
hip01			HIP 2 200100107B1A74DF365639CC39F1D578 AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D rvs1.example.com. rvs2