test1 revision 7b4b6f361b2fb2291c2019b377a9c0c8e80cfd6b
1516N/A; Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
1516N/A;
1516N/A; Permission to use, copy, modify, and/or distribute this software for any
1516N/A; purpose with or without fee is hereby granted, provided that the above
1516N/A; copyright notice and this permission notice appear in all copies.
1516N/A;
1516N/A; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1516N/A; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1516N/A; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1516N/A; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1516N/A; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1516N/A; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1516N/A; PERFORMANCE OF THIS SOFTWARE.
1516N/A
1516N/A; $Id: test1,v 1.7 2011/10/28 11:46:49 marka Exp $
1516N/A
1516N/A
1516N/A; Use comment lines instead of blank lines to combine update requests into
1516N/A; single requests
1516N/A; Separate update requests for distinct TLDs with blank lines or 'send'
1516N/A; End the file with a blank line or 'send'
1516N/A
5585N/Aserver 10.53.0.3 5300
1516N/A
5680N/A; QNAME tests
1516N/A
1516N/A; NXDOMAIN
1516N/Aupdate add a0-1.tld2.bl. 300 CNAME .
5585N/A;
1516N/A; NODATA
1516N/Aupdate add a3-1.tld2.bl. 300 CNAME *.
5585N/A; and no assert-botch
5585N/A; 5
1516N/Aupdate add a3-2.tld2.bl. 300 DNAME example.com.
5585N/A;
2899N/A; NXDOMAIN for a4-2-cname.tld2 via its target a4-2.tld2.
5680N/A; 6 and 7
5680N/Aupdate add a4-2.tld2.bl 300 CNAME .
5680N/A; 8
1516N/A; NODATA for a4-3-cname.tld2 via its target a4-3.tld2.
1516N/Aupdate add a4-3.tld2.bl 300 CNAME *.
1516N/A;
1516N/A; replace the A for a4-1.sub1.tld2 with 12.12.12.12
1516N/A; 9
1516N/Aupdate add a4-1.sub1.tld2.bl. 300 A 12.12.12.12
1516N/A;
3817N/A; replace the A for *.sub2.tld2 with 12.12.12.12
3817N/A; 10
3817N/Aupdate add a4-1.sub2.tld2.bl. 300 A 12.12.12.12
;
; replace NXDOMAIN for {nxc1,nxc2}.sub1.tld2 with 12.12.12.12 using CNAMEs
; 11
update add nxc1.sub1.tld2.bl. 300 CNAME a12.tld2.
; 12
update add nxc2.sub1.tld2.bl. 300 CNAME a12-cname.tld2.
;
; prefer the first conflicting zone
; 13
update add a4-4.tld2.bl. 300 A 127.0.0.1
send
update add a4-4.tld2.bl-2. 300 A 127.0.0.2
send
;
; wildcard CNAME
; 14
update add a3-6.tld2.bl. 300 CNAME *.tld4.
; 15
update add *.sub1.tld2.bl. 300 CNAME *.tld4.
; CNAME chains
; 16
update add a4-5.tld2.bl. 300 A 127.0.0.16
; 17
update add a4-6.tld2.bl. 300 CNAME .
update add a4-6-cname.tld2.bl. 300 A 127.0.0.17
; 18
update add c1.crash2.tld3.bl. 300 CNAME .
send