/*
 * 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.
 */

// NS6

options {
	query-source address 10.53.0.6 dscp 10;
	notify-source 10.53.0.6 dscp 11;
	transfer-source 10.53.0.6 dscp 12;
	port @PORT@;
	pid-file "named.pid";
	listen-on { 10.53.0.6; };
	listen-on-v6 { fd92:7065:b8e:ffff::6; };
	recursion no;
	dnssec-validation no;
	querylog yes;
	statistics-file "named.stats";
	/*
	 * test that named loads with root-delegation-only that
	 * has a exclude list.
	 */
	root-delegation-only exclude { "a"; };
};

zone "." {
	type primary;
	file "root.db";
};

zone "example.net" {
	type primary;
	file "example.net.db.signed";
	allow-update { any; };
};

zone "ds.example.net" {
	type primary;
	file "ds.example.net.db.signed";
	allow-update { any; };
};

zone "to-be-removed.tld" {
	type primary;
	file "to-be-removed.tld.db";
	allow-update { any; };
};

zone "broken" {
	type primary;
	file "broken.db";
	allow-update { any; };
};

zone "redirect.com" {
	type primary;
	file "redirect.com.db";
};

zone "tld1" {
	type primary;
	file "tld1.db";
};

zone "no-edns-version.tld" {
	type primary;
	file "no-edns-version.tld.db";
};

zone "delegation-only" {
	type primary;
	file "delegation-only.db";
};

zone "fetch.tld" {
	type primary;
	file "fetch.tld.db";
};

zone "targetns" {
	type primary;
	file "targetns.db";
};

key rndc_key {
        secret "1234abcd8765";
        algorithm hmac-sha256;
};

controls {
        inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
};
