Home | History | Annotate | Line # | Download | only in rpz
      1  1.1  christos ; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      2  1.1  christos ;
      3  1.1  christos ; SPDX-License-Identifier: MPL-2.0
      4  1.1  christos ;
      5  1.1  christos ; This Source Code Form is subject to the terms of the Mozilla Public
      6  1.1  christos ; License, v. 2.0.  If a copy of the MPL was not distributed with this
      7  1.1  christos ; file, you can obtain one at https://mozilla.org/MPL/2.0/.
      8  1.1  christos ;
      9  1.1  christos ; See the COPYRIGHT file distributed with this work for additional
     10  1.1  christos ; information regarding copyright ownership.
     11  1.1  christos 
     12  1.1  christos 
     13  1.1  christos 
     14  1.1  christos ; Use comment lines instead of blank lines to combine update requests into
     15  1.1  christos ;	single requests
     16  1.1  christos ; Separate update requests for distinct TLDs with blank lines or 'send'
     17  1.1  christos ; End the file with a blank line or 'send'
     18  1.1  christos 
     19  1.1  christos ; NSDNAME tests
     20  1.1  christos 
     21  1.1  christos server 10.53.0.3 @PORT@
     22  1.1  christos 
     23  1.1  christos ;	3, 4, 5
     24  1.1  christos ; NXDOMAIN for *.sub1.tld2 by NSDNAME
     25  1.1  christos update add  *.sub1.tld2.rpz-nsdname.bl.	300 CNAME .
     26  1.1  christos ;
     27  1.1  christos ;	6
     28  1.1  christos ; walled garden for *.sub2.tld2
     29  1.1  christos update add  *.sub2.tld2.rpz-nsdname.bl.	300 CNAME a12-cname.tld2.
     30  1.1  christos ;
     31  1.1  christos ;	7, 8
     32  1.1  christos ; exempt a3-2.tld2 and anything in 192.168.0.0/24
     33  1.1  christos ;   also checks that IP policies are preferred over NSDNAME policies
     34  1.1  christos update add  a3-2.tld2.bl		300 CNAME a3-2.tld2.
     35  1.1  christos update add  24.0.0.168.192.rpz-ip.bl	300 CNAME 24.0.0.168.192.
     36  1.1  christos ;
     37  1.1  christos ;	9
     38  1.1  christos ; prefer QNAME policy to NSDNAME policy
     39  1.1  christos update add  a4-1.tld2.bl.		300 A 12.12.12.12
     40  1.1  christos ;	10
     41  1.1  christos ; prefer policy for largest NS name
     42  1.1  christos update add  ns.sub3.tld2.rpz-nsdname.bl.	300 A	127.0.0.1
     43  1.1  christos update add  ns.subsub.sub3.tld2.rpz-nsdname.bl. 300 A	127.0.0.2
     44  1.1  christos 
     45  1.1  christos ; ip-as-qname rewrites all of tld5
     46  1.1  christos update add  ns.tld5.bl.			300 A 12.12.12.12
     47  1.1  christos send
     48  1.1  christos 
     49