[master] "in-view" zone option

3673.	[func]		New "in-view" zone option allows direct sharing
			of zones between views. [RT #32968]
This commit is contained in:
Evan Hunt
2013-11-13 20:35:40 -08:00
parent 9800974419
commit 434bfc3dfa
26 changed files with 473 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2007, 2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -27,7 +27,7 @@ options {
pid-file "named.pid";
listen-on { 10.53.0.2; 10.53.0.4; };
listen-on-v6 { none; };
recursion no;
recursion yes;
notify yes;
};
@@ -47,6 +47,12 @@ view "internal" {
file "internal.db";
allow-update { any; };
};
zone "clone" {
type master;
file "clone.db";
allow-update { any; };
};
};
view "external" {
@@ -61,5 +67,10 @@ view "external" {
type master;
file "example.db";
};
};
zone "clone" {
in-view internal;
forward only;
forwarders { 10.53.0.4; };
};
};