named.conf revision be3f14af79e1ec6b464e196d3653a455cec4bac2
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews/*
53e8ebc8f0f7315d4af29401a856d45f10ee2bd8Tinderbox User * Copyright (C) 2005, 2007, 2011-2013 Internet Systems Consortium, Inc. ("ISC")
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews *
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater * Permission to use, copy, modify, and/or distribute this software for any
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * purpose with or without fee is hereby granted, provided that the above
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * copyright notice and this permission notice appear in all copies.
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews *
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews * PERFORMANCE OF THIS SOFTWARE.
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews */
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews
d03bc586b95ffdc6ade3af4ef420ec880012575dAutomatic Updater/* $Id: named.conf,v 1.9 2012/02/14 23:47:15 tbox Exp $ */
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews// NS1
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrewscontrols { /* empty */ };
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrewsoptions {
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews pid-file "named.pid";
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews listen-on port 5300 { 10.53.0.1; };
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt port 5300;
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews listen-on-v6 { none; };
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews recursion no;
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews notify no;
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews dnssec-enable yes;
be3f14af79e1ec6b464e196d3653a455cec4bac2Evan Hunt session-keyfile "session.key";
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews};
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Huntkey rndc_key {
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt secret "1234abcd8765";
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt algorithm hmac-sha256;
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt};
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Huntcontrols {
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt};
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrewszone "example" {
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews type master;
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews masterfile-format raw;
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews file "example.db.raw";
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews};
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt
b4d8192d210290112e07b0e22b491c45c50ba696Evan Huntzone "compat-example" {
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt type master;
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt masterfile-format raw;
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt file "example.db.compat";
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt};
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Huntzone "transfer1" {
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt type master;
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt file "example.db";
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt allow-transfer { any; };
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt};
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Huntzone "transfer2" {
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt type master;
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt file "example.db";
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt allow-transfer { any; };
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt};
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Huntzone "transfer3" {
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt type master;
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt file "example.db";
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt allow-transfer { any; };
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt};
4c34112a69735364713758c8a22f753389fd1753Mark Andrews
4c34112a69735364713758c8a22f753389fd1753Mark Andrewszone "large" {
4c34112a69735364713758c8a22f753389fd1753Mark Andrews type master;
4c34112a69735364713758c8a22f753389fd1753Mark Andrews file "large.db.raw";
4c34112a69735364713758c8a22f753389fd1753Mark Andrews masterfile-format raw;
4c34112a69735364713758c8a22f753389fd1753Mark Andrews allow-transfer { any; };
4c34112a69735364713758c8a22f753389fd1753Mark Andrews};
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Huntzone "signed" {
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt type master;
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt file "signed.db.map";
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt masterfile-format map;
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt allow-transfer { any; };
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt update-policy local;
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt auto-dnssec maintain;
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt};