named.conf revision a30c7003afeb416afca9629697d6138b4023cffa
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews/*
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews *
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * Permission to use, copy, modify, and/or distribute this software for any
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * purpose with or without fee is hereby granted, provided that the above
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * copyright notice and this permission notice appear in all copies.
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews *
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews * PERFORMANCE OF THIS SOFTWARE.
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews */
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews/* $Id: named.conf,v 1.6 2010/01/07 23:48:53 tbox Exp $ */
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews// NS2
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrewscontrols { /* empty */ };
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrewsinclude "trusted.conf";
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrewsoptions {
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews query-source address 10.53.0.2;
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews notify-source 10.53.0.2;
10c12aa5493f34920585164c5fb54a7ac9109fbdMark Andrews transfer-source 10.53.0.2;
port 5300;
pid-file "named.pid";
listen-on { 10.53.0.2; };
listen-on-v6 { none; };
recursion no;
notify yes;
dnssec-enable yes;
dnssec-validation yes;
};
zone "." {
type hint;
file "../../common/root.hint";
};
zone "example" {
type master;
file "example.db.signed";
};
zone "example.com" {
type master;
file "example.com.db.signed";
allow-update { 10.53.0.0/8; };
};
zone "good" {
type master;
file "forgery.db";
allow-query { any; };
};