1251607Sdim/* 2251607Sdim * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3251607Sdim * 4251607Sdim * SPDX-License-Identifier: MPL-2.0 5251607Sdim * 6251607Sdim * This Source Code Form is subject to the terms of the Mozilla Public 7251607Sdim * License, v. 2.0. If a copy of the MPL was not distributed with this 8251607Sdim * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9251607Sdim * 10251607Sdim * See the COPYRIGHT file distributed with this work for additional 11263508Sdim * information regarding copyright ownership. 12251607Sdim */ 13251607Sdim 14251607Sdimoptions { 15251607Sdim port @PORT@; 16251607Sdim pid-file "named.pid"; 17251607Sdim listen-on { 10.53.0.7; }; 18251607Sdim listen-on-v6 { none; }; 19263508Sdim dnssec-validation no; 20263508Sdim}; 21263508Sdim 22263508Sdimkey rndc_key { 23263508Sdim secret "1234abcd8765"; 24251607Sdim algorithm @DEFAULT_HMAC@; 25251607Sdim}; 26251607Sdim 27251607Sdimkey int { 28251607Sdim algorithm @DEFAULT_HMAC@; 29251607Sdim secret "FrSt77yPTFx6hTs4i2tKLB9LmE0="; 30251607Sdim}; 31251607Sdim 32251607Sdimkey ext { 33251607Sdim algorithm @DEFAULT_HMAC@; 34251607Sdim secret "FrSt77yPTFx6hTs4i2tKLB9LmE0="; 35251607Sdim}; 36251607Sdim 37263508Sdimcontrols { 38263508Sdim inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 39263508Sdim}; 40251607Sdim 41251607Sdimview internal { 42263508Sdim match-clients { key "int"; }; 43263508Sdim 44263508Sdim zone "test" { 45263508Sdim type primary; 46263508Sdim update-policy { grant int zonesub any; }; 47263508Sdim file "test.db"; 48263508Sdim ixfr-from-differences yes; 49263508Sdim }; 50263508Sdim}; 51263508Sdim 52263508Sdimview external { 53251607Sdim match-clients { key "ext"; }; 54263508Sdim 55263508Sdim zone "test" { 56251607Sdim in-view internal; 57251607Sdim }; 58251607Sdim}; 59263508Sdim