mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-28 17:46:40 -04:00
92 lines
1.6 KiB
Text
92 lines
1.6 KiB
Text
/*
|
|
* Copyright (C) 2000, 2001, 2004, 2007, 2013-2016 Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
/* $Id: named2.conf,v 1.22 2007/06/19 23:47:07 tbox Exp $ */
|
|
|
|
controls { /* empty */ };
|
|
|
|
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; 10.53.0.4; };
|
|
listen-on-v6 { none; };
|
|
recursion yes;
|
|
notify yes;
|
|
};
|
|
|
|
include "../../common/controls.conf";
|
|
|
|
view "internal" {
|
|
match-clients { 10.53.0.2;
|
|
10.53.0.3; };
|
|
|
|
zone "." {
|
|
type hint;
|
|
file "../../common/root.hint";
|
|
};
|
|
|
|
zone "example" {
|
|
type master;
|
|
file "internal.db";
|
|
allow-update { any; };
|
|
};
|
|
|
|
zone "clone" {
|
|
type master;
|
|
file "clone.db";
|
|
allow-update { any; };
|
|
};
|
|
|
|
zone "1.10.in-addr.arpa" {
|
|
type master;
|
|
file "1.10.in-addr.arpa.db";
|
|
};
|
|
|
|
zone "inline" {
|
|
type master;
|
|
file "internal/inline.db";
|
|
key-directory "internal";
|
|
auto-dnssec maintain;
|
|
inline-signing yes;
|
|
};
|
|
};
|
|
|
|
view "external" {
|
|
match-clients { any; };
|
|
|
|
zone "." {
|
|
type hint;
|
|
file "../../common/root.hint";
|
|
};
|
|
|
|
zone "example" {
|
|
type master;
|
|
file "example.db";
|
|
};
|
|
|
|
zone "clone" {
|
|
in-view internal;
|
|
forward only;
|
|
forwarders { 10.53.0.5; };
|
|
};
|
|
|
|
zone "1.10.in-addr.arpa" {
|
|
in-view internal;
|
|
};
|
|
|
|
zone "inline" {
|
|
type master;
|
|
file "external/inline.db";
|
|
key-directory "external";
|
|
auto-dnssec maintain;
|
|
inline-signing yes;
|
|
};
|
|
};
|