Date: Fri, 30 Nov 2007 14:15:26 +0100 (CET) From: "Gelsema, P \(Patrick\) - FreeBSD" <freebsd@superhero.nl> To: freebsd-questions@freebsd.org Subject: named.conf - unable to set control bit Message-ID: <1587.10.202.77.101.1196428526.squirrel@webmail.superhero.nl>
next in thread | raw e-mail | index | archive | help
Hi list,
I have got the following issue. I have added the following settings in
named.conf but am unable to get it working. If I read the man page it
seems that what I have put in is completely correct.
REason to put it in is that I want the DHCP server to automatically update
the DNS zone.
the error I get is:
Nov 30 14:09:31 hulk named[6848]: reloading configuration failed: failure
Nov 30 14:09:45 hulk named[6848]: /etc/namedb/named.conf:20: expected
'allow' near ';'
Nov 30 14:09:45 hulk named[6848]: reloading configuration failed:
unexpected token
head -n 25 /etc/named/named.conf
# generated with dnssec-keygen -a HMAC-MD5 -b 128 -n USER DHCP_UPDATER
key DHCP_UPDATER {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret hashedstring==;
};
acl "home" {10.202.77.0/24;127.0.0.1;};
options {
// Relative to the chroot directory, if any
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
allow-query {"home"; };
};
controls {
inet 127.0.0.1 port 953;
allow { 127.0.0.1;10.202.77.110; } keys { "DHCP_UPDATER"; };
};
Line 20 is where controls start.
Any help much appreciated.
rgds,
Patrick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1587.10.202.77.101.1196428526.squirrel>
