Comment 3 for bug 999324

Revision history for this message
Axel Glienke (axel-kultviech) wrote : Re: DDNS dynamic file creation permission denied

Create file because updating zonefile from dhcpd

====================================================================
root@intra:/etc/bind# cat named.conf.local
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

include "/etc/bind/ddns.key";

zone "example.com" {
 type master;
 file "/etc/bind/db.example.com";
        allow-update { key "DHCP_UPDATER"; };
};

zone "1.10.in-addr.arpa" {
 type master;
 file "/etc/bind/db.1.10";
 allow-update { key "DHCP_UPDATER"; };
};

====================================================================
root@intra:/etc/bind# cat named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";