From owner-freebsd-questions@FreeBSD.ORG Tue Jan 13 01:35:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDF4516A4CE for ; Tue, 13 Jan 2004 01:35:34 -0800 (PST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by mx1.FreeBSD.org (Postfix) with SMTP id 6EAAC43D49 for ; Tue, 13 Jan 2004 01:35:30 -0800 (PST) (envelope-from deviledog@swiftdsl.com.au) Received: (qmail 6017 invoked from network); 13 Jan 2004 09:40:00 -0000 Received: from unknown (HELO ?192.168.0.3?) (218.214.54.98) by mail.syd.swiftdsl.com.au with SMTP; 13 Jan 2004 09:40:00 -0000 In-Reply-To: <20040113090806.0219D43D1F@mx1.FreeBSD.org> References: <20040113090806.0219D43D1F@mx1.FreeBSD.org> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: August Simonelli Date: Tue, 13 Jan 2004 20:35:23 +1100 To: "Nick Twaddell" X-Mailer: Apple Mail (2.609) cc: freebsd-questions@freebsd.org Subject: Re: named.conf question (controls statement being ignored) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 09:35:35 -0000 Thanks Nick ... I'm feeling a little silly now ... I was starting the wrong version of BIND ... need to be a little more careful with my rtfm'ing! august On 13/01/2004, at 8:08 PM, Nick Twaddell wrote: > This is my config... > > Named.conf > key "rndc-key" { > algorithm hmac-md5; > secret "keyhashstuff"; > }; > controls { > inet 127.0.0.1 port 953 > allow { 127.0.0.1; } keys { "rndc-key"; }; > }; > > Rndc.conf > key "rndc-key" { > algorithm hmac-md5; > secret "keyhashstuff"; > }; > options { > default-key "rndc-key"; > default-server 127.0.0.1; > default-port 953; > }; > > Hopefully that will help :) > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of August > Simonelli > Sent: Tuesday, January 13, 2004 1:01 AM > To: FreeBSD-questions > Subject: named.conf question (controls statement being ignored) > > Hi all, > > I've just installed bind9 from ports. I've got everything set up and > the nameserver works except rndc. I've followed numerous instructions > (bind howto, freebsd ezine) and still keep getting a strange error in > my syslog. I won't post named.conf or rndc.conf yet as the error > doesn't seem to point to them as being the problem. When i run > /usr/sbin/named everything starts ok but i get: > > /etc/namedb/named.conf:102: Ignoring BIND 9 inet control clause > > in /var/log/messages > > my controls statement in named.conf is: > > controls { > inet 127.0.0.1 allow { localhost; } keys { "mykey"; }; > }; > > any thoughts? > > august > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"