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

options {
	query-source address 10.53.0.1;
	notify-source 10.53.0.1;
	transfer-source 10.53.0.1;
	port 5300;
	pid-file "named.pid";
	listen-on port 5300 {
		10.53.0.1;
	};
	listen-on-v6 { none; };
	recursion no;
	notify yes;
};

logging {
	channel default_log {
	  buffered no;
	  file "named_vers" versions 5 size 1000;	// really small size
	  severity debug 100;
	  print-time yes;
	};
	category default { default_log; default_debug; };
	category lame-servers { null; };

	channel query_log {
	  file "query_log";
	  print-time yes;
	  buffered yes;
	};
	category queries { query_log; };
};

controls {
    inet 127.0.0.1 port 9593 allow {
			 127.0.0.1/32; ::1/128; }
			 keys { "rndc-key"; };
};

key "rndc-key" {
	algorithm hmac-sha256;
	secret "Am9vCg==";
};


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