/*
 * Copyright (C) 2015-2017  Internet Systems Consortium, Inc. ("ISC")
 *
 * 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 http://mozilla.org/MPL/2.0/.
 */

# common configuration
include "named.conf.header";

view "recursive" {
    zone "." {
	type hint;
	file "root.hint";
    };

    # policy configuration to be tested
    response-policy {
	zone "clientip1";
	zone "clientip2";
    } qname-wait-recurse no
	nsdname-enable yes
	nsip-enable yes;

    # policy zones to be tested
    zone "clientip1" { type master; file "db.clientip1"; };
    zone "clientip2" { type master; file "db.clientip2"; };
};
