Blame bin/tests/system/rpzrecurse/ns2/named.clientip.conf

Packit Service ae04f2
/*
Packit Service ae04f2
 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
Packit Service ae04f2
 *
Packit Service ae04f2
 * This Source Code Form is subject to the terms of the Mozilla Public
Packit Service ae04f2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
Packit Service ae04f2
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit Service ae04f2
 *
Packit Service ae04f2
 * See the COPYRIGHT file distributed with this work for additional
Packit Service ae04f2
 * information regarding copyright ownership.
Packit Service ae04f2
 */
Packit Service ae04f2
Packit Service ae04f2
# common configuration
Packit Service ae04f2
include "named.conf.header";
Packit Service ae04f2
Packit Service ae04f2
view "recursive" {
Packit Service ae04f2
    zone "." {
Packit Service ae04f2
	type hint;
Packit Service ae04f2
	file "root.hint";
Packit Service ae04f2
    };
Packit Service ae04f2
Packit Service ae04f2
    # policy configuration to be tested
Packit Service ae04f2
    response-policy {
Packit Service ae04f2
	zone "clientip1";
Packit Service ae04f2
	zone "clientip2";
Packit Service ae04f2
    } qname-wait-recurse no;
Packit Service ae04f2
Packit Service ae04f2
    # policy zones to be tested
Packit Service ae04f2
    zone "clientip1" { type master; file "db.clientip1"; };
Packit Service ae04f2
    zone "clientip2" { type master; file "db.clientip2"; };
Packit Service ae04f2
};