From owner-freebsd-questions@FreeBSD.ORG Fri Nov 30 15:11:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC90F16A478 for ; Fri, 30 Nov 2007 15:11:21 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 93C3613C45A for ; Fri, 30 Nov 2007 15:11:21 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lAUFBBSr078611; Fri, 30 Nov 2007 09:11:13 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071130090855.024585a0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 30 Nov 2007 09:11:03 -0600 To: "Gelsema, P \(Patrick\) - FreeBSD" , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <1587.10.202.77.101.1196428526.squirrel@webmail.superhero.n l> References: <1587.10.202.77.101.1196428526.squirrel@webmail.superhero.nl> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: named.conf - unable to set control bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2007 15:11:22 -0000 At 07:15 AM 11/30/2007, Gelsema, P \(Patrick\) - FreeBSD wrote: >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 try either removing the "port 953;" from that line or just removing the ";" after the "port 953" -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.