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 14options { 15 port @PORT@; 16 pid-file "named.pid"; 17 listen-on { 10.53.0.7; }; 18 listen-on-v6 { none; }; 19}; 20 21key rndc_key { 22 secret "1234abcd8765"; 23 algorithm hmac-sha256; 24}; 25 26key int { 27 algorithm @DEFAULT_HMAC@; 28 secret "FrSt77yPTFx6hTs4i2tKLB9LmE0="; 29}; 30 31key ext { 32 algorithm @DEFAULT_HMAC@; 33 secret "FrSt77yPTFx6hTs4i2tKLB9LmE0="; 34}; 35 36controls { 37 inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 38}; 39 40view internal { 41 match-clients { key "int"; }; 42 43 zone "test" { 44 type primary; 45 update-policy { grant int zonesub any; }; 46 file "test.db"; 47 ixfr-from-differences yes; 48 }; 49}; 50 51view external { 52 match-clients { key "ext"; }; 53 54 zone "test" { 55 in-view internal; 56 }; 57}; 58