named.conf revision 2c089bf6d24936de631a57b4958ba6b8b5e3b23d
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman/*
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * Copyright (C) 2011, 2013 Internet Systems Consortium, Inc. ("ISC")
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman *
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * Permission to use, copy, modify, and/or distribute this software for any
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * purpose with or without fee is hereby granted, provided that the above
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * copyright notice and this permission notice appear in all copies.
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman *
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * PERFORMANCE OF THIS SOFTWARE.
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman */
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman/* $Id: named.conf,v 1.3 2011/03/01 23:48:07 tbox Exp $ */
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman// NS2
controls { /* empty */ };
acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
options {
query-source address 10.53.0.2;
notify-source 10.53.0.2;
transfer-source 10.53.0.2;
port 5300;
pid-file "named.pid";
listen-on { 10.53.0.2; };
listen-on-v6 { none; };
recursion yes;
notify yes;
dnssec-enable yes;
dnssec-validation yes;
};
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
};
controls {
inet 10.53.0.2 port 9953 allow { any; } keys { rndc_key; };
};
zone "." {
type hint;
file "../../common/root.hint";
};
zone "." {
type redirect;
file "redirect.db";
allow-query { !10.53.0.4; any; };
};
zone "example.nil" {
type master;
file "example.db";
};