named.conf.in revision 1.1.1.5
1/* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * SPDX-License-Identifier: MPL-2.0 5 * 6 * This Source Code Form is subject to the terms of the Mozilla Public 7 * License, v. 2.0. If a copy of the MPL was not distributed with this 8 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9 * 10 * See the COPYRIGHT file distributed with this work for additional 11 * information regarding copyright ownership. 12 */ 13 14// NS3 15 16options { 17 pid-file "named.pid"; 18 listen-on port @PORT@ { 10.53.0.3; }; 19 port @PORT@; 20 listen-on-v6 { none; }; 21 recursion no; 22 notify no; 23 dnssec-validation no; 24}; 25 26key rndc_key { 27 secret "1234abcd8765"; 28 algorithm @DEFAULT_HMAC@; 29}; 30 31controls { 32 inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 33}; 34 35zone "example" { 36 type primary; 37 masterfile-format raw; 38 file "example.db.raw"; 39}; 40 41zone "dynamic" { 42 type primary; 43 masterfile-format raw; 44 file "dynamic.db.raw"; 45 allow-update { any; }; 46}; 47