Create a separate directory for dynamic zones which is owned by the bind
user (for creation of the zone journal file). This is separate from the master/ directory for security. Give an example dynamic zone in the sample named.conf. Approved by: dougb Noticed by: Eivind Olsen <eivind at aminor.no> MFC after: 1 week
This commit is contained in:
parent
a66bea6b5c
commit
b954282cbd
@ -9,6 +9,8 @@
|
||||
..
|
||||
etc
|
||||
namedb
|
||||
dynamic uname=bind
|
||||
..
|
||||
master
|
||||
..
|
||||
slave uname=bind
|
||||
|
@ -102,6 +102,20 @@ zone "example.com" {
|
||||
};
|
||||
};
|
||||
|
||||
// An example dynamic zone
|
||||
key "exampleorgkey" {
|
||||
algorithm hmac-md5;
|
||||
secret "sf87HJqjkqh8ac87a02lla==";
|
||||
};
|
||||
|
||||
zone "example.org" {
|
||||
type master;
|
||||
allow-update {
|
||||
key "exampleorgkey";
|
||||
};
|
||||
file "dynamic/example.org";
|
||||
};
|
||||
|
||||
zone "0.168.192.in-addr.arpa" {
|
||||
type slave;
|
||||
file "slave/0.168.192.in-addr.arpa";
|
||||
|
Loading…
Reference in New Issue
Block a user