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

key foo {
	secret "aaaaaaaaaaaa";
	algorithm @DEFAULT_HMAC@;
};

server 10.53.0.10 {
	keys foo;
};

{% include "_common/controls.conf.j2" %}

options {
	{% include_indented "_common/options.conf.j2" %}
	dnssec-validation no;
	deny-answer-addresses { 192.0.2.0/24; 2001:db8:beef::/48; }
		except-from { "example.org"; };
	deny-answer-aliases { "example.org"; }
		except-from {
			"goodcname.example.net";
			"gooddname.example.net";
		};
	allow-query {!10.53.0.8; any; };
	send-cookie yes;
	nocookie-udp-size 512;
};

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

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