1 ; Copyright (C) 2000, 2001 Internet Software Consortium.
3 ; Permission to use, copy, modify, and distribute this software for any
4 ; purpose with or without fee is hereby granted, provided that the above
5 ; copyright notice and this permission notice appear in all copies.
7 ; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
8 ; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
9 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
10 ; INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
11 ; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
12 ; FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
13 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
14 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 ; $Id: example,v 1.13 2004/03/19 00:06:37 halley Exp $
20 example IN SOA ns1.example. hostmaster.example. (
22 2000 ; refresh (2000 seconds)
23 2000 ; retry (2000 seconds)
24 1814400 ; expire (3 weeks)
25 3600 ; minimum (1 hour)
27 example. NS ns1.example.
28 ns1.example. A 10.53.0.1
29 example. NS ns2.example.
30 ns2.example. A 10.53.0.2
36 ;; The next line not starting with ';;' is leading whitespace followed by
37 ;; EOL. We want to treat that as if EOL had appeared alone.
39 ;; The next line not starting with ';;' is leading whitespace followed by
40 ;; a comment followed by EOL. We want to treat that as if EOL had appeared
47 ;; XXXRTH dnspython doesn't currently implement A6, and since
48 ;; A6 records are effectively dead, it may never do so.
50 ;;a601 A6 0 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
51 ;; A6 64 ::ffff:ffff:ffff:ffff foo.
54 aaaa01 AAAA ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
56 afsdb01 AFSDB 0 hostname
62 cert01 CERT 65534 65535 PRIVATEOID (
63 MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45IkskceFGgi
64 WCn/GxHhai6VAuHAoNUz4YoU1tVfSCSqQYn6//11U6Nl
65 d80jEeC8aTrO+KKmCaY= )
66 cname01 CNAME cname-target.
67 cname02 CNAME cname-target
72 dhcid01 DHCID ( AAIBY2/AuCccgoJbsaxcQc9TUapptP69l
74 dhcid02 DHCID ( AAEBOSD+XR3Os/0LozeXVqcNc7FwCfQdW
76 dhcid03 DHCID ( AAABxLmlskllE0MVjd57zHcWmEH3pCQ6V
78 dname01 DNAME dname-target.
79 dname02 DNAME dname-target
92 gpos01 GPOS "-22.6882" "116.8652" "250.0"
94 ;; XXXRTH I have commented out the following line because I don't think
95 ;; it is a valid GPOS record.
97 ;;gpos02 GPOS "" "" ""
98 hinfo01 HINFO "Generic PC clone" "NetBSD-1.4"
99 hinfo02 HINFO "PC" "NetBSD"
100 isdn01 ISDN "isdn-address"
101 isdn02 ISDN "isdn-address" "subaddress"
102 isdn03 ISDN "isdn-address"
103 isdn04 ISDN "isdn-address" "subaddress"
104 ;; dnspython no longer supports old DNSSEC
105 ;;key01 KEY 512 255 1 (
106 ;; AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
107 ;; yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
108 ;; GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
110 ;;key02 KEY HOST|FLAG4 DNSSEC RSAMD5 (
111 ;; AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
112 ;; yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
113 ;; GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
117 loc01 LOC 60 9 0.000 N 24 39 0.000 E 10.00m 20m 2000m 20m
118 loc02 LOC 60 9 0.000 N 24 39 0.000 E 10.00m 20m 2000m 20m
119 loc03 LOC 60 9 0.000 N 24 39 0.000 E 10.00m 90000000.00m 2000m 20m
120 loc04 LOC 60 9 1.5 N 24 39 0.000 E 10.00m 20m 2000m 20m
121 loc05 LOC 60 9 1.51 N 24 39 0.000 E 10.00m 20m 2000m 20m
123 ;; XXXRTH These are all obsolete and unused. dnspython doesn't implement
129 ;;minfo01 MINFO rmailbx emailbx
135 naptr01 NAPTR 0 0 "" "" "" .
136 naptr02 NAPTR 65535 65535 "blurgh" "blorf" "blegh" foo.
137 nsap-ptr01 NSAP-PTR foo.
139 nsap01 NSAP 0x47000580005a0000000001e133ffffff00016100
140 nsap02 NSAP 0x47.000580005a0000000001e133ffffff000161.00
141 ;;nxt01 NXT a.secure ( NS SOA MX SIG KEY LOC NXT )
142 ;;nxt02 NXT . ( NSAP-PTR NXT )
144 ;;nxt04 NXT . ( 127 )
146 px01 PX 65535 foo. bar.
148 rp01 RP mbox-dname txt-dname
150 rt01 RT 0 intermediate-host
158 ;;sig01 SIG NXT 1 3 3600 (
159 ;; 20200101000000 20030101000000 2143 foo
160 ;; MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45IkskceFGgi
161 ;; WCn/GxHhai6VAuHAoNUz4YoU1tVfSCSqQYn6//11U6Nl
162 ;; d80jEeC8aTrO+KKmCaY= )
164 srv02 SRV 65535 65535 65535 old-slow-box.example.com.
165 $TTL 301 ; 5 minutes 1 second
169 txt02 TXT "foo" "bar"
171 txt04 TXT "foo" "bar"
175 txt08 TXT "foo\010bar"
176 txt09 TXT "foo\010bar"
182 u TXT "txt-not-in-nxt"
188 wks01 WKS 10.0.0.1 6 ( 0 1 2 21 23 )
189 wks02 WKS 10.0.0.1 17 ( 0 1 2 53 )
190 wks03 WKS 10.0.0.2 6 ( 65535 )
191 x2501 X25 "123456789"
192 dlv01 DLV 12345 3 1 123456789abcdef67890123456789abcdef67890
193 ds01 DS 12345 3 1 123456789abcdef67890123456789abcdef67890
194 apl01 APL 1:192.168.32.0/21 !1:192.168.38.0/28
195 apl02 APL 1:224.0.0.0/4 2:FF00:0:0:0:0:0:0:0/8
196 unknown2 TYPE999 \# 8 0a0000010a000001
197 rrsig01 RRSIG NSEC 1 3 3600 20200101000000 20030101000000 2143 foo MxFcby9k/yvedMfQgKzhH5er0Mu/ vILz45IkskceFGgiWCn/GxHhai6V AuHAoNUz4YoU1tVfSCSqQYn6//11 U6Nld80jEeC8aTrO+KKmCaY=
198 nsec01 NSEC a.secure. A MX RRSIG NSEC TYPE1234
199 nsec02 NSEC . NSAP-PTR NSEC
200 nsec03 NSEC . NSEC TYPE65535
201 dnskey01 DNSKEY 512 255 1 (
202 AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
203 yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
204 GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
206 dnskey02 DNSKEY 257 3 RSAMD5 (
207 AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
208 yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
209 GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
212 ; test known type using unknown RR syntax
214 unknown3 A \# 4 7f000002
215 sshfp1 SSHFP 1 1 aa549bfe898489c02d1715d97d79c57ba2fa76ab
216 spf SPF "v=spf1 mx -all"
217 ipseckey01 IPSECKEY 10 1 2 192.0.2.38 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
218 ipseckey02 IPSECKEY 10 0 2 . AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
219 ipseckey03 IPSECKEY 10 3 2 mygateway.example.com. AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
220 ipseckey04 IPSECKEY 10 2 2 2001:0DB8:0:8002::2000:1 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
221 ipseckey05 IPSECKEY 10 3 2 mygateway2 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ==
222 nsec301 NSEC3 1 1 12 aabbccdd 2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG
223 nsec302 NSEC3 1 1 12 - 2t7b4g4vsa5smi47k61mv5bv1a22bojr MX DNSKEY NS SOA NSEC3PARAM RRSIG
224 nsec3param01 NSEC3PARAM 1 1 12 aabbccdd
225 nsec3param02 NSEC3PARAM 1 1 12 -
226 hip01 HIP 2 200100107B1A74DF365639CC39F1D578 AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D rvs1.example.com. rvs2