I upgraded to BIND 9.3 and the problem is gone.

Thanks,
Jan

"Jan Klaverstijn" schreef in bericht
news:d0o1nk$9al$1@sf1.isc.org...
> Hi all,
>
> I am trying to get ddns to work with my dhcp server. I try following the
> howto at http://ops.ietf.org/dns/dynupd/secure-ddns-howto.html. While
> trying to set up the key for the DNS I get syntax error in the kernel log:
> /etc/named.conf:32: syntax error near 'update-policy'
>
> I am lost. No clue what's wrong. My Bind version is 9.2.3 as shipped with
> Mandrake Community 10.0. Can someone please help?
>
> This is my named.conf:
>
> options {
> directory "/etc/named";
> forward first;
> forwarders {
> 194.134.5.5;
> 194.134.0.97;
> };
> listen-on {
> 192.168.0.99;
> 127.0.0.1;
> };
> };
>
> key "gatekeeper.klaverstijn.nl." {
> algorithm HMAC-MD5;
> secret
> "y5FRgXu9SflMWUVxFSFPj0KZeO+E8cZFVf2DyH6W6FjhSZ8kaD HZME+L1s2aA68ddepdgFF45wym6HC+8wW6VA==";
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "zone/127.0.0";
> };
>
> zone "0.168.192.in-addr.arpa" {
> type master;
> file "zone/192.168.0";
> };
>
> zone "klaverstijn.nl" {
> type master;
> file "zone/klaverstijn.nl";
> update-policy {
> grant gatekeeper.klaverstijn.nl. subdomain klaverstijn.nl.
> ANY;
> };
> };
>
> server 194.134.5.5 {
> bogus no;
> };
>
> server 194.134.0.97 {
> bogus no;
> };
>
>
> Kind regards,
> Jan.
>
>