cfd262045c23cadb8415f0111f56995258f17361Evan Hunt/*
8b074bef0ccb6ea12df214a81ff73d2a581280e1Tinderbox User * Copyright (C) 2010, 2011, 2016 Internet Systems Consortium, Inc. ("ISC")
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark 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/.
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt */
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt
cfd262045c23cadb8415f0111f56995258f17361Evan Huntcontrols { /* empty */ };
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt
cfd262045c23cadb8415f0111f56995258f17361Evan Huntinclude "../../common/controls.conf";
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt
cfd262045c23cadb8415f0111f56995258f17361Evan Huntoptions {
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt port 5300;
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt pid-file "named.pid";
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt listen-on { 10.53.0.2; 10.53.0.4; };
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt listen-on-v6 { none; };
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt recursion no;
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt};
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt
cfd262045c23cadb8415f0111f56995258f17361Evan Huntview internal {
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt match-clients { 10.53.0.2; };
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt allow-new-zones no;
8b074bef0ccb6ea12df214a81ff73d2a581280e1Tinderbox User recursion yes;
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt response-policy { zone "policy"; };
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt zone "." {
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt type hint;
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt file "../../common/root.hint";
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt };
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt zone "policy" {
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt type master;
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt file "normal.db";
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt };
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt};
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt
cfd262045c23cadb8415f0111f56995258f17361Evan Huntview external {
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt match-clients { any; };
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt allow-new-zones yes;
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt zone "." {
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt type hint;
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt file "../../common/root.hint";
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt };
cfd262045c23cadb8415f0111f56995258f17361Evan Hunt};
e7220c9b841bbd3d16736726f786a86fec3c0e18Evan Hunt
e7220c9b841bbd3d16736726f786a86fec3c0e18Evan Hunt# This view is only here to test that configuration context is cleaned
e7220c9b841bbd3d16736726f786a86fec3c0e18Evan Hunt# up correctly when using multiple named ACLs (regression test for RT #22739)
e7220c9b841bbd3d16736726f786a86fec3c0e18Evan Huntacl match { none; };
e7220c9b841bbd3d16736726f786a86fec3c0e18Evan Huntacl nobody { none; };
e7220c9b841bbd3d16736726f786a86fec3c0e18Evan Huntview extra {
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt match-clients { match; };
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt allow-new-zones yes;
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt allow-transfer { nobody; };
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt allow-query { nobody; };
ec450fde7cee684f37b0a59d770330c700419610Evan Hunt allow-recursion { nobody; };
e7220c9b841bbd3d16736726f786a86fec3c0e18Evan Hunt};