xref: /minix/external/bsd/bind/dist/bin/tests/system/rpz/test4 (revision 00b67f09)
1; Copyright (C) 2011, 2013  Internet Systems Consortium, Inc. ("ISC")
2;
3; Permission to use, copy, modify, and/or 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.
6;
7; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9; AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13; PERFORMANCE OF THIS SOFTWARE.
14
15
16
17; Use comment lines instead of blank lines to combine update requests into
18;	single requests
19; Separate update requests for distinct TLDs with blank lines or 'send'
20; End the file with a blank line or 'send'
21
22; NSIP tests
23
24server 10.53.0.3 5300
25
26; NXDOMAIN for all of tld2 based on its server IP address
27update add  32.2.0.53.10.rpz-nsip.bl.	300 CNAME .
28;
29; exempt a3-2.tld2 and anything in 192.168.0.0/24
30;   also checks that IP policies are preferred over NSIP policies
31update add  a3-2.tld2.bl		300 CNAME a3-2.tld2.
32update add  24.0.0.168.192.rpz-ip.bl	300 CNAME 24.0.0.168.192.
33;
34; prefer NSIP policy to NSDNAME policy
35update add  ns.tld2.rpz-nsdname.bl.	300 CNAME 10.0.0.1
36send
37