74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews/*
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews * Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews *
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews */
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrewsoptions {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews query-source address 10.53.0.1;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews notify-source 10.53.0.1;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews transfer-source 10.53.0.1;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews port 5300;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews pid-file "named.pid";
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews listen-on port 5300 {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews 10.53.0.1;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews };
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews listen-on-v6 { none; };
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews recursion no;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews notify yes;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews};
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrewslogging {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews channel default_log {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews buffered no;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews file "named_vers" versions 5 size 1000; // really small size
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews severity debug 100;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews print-time yes;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews };
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews category default { default_log; default_debug; };
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews category lame-servers { null; };
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews channel query_log {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews file "query_log";
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews print-time yes;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews buffered yes;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews };
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews category queries { query_log; };
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews};
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrewscontrols {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews inet 127.0.0.1 port 9593 allow {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews 127.0.0.1/32; ::1/128; }
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews keys { "rndc-key"; };
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews};
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrewskey "rndc-key" {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews algorithm hmac-sha256;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews secret "Am9vCg==";
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews};
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrewszone "." {
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews type master;
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews file "root.db";
74d98566ed6a2280ea84d146e7c81275f1c5649dMark Andrews};