This adds rudimentary test for response-policy zones in multiple
views. Different combinations are tested:
- two views with response-policy inherited from options {};
- two views view explicit response-policy using same RPZ zone name
- two views view explicit response-policy using secondary RPZ zone
31 lines
801 B
Plaintext
31 lines
801 B
Plaintext
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
;
|
|
; SPDX-License-Identifier: MPL-2.0
|
|
;
|
|
; This Source Code Form is subject to the terms of the Mozilla Public
|
|
; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
; file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
;
|
|
; See the COPYRIGHT file distributed with this work for additional
|
|
; information regarding copyright ownership.
|
|
|
|
$TTL 300
|
|
. IN SOA gson.nominum.com. a.root.servers.nil. (
|
|
2000042100 ; serial
|
|
600 ; refresh
|
|
600 ; retry
|
|
1200 ; expire
|
|
600 ; minimum
|
|
)
|
|
. NS ns1.allowed
|
|
|
|
|
|
allowed. NS ns1.allowed.
|
|
ns1.allowed. A 10.53.0.2
|
|
|
|
baddomain. NS ns1.baddomain.
|
|
ns1.baddomain. A 10.53.0.2
|
|
|
|
gooddomain. NS ns1.gooddomain.
|
|
ns1.gooddomain. A 10.53.0.2
|