Home | History | Annotate | Line # | Download | only in rpz
      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 
     15 ; Use comment lines instead of blank lines to combine update requests into
     16 ;	single requests
     17 ; Separate update requests for distinct TLDs with blank lines or 'send'
     18 ; End the file with a blank line or 'send'
     19 ; CNAME targets are absolute even without trailing "."
     20 
     21 ; IP tests
     22 
     23 server 10.53.0.3 @PORT@
     24 
     25 ; NODATA a3-1.tld2
     26 ;	1
     27 update add  32.1.3.168.192.rpz-ip.bl	300 CNAME *.
     28 ;
     29 ; NXDOMAIN for 192.168.4.0/24, the network of a4-1.tld2 and a4-2.tld2
     30 ;	4
     31 update add  24.0.4.168.192.rpz-ip.bl	300 CNAME .
     32 ;
     33 ; old passthru in NXDOMAIN CIDR block to leave a4-1.tld2 unchanged
     34 ;	3
     35 update add  32.1.4.168.192.rpz-ip.bl	300 CNAME 32.1.4.168.192
     36 ;
     37 ; NODATA for a4-3.tld2
     38 ;	8
     39 update add  32.3.4.168.192.rpz-ip.bl	300 CNAME *.
     40 ;
     41 ; NXDOMAIN for IPv6 a3-1.tld2
     42 ;	9
     43 update add  128.1.zz.3.2.2001.rpz-ip.bl	300 CNAME .
     44 ;
     45 ; apply the policy with the lexically smaller trigger address of 192.168.5.1
     46 ; to an RRset of more than one A RR
     47 ;	11
     48 update add  32.1.5.168.192.rpz-ip.bl	300 A	127.0.0.1
     49 update add  32.2.5.168.192.rpz-ip.bl	300 A	127.0.0.2
     50 ;
     51 ; prefer first conflicting IP zone for a5-3.tld2
     52 ;	12
     53 update add 32.3.5.168.192.rpz-ip.bl	300 A	127.0.0.1
     54 ; non canonical form entry to trigger log message
     55 update add  128.2.0.0.0.0.3.2.2001.rpz-ip.bl	300 CNAME .
     56 send
     57 
     58 ;
     59 update add 32.3.5.168.192.rpz-ip.bl-2	300 A	127.0.0.2
     60 send
     61 
     62 ; prefer QNAME to IP for a5-4.tld2
     63 ;	13, 14
     64 update add 32.4.5.168.192.rpz-ip.bl	300 CNAME a12.tld2.
     65 update add a5-4.tld2.bl			300 CNAME a14.tld4.
     66 ;
     67 ; poke hole in NXDOMAIN CIDR block to leave a4-4.tld2 unchanged
     68 ;	15
     69 update add  32.4.4.168.192.rpz-ip.bl	300 CNAME rpz-passthru.
     70 ;
     71 ; assert in rbtdb.c
     72 ;	16
     73 update add 32.16.1.16.172.rpz-ip.bl	300 CNAME .
     74 send
     75 update add c2.crash2.tld3.bl-2		300 A	127.0.0.16
     76 send
     77 
     78 ; client-IP address trigger
     79 ;	17
     80 update add 32.1.0.53.10.rpz-client-ip.bl 300 A	127.0.0.17
     81 send
     82 
     83