xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/rpz/test4 (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
1; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2;
3; SPDX-License-Identifier: MPL-2.0
4;
5; This Source Code Form is subject to the terms of the Mozilla Public
6; License, v. 2.0.  If a copy of the MPL was not distributed with this
7; file, you can obtain one at https://mozilla.org/MPL/2.0/.
8;
9; See the COPYRIGHT file distributed with this work for additional
10; information regarding copyright ownership.
11
12
13
14; Use comment lines instead of blank lines to combine update requests into
15;	single requests
16; Separate update requests for distinct TLDs with blank lines or 'send'
17; End the file with a blank line or 'send'
18
19; NSIP tests
20
21server 10.53.0.3 @PORT@
22
23; NXDOMAIN for all of tld2 based on its server IP address
24update add  32.2.0.53.10.rpz-nsip.bl.	300 CNAME .
25;
26; exempt a3-2.tld2 and anything in 192.168.0.0/24
27;   also checks that IP policies are preferred over NSIP policies
28update add  a3-2.tld2.bl		300 CNAME a3-2.tld2.
29update add  24.0.0.168.192.rpz-ip.bl	300 CNAME 24.0.0.168.192.
30;
31; prefer NSIP policy to NSDNAME policy
32update add  ns.tld2.rpz-nsdname.bl.	300 CNAME 10.0.0.1
33
34; ip-as-ns rewrites all of tld5
35update add  32.5.0.53.10.rpz-ip.bl.	300 A 12.12.12.12
36send
37