test more variants of the inet controls channel syntax,
'notify explicit', and various types of file log channels
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: named.conf,v 1.53 2001/02/16 03:07:40 gson Exp $ */
|
||||
/* $Id: named.conf,v 1.54 2001/03/13 03:03:06 gson Exp $ */
|
||||
|
||||
/*
|
||||
* This is a worthless, nonrunnable example of a named.conf file that has
|
||||
@@ -212,9 +212,10 @@ controls {
|
||||
// 'inet' lines without a 'port' defaults to 'port 953'
|
||||
// 'keys' must be used and the list must have at least one entry
|
||||
inet * port 52 allow { any; } keys { "key2"; };
|
||||
inet 10.0.0.1 allow { any; } keys { "key4";};
|
||||
inet 10.0.0.2 allow { none; } keys { "key-1"; "key-2"; };
|
||||
unix "/var/run/ndc" perm 0600 owner 0 group 0; // ignored by named.
|
||||
inet 10.0.0.1 allow { any; key foo; } keys { "key4";};
|
||||
inet 10.0.0.2 allow { none; } keys { "key-1"; "key-2"; };
|
||||
inet 10.0.0.2 allow { none; };
|
||||
};
|
||||
|
||||
zone "master.demo.zone" {
|
||||
@@ -227,10 +228,7 @@ zone "master.demo.zone" {
|
||||
allow-transfer { any; };
|
||||
allow-query { any; };
|
||||
sig-validity-interval 990;
|
||||
// notify yes; // send NOTIFY messages for this
|
||||
// zone? The global option is used
|
||||
// if "notify" is not specified
|
||||
// here.
|
||||
notify explicit;
|
||||
also-notify { 1.0.0.1; }; // don't notify any nameservers other
|
||||
// than those on the NS list for this
|
||||
// zone
|
||||
@@ -567,6 +565,16 @@ logging {
|
||||
*/
|
||||
};
|
||||
|
||||
channel another {
|
||||
file "bar" versions 99 size 10M;
|
||||
severity info;
|
||||
};
|
||||
|
||||
channel third {
|
||||
file "bar" size 100000 versions unlimited;
|
||||
severity error;
|
||||
};
|
||||
|
||||
/*
|
||||
* If you don't want to see "zone XXXX loaded" messages but do
|
||||
* want to see any problems, you could do the following.
|
||||
|
||||
Reference in New Issue
Block a user