ctdb-tests: Clean up some tests where IP movement is checked
[Samba.git] / lib / dnspython / tests / example
blob2f753a2f7581f96d383ebed968e40beef96cd37a
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 $
18 $ORIGIN .
19 $TTL 300        ; 5 minutes
20 example         IN SOA  ns1.example. hostmaster.example. (
21                                 1          ; serial
22                                 2000       ; refresh (2000 seconds)
23                                 2000       ; retry (2000 seconds)
24                                 1814400    ; expire (3 weeks)
25                                 3600       ; minimum (1 hour)
26                                 )
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
32 $ORIGIN example.
33 *                       MX      10 mail
34 a                       TXT     "foo foo foo"
35                         PTR     foo.net.
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.
38             
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
41 ;; alone.
42                 ; foo   
43 $TTL 3600       ; 1 hour
44 a01                     A       0.0.0.0
45 a02                     A       255.255.255.255
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.
52 ;;                      A6      127 ::1 foo.
53 ;;                      A6      128  .
54 aaaa01                  AAAA    ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
55 aaaa02                  AAAA    ::1
56 afsdb01                 AFSDB   0 hostname
57 afsdb02                 AFSDB   65535 .
58 $TTL 300        ; 5 minutes
59 b                       CNAME   foo.net.
60 c                       A       73.80.65.49
61 $TTL 3600       ; 1 hour
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
68 cname03                 CNAME   .
69 $TTL 300        ; 5 minutes
70 d                       A       73.80.65.49
71 $TTL 3600       ; 1 hour
72 dhcid01                 DHCID   ( AAIBY2/AuCccgoJbsaxcQc9TUapptP69l
73                                   OjxfNuVAA2kjEA= )
74 dhcid02                 DHCID   ( AAEBOSD+XR3Os/0LozeXVqcNc7FwCfQdW
75                                   L3b/NaiUDlW2No= )
76 dhcid03                 DHCID   ( AAABxLmlskllE0MVjd57zHcWmEH3pCQ6V
77                                   ytcKD//7es/deY= )
78 dname01                 DNAME   dname-target.
79 dname02                 DNAME   dname-target
80 dname03                 DNAME   .
81 $TTL 300        ; 5 minutes
82 e                       MX      10 mail
83                         TXT     "one"
84                         TXT     "three"
85                         TXT     "two"
86                         A       73.80.65.49
87                         A       73.80.65.50
88                         A       73.80.65.52
89                         A       73.80.65.51
90 f                       A       73.80.65.52
91 $TTL 3600       ; 1 hour
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.
96 ;; 
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
109 ;;                              jqf0BaqHT+8= )
110 ;;key02                 KEY     HOST|FLAG4 DNSSEC RSAMD5 (
111 ;;                              AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
112 ;;                              yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
113 ;;                              GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
114 ;;                              jqf0BaqHT+8= )
115 kx01                    KX      10 kdc
116 kx02                    KX      10 .
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
124 ;; them
125 ;;mb01                  MG      madname
126 ;;mb02                  MG      .
127 ;;mg01                  MG      mgmname
128 ;;mg02                  MG      .
129 ;;minfo01                       MINFO   rmailbx emailbx
130 ;;minfo02                       MINFO   . .
131 ;;mr01                  MR      mrname
132 ;;mr02                  MR      .
133 mx01                    MX      10 mail
134 mx02                    MX      10 .
135 naptr01                 NAPTR   0 0 "" "" "" .
136 naptr02                 NAPTR   65535 65535 "blurgh" "blorf" "blegh" foo.
137 nsap-ptr01              NSAP-PTR foo.
138                         NSAP-PTR .
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 )
143 ;;nxt03                 NXT     . ( A )
144 ;;nxt04                 NXT     . ( 127 )
145 ptr01                   PTR     example.
146 px01                    PX      65535 foo. bar.
147 px02                    PX      65535 . .
148 rp01                    RP      mbox-dname txt-dname
149 rp02                    RP      . .
150 rt01                    RT      0 intermediate-host
151 rt02                    RT      65535 .
152 $TTL 300        ; 5 minutes
153 s                       NS      ns.s
154 $ORIGIN s.example.
155 ns                      A       73.80.65.49
156 $ORIGIN example.
157 $TTL 3600       ; 1 hour
158 ;;sig01                 SIG     NXT 1 3 3600 (
159 ;;                              20200101000000 20030101000000 2143 foo
160 ;;                              MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45IkskceFGgi
161 ;;                              WCn/GxHhai6VAuHAoNUz4YoU1tVfSCSqQYn6//11U6Nl
162 ;;                              d80jEeC8aTrO+KKmCaY= )
163 srv01                   SRV     0 0 0 .
164 srv02                   SRV     65535 65535 65535 old-slow-box.example.com.
165 $TTL 301        ; 5 minutes 1 second
166 t                       A       73.80.65.49
167 $TTL 3600       ; 1 hour
168 txt01                   TXT     "foo"
169 txt02                   TXT     "foo" "bar"
170 txt03                   TXT     "foo"
171 txt04                   TXT     "foo" "bar"
172 txt05                   TXT     "foo bar"
173 txt06                   TXT     "foo bar"
174 txt07                   TXT     "foo bar"
175 txt08                   TXT     "foo\010bar"
176 txt09                   TXT     "foo\010bar"
177 txt10                   TXT     "foo bar"
178 txt11                   TXT     "\"foo\""
179 txt12                   TXT     "\"foo\""
180 txt13                   TXT     foo
181 $TTL 300        ; 5 minutes
182 u                       TXT     "txt-not-in-nxt"
183 $ORIGIN u.example.
184 a                       A       73.80.65.49
185 b                       A       73.80.65.49
186 $ORIGIN example.
187 $TTL 3600       ; 1 hour
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
205                                 jqf0BaqHT+8= )
206 dnskey02                DNSKEY  257 3 RSAMD5 (
207                                 AQMFD5raczCJHViKtLYhWGz8hMY9UGRuniJDBzC7w0aR
208                                 yzWZriO6i2odGWWQVucZqKVsENW91IOW4vqudngPZsY3
209                                 GvQ/xVA8/7pyFj6b7Esga60zyGW6LFe9r8n6paHrlG5o
210                                 jqf0BaqHT+8= )
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