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 
     20 server 10.53.0.3 @PORT@
     21 
     22 ; QNAME tests
     23 
     24 ; NXDOMAIN
     25 ;	2, 25
     26 update add  a0-1.tld2.bl.	300 CNAME .
     27 ; NODATA
     28 ;	3
     29 update add  a3-1.tld2.bl.	300 CNAME *.
     30 ; and no assert-botch
     31 ;	4, 5
     32 update add  a3-2.tld2.bl.	300 DNAME example.com.
     33 ;
     34 ; NXDOMAIN for a4-2-cname.tld2 via its target a4-2.tld2.
     35 ;	6 and 7
     36 update add  a4-2.tld2.bl	300 CNAME .
     37 ;	8
     38 ; NODATA for a4-3-cname.tld2 via its target a4-3.tld2.
     39 update add  a4-3.tld2.bl	300 CNAME *.
     40 ;
     41 ; replace the A for a4-1.sub1.tld2 with 12.12.12.12
     42 ;	9
     43 update add  a4-1.sub1.tld2.bl.	300 A 12.12.12.12
     44 ;
     45 ; replace the A for *.sub2.tld2 with 12.12.12.12
     46 ;	10
     47 update add  a4-1.sub2.tld2.bl.	300 A 12.12.12.12
     48 ;
     49 ; replace NXDOMAIN for {nxc1,nxc2}.sub1.tld2 with 12.12.12.12 using CNAMEs
     50 ;	11
     51 update add nxc1.sub1.tld2.bl.	300 CNAME a12.tld2.
     52 ;	12
     53 update add nxc2.sub1.tld2.bl.	300 CNAME a12-cname.tld2.
     54 ;
     55 ; prefer the first conflicting zone
     56 ;	13
     57 update add a4-4.tld2.bl.	300 A	127.4.4.1
     58 update add a6-1.tld2.bl.	300 CNAME a6-1.tld2.
     59 update add a6-2.tld2.bl.	300 A	127.6.2.1
     60 update add a6-1.tld2.bl.	300 A	127.6.1.1
     61 update add a6-2.tld2.bl.	300 CNAME a6-2.tld2.
     62 send
     63 update add a4-4.tld2.bl-2.	300 A	127.4.4.2
     64 send
     65 
     66 ; wildcard CNAME
     67 ;	16
     68 update add  a3-6.tld2.bl.	300 CNAME *.tld4.
     69 ;	17
     70 update add  *.sub1.tld2.bl.	300 CNAME *.tld4.
     71 ; CNAME chain
     72 ;	18
     73 update add  a4-5.tld2.bl.	300 A	127.0.0.16
     74 ; stop at first hit in CNAME chain
     75 ;	19
     76 update add  a4-6.tld2.bl.	300 CNAME .
     77 update add  a4-6-cname.tld2.bl.	300 A	127.0.0.17
     78 ; no change instead of NXDOMAIN because +norecurse
     79 ;	20
     80 update add  a5-2.tld2.bl.	300 CNAME .
     81 ; no change instead of NODATA because +norecurse
     82 ;	21
     83 update add  a5-3.tld2.bl.	300 CNAME *.
     84 ;	22, 23
     85 update add  a5-4.tld2.bl.	300 DNAME example.com.
     86 ;
     87 ; assert in rbtdb.c
     88 ;	24
     89 update	add c1.crash2.tld3.bl.	300 CNAME .
     90 ; DO=1 without signatures, DO=0 with signatures are rewritten
     91 ;	26 - 27
     92 update add  a0-1.tld2s.bl.	300 CNAME .
     93 ;	32
     94 update add  a3-8.tld2.bl.	300 CNAME rpz-drop.
     95 ;	33
     96 update add  a3-9.tld2.bl.	300 CNAME rpz-tcp-only.
     97 ;	34 qname-wait-recurse yes
     98 update add  x.servfail.bl.	300 A	127.0.0.34
     99 send
    100 
    101