named.conf.in revision 1.1.1.3
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 14key "update.example." { 15 algorithm "hmac-md5"; 16 secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K"; 17}; 18 19options { 20 query-source address 10.53.0.1; 21 notify-source 10.53.0.1; 22 transfer-source 10.53.0.1; 23 port @PORT@; 24 pid-file "named.pid"; 25 listen-on { 10.53.0.1; }; 26 listen-on-v6 { none; }; 27 recursion yes; 28 notify yes; 29}; 30 31zone "example" { 32 type primary; 33 file "example.db"; 34 allow-update { key update.example.; 10.53.0.3; }; 35}; 36 37zone "example2" { 38 type primary; 39 file "example2.db"; 40 allow-update { key sig0.example2.; }; 41}; 42