named.conf revision 1c02dd9dd94c95a9a59bb6c10b669fb790853b10
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt/*
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * Copyright (C) 2010-2013 Internet Systems Consortium, Inc. ("ISC")
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt *
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt * Permission to use, copy, modify, and/or distribute this software for any
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * purpose with or without fee is hereby granted, provided that the above
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * copyright notice and this permission notice appear in all copies.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt *
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt * PERFORMANCE OF THIS SOFTWARE.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt */
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt/* $Id: named.conf,v 1.6 2012/02/09 23:47:18 tbox Exp $ */
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt// NS4
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntcontrols { /* empty */ };
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntoptions {
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt query-source address 10.53.0.4 dscp 4;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt notify-source 10.53.0.4 dscp 5;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt transfer-source 10.53.0.4 dscp 6;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt port 5300;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt pid-file "named.pid";
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt listen-on { 10.53.0.4; };
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt listen-on-v6 { none; };
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt recursion no;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt // minimal-responses yes;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt /* test that named loads with root-delegation-only */
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt root-delegation-only;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt};
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntzone "." {
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt type master;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt file "root.db";
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt};
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntzone "moves" {
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt type master;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt file "moves.db";
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt};
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntzone "child.server" {
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt type master;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt file "child.server.db";
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt};
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntzone "tld" {
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt type master;
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt file "tld.db";
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt};
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Huntzone "broken" {
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt type master;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt file "broken.db";
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt};
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Huntkey rndc_key {
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt secret "1234abcd8765";
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt algorithm hmac-sha256;
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt};
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Huntcontrols {
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt inet 10.53.0.4 port 9953 allow { any; } keys { rndc_key; };
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt};
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt