From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 05:10:39 2003 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 EAF8416A4CE for ; Tue, 23 Dec 2003 05:10:39 -0800 (PST) Received: from hotmail.com (bay8-f22.bay8.hotmail.com [64.4.27.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A46243D46 for ; Tue, 23 Dec 2003 05:10:37 -0800 (PST) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 23 Dec 2003 05:10:37 -0800 Received: from 203.199.109.165 by by8fd.bay8.hotmail.msn.com with HTTP; Tue, 23 Dec 2003 13:10:36 GMT X-Originating-IP: [203.199.109.165] X-Originating-Email: [unixtools@hotmail.com] X-Sender: unixtools@hotmail.com From: "Sunil Sunder Raj" To: paul@partitura.com Date: Tue, 23 Dec 2003 18:40:36 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Dec 2003 13:10:37.0354 (UTC) FILETIME=[281808A0:01C3C956] cc: freebsd-questions@freebsd.org Subject: RE: replacing named 8 with 9 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, 23 Dec 2003 13:10:40 -0000 Hi, 1) Install Bind 9 2) Make secret keys using rndcontrol a) grep -i irq /var/run/dmesg.boot choose IRQ's that have a lot of interrupts. b) Run # rndcontrol -s for each choosen interrupt. c) add it to rc.conf to enable after reboot rand_irqs="3 7 11". 3) Generate the keys a) # rndc-confgen -a -c /usr/local/etc/rndc.key # chmod 600 /usr/local/etc/rndc.key # chown bind:bind /usr/local/etc/rndc.key # vi /usr/local/etc/rndc.key b) Copy the key statement key "rndc-key" { algorithm hmac-md5; secret "xxxxxxxxxxxxxxxxxxx"; }; c) # cp /usr/local/etc/rndc.conf.sample /usr/local/etc/rndc.conf # chmod 600 /usr/local/etc/rndc.conf # chown bind:bind /usr/local/etc/rndc.conf # vi /usr/local/etc/rndc.conf d) Paste the copied key statement here. 4) In rc.conf named_enable="YES" named_program="/usr/local/sbin/named" named_flags="-c /etc/namedb/named.conf -u bind" 5) In /etc/named.conf At the top of the file // Use the key include "/usr/local/etc/rndc.key"; // Control statement controls { inet 127.0.0.1 allow { 127.0.0.1; } keys { "rndc-key"; }; }; 6) Check the config # named-checkconf /etc/namedb/named.conf 7) Start named # /usr/local/sbin/named -c /etc/namedb/named.conf -u bind Regards SSR >From: Paul Phillips >To: freebsd-questions@FreeBSD.ORG >Subject: replacing named 8 with 9 >Date: Sun, 21 Dec 2003 10:41:55 -0600 > >If I understand correctly, both freeBSD 4.9 and the 5 series use BIND 8. > >I would like to replace this with BIND 9. What is the proper way to do so? >Do I need to uninstall BIND 8 in some way before using ports or packages to >install BIND 9? > >Thanks >PCP > >_______________________________________________ >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" _________________________________________________________________ Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join BharatMatrimony.com for free.