named.conf revision f592d2f76cac7115038124c510d2ba3050334b4d
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt/*
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt * Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt *
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt * This Source Code Form is subject to the terms of the Mozilla Public
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt * License, v. 2.0. If a copy of the MPL was not distributed with this
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt * file, You can obtain one at http://mozilla.org/MPL/2.0/.
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt */
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt
f592d2f76cac7115038124c510d2ba3050334b4dEvan Huntcontrols { /* empty */ };
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt
f592d2f76cac7115038124c510d2ba3050334b4dEvan Huntoptions {
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt query-source address 10.53.0.5;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt notify-source 10.53.0.5;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt transfer-source 10.53.0.5;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt port 5300;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt pid-file "named.pid";
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt session-keyfile "session.key";
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt listen-on { 10.53.0.5; };
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt recursion no;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt notify yes;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt minimal-responses no;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt};
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt
f592d2f76cac7115038124c510d2ba3050334b4dEvan Huntkey rndc_key {
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt secret "1234abcd8765";
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt algorithm hmac-sha256;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt};
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt
f592d2f76cac7115038124c510d2ba3050334b4dEvan Huntcontrols {
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt inet 10.53.0.5 port 9953 allow { any; } keys { rndc_key; };
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt};
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt
f592d2f76cac7115038124c510d2ba3050334b4dEvan Huntzone "local.nil" {
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt type master;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt file "local.db";
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt update-policy local;
f592d2f76cac7115038124c510d2ba3050334b4dEvan Hunt};