afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver/*
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * Copyright (C) 2008, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews *
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews */
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver/* $Id: named4.conf,v 1.2 2008/01/10 01:10:01 marka Exp $ */
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
c19cfefe7e345c37ef3bb98b0db2d14fe7b1d583Evan Huntcontrols { /* empty */ };
c19cfefe7e345c37ef3bb98b0db2d14fe7b1d583Evan Hunt
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrewsoptions {
60988462e5d6db53205851d056e3482a29239be9Evan Hunt query-source address 10.53.0.2;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver notify-source 10.53.0.2;
60988462e5d6db53205851d056e3482a29239be9Evan Hunt transfer-source 10.53.0.2;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver port 5300;
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt pid-file "named.pid";
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt listen-on { 10.53.0.2; };
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt listen-on-v6 { none; };
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt recursion no;
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt notify yes;
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt ixfr-from-differences yes;
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt check-integrity no;
9fee08f655527a5dd849b171daeeee1dbbccca76Vernon Schryver};
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews
c19cfefe7e345c37ef3bb98b0db2d14fe7b1d583Evan Huntinclude "../../common/controls.conf";
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
92fe6db3e46016f4ce0d6e372c745469bba10b5eEvan Huntkey one {
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver algorithm hmac-md5;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver secret "1234abcd8765";
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver};
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryverkey two {
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver algorithm hmac-md5;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver secret "1234abcd8765";
cc51cd2d2076e33117c60c9effcb8caccde4983bWitold Krecicki};
cc51cd2d2076e33117c60c9effcb8caccde4983bWitold Krecicki
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryveracl rejectkeys {
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver !key one; !key two; any;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver};
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Huntacl rejectaddrs {
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver !10.53.0.1; !10.53.0.2; any;
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt};
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntacl check1 { !key one; 10.53.0.1; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntacl check2 { !key two; 10.53.0.2; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Huntzone "." {
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt type hint;
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt file "../../common/root.hint";
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt};
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryverzone "example" {
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver type master;
421d4a06479e61fbdc35087f3c4abc9fe65ad72aEvan Hunt file "example.db";
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt};
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "tsigzone" {
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver type master;
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt file "tsigzone.db";
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver allow-transfer { !rejectkeys; !rejectaddrs; !check1; !check2; any; };
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver};
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver