test3 revision 9fee08f655527a5dd849b171daeeee1dbbccca76
0N/A; Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
2362N/A;
0N/A; Permission to use, copy, modify, and/or distribute this software for any
0N/A; purpose with or without fee is hereby granted, provided that the above
0N/A; copyright notice and this permission notice appear in all copies.
0N/A;
2362N/A; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
0N/A; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2362N/A; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
0N/A; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
0N/A; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
0N/A; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
0N/A; PERFORMANCE OF THIS SOFTWARE.
0N/A
0N/A; $Id: test3,v 1.5 2011/10/13 01:32:32 vjs Exp $
0N/A
0N/A
0N/A; Use comment lines instead of blank lines to combine update requests into
0N/A; single requests
0N/A; Separate update requests for distinct TLDs with blank lines or 'send'
2362N/A; End the file with a blank line or 'send'
2362N/A
2362N/A; NSDNAME tests
0N/A
0N/Aserver 10.53.0.3 5300
; NXDOMAIN for *.sub1.tld2 by NSDNAME
update add *.sub1.tld2.rpz-nsdname.bl. 300 CNAME .
;
; walled garden for *.sub2.tld2
update add *.sub2.tld2.rpz-nsdname.bl. 300 CNAME a12-cname.tld2.
;
; exempt a3-2.tld2 and anything in 192.168.0.0/24
; also checks that IP policies are preferred over NSDNAME policies
update add a3-2.tld2.bl 300 CNAME a3-2.tld2.
update add 24.0.0.168.192.rpz-ip.bl 300 CNAME 24.0.0.168.192.
;
; prefer QNAME policy to NSDNAME policy
update add a4-1.tld2.bl. 300 A 12.12.12.12
;
; prefer policy for largest NS name
update add ns.sub3.tld2.rpz-nsdname.bl. 300 A 127.0.0.1
update add ns.subsub.sub3.tld2.rpz-nsdname.bl. 300 A 127.0.0.2
send