named.conf revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2009, 2010, 2016 Internet Systems Consortium, Inc. ("ISC")
351b62535d4c4f89883bfdba025999dd32490266Evan 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/.
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt */
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt/* $Id: named.conf,v 1.6 2010/01/07 23:48:53 tbox Exp $ */
83a28ca274521e15086fc39febde507bcc4e145eMark Andrews
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt// NS2
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntcontrols { /* empty */ };
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntinclude "trusted.conf";
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan Huntoptions {
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt query-source address 10.53.0.2;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt notify-source 10.53.0.2;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt transfer-source 10.53.0.2;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt port 5300;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt pid-file "named.pid";
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt listen-on { 10.53.0.2; };
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt listen-on-v6 { none; };
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt recursion no;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt notify yes;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt dnssec-enable yes;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt dnssec-validation yes;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt};
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
351b62535d4c4f89883bfdba025999dd32490266Evan Huntzone "." {
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt type hint;
938440694b33cd752e9e4b71a526368b4811c177Tinderbox User file "../../common/root.hint";
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User};
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
351b62535d4c4f89883bfdba025999dd32490266Evan Huntzone "example" {
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt type master;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt file "example.db.signed";
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt};
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntzone "example.com" {
46bc64f4b1a0e84ab0397943453fe83a17baf2c4Evan Hunt type master;
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt file "example.com.db.signed";
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt allow-update { 10.53.0.0/8; };
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt};
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
46bc64f4b1a0e84ab0397943453fe83a17baf2c4Evan Huntzone "good" {
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt type master;
351b62535d4c4f89883bfdba025999dd32490266Evan Hunt file "forgery.db";
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt allow-query { any; };
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt};
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt