From owner-freebsd-questions Mon Dec 2 6:36:28 2002 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 2CE8F37B401 for ; Mon, 2 Dec 2002 06:36:26 -0800 (PST) Received: from homer.bignose.ca (static-89-42.dsl.tht.net [216.126.89.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 5BB6F43E88 for ; Mon, 2 Dec 2002 06:36:16 -0800 (PST) (envelope-from jeff@interchange.ca) Received: (qmail 758 invoked from network); 2 Dec 2002 14:35:25 -0000 Received: from unknown (HELO jeffmfgsfzhqjc) (192.168.0.2) by 192.168.0.1 with SMTP; 2 Dec 2002 14:35:25 -0000 From: "Jeff MacDonald" To: "Matthew Seaman" , Subject: RE: rndc-conf is freezing.. Date: Mon, 2 Dec 2002 09:36:00 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20021202091920.GA60710@happy-idiot-talk.infracaninophi> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I actuallly ran rndc-confgen -r somefileonmysystem it worked great. Thanks. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Matthew Seaman > Sent: Monday, December 02, 2002 4:19 AM > To: freebsd-questions@FreeBSD.ORG > Subject: Re: rndc-conf is freezing.. > > > On Sun, Dec 01, 2002 at 06:08:44PM -0500, Jeff MacDonald wrote: > > I've read a few threads that say rndc-confgen may freeze because > > /dev/random isnt' random enough. > > > > I've set the rand_irqs in rc.conf, as well hammered on the keyboard > > some while rndc-confgen is runnning and it still sits there. > > > > anyone know what can be done? I have bind9 running fine, but if > > i update anything i have to do a kill/named to read config changes. > > which is less than elegant ;) > > You can run: > > rndc-confgen -r keyboard > > which will use the keyboard interactively as a source of randomness. > > Or you can just run rndc-confgen on another host and copy the files it > generates over to your DNS server. > > The 'secret' in the generated config files is just a base64 encoded > short piece of text. You can generate a secret using 'mmencode' as > described in the rndc.conf(5) man page. However, it's not necessary to > install the metamail package, as openssl will do the job: > > % echo secret-password | openssl base64 > c2VjcmV0LXBhc3N3b3JkCg== > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message