/*
 * Copyright (C) 2015, 2016  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/.
 */

include "../../common/rndc.key";

controls {
	inet 10.53.0.8 port 9953 allow { any; } keys { rndc_key; };
};

options {
	query-source address 10.53.0.8;
	notify-source 10.53.0.8;
	transfer-source 10.53.0.8;
	port 5300;
	pid-file "named.pid";
	listen-on { 10.53.0.8; };
	listen-on-v6 { none; };
	recursion no;
	notify no;
	transfer-message-size 1024;
};

key key1. {
	algorithm hmac-md5;
	secret "1234abcd8765";
};

acl tzkey {
	key key1.;
};

zone "example." {
	type master;
	file "example.db";
	allow-transfer { tzkey; };
};
