From owner-freebsd-net Tue Jan 9 15:19:41 2001 Delivered-To: freebsd-net@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id C313537B401 for ; Tue, 9 Jan 2001 15:19:22 -0800 (PST) Received: from localhost (nick@localhost) by rapidnet.com (8.9.3/8.9.3) with ESMTP id QAA86049; Tue, 9 Jan 2001 16:19:19 -0700 (MST) Date: Tue, 9 Jan 2001 16:19:19 -0700 (MST) From: Nick Rogness To: Peter Brezny Cc: freebsd-net@freebsd.org Subject: Re: moving secondary name servers to primary In-Reply-To: <003701c07a9f$de2db4e0$46010a0a@sysadmininc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 9 Jan 2001, Peter Brezny wrote: > Is there an easy way to convert a secondary bind8 name server to a primary? > > I had hoped to just be able to change the designation in the named.conf file > from type slave to type master, however when i look at the individual zone > files, they 've got a lot of mish mash in there from being secondary files. Explain mish mash.. ;-) You must be refering to the SOA portion of the zone file? I've yet to see (or write) a tool that would do this conversion without pain, but I could put something together quick like. As far as the named.conf file, you should just be able to replace the slave line with type master and remove the excess stuff. This does become tedious when you have hundreds of entries in named.conf. I usually just search and replace, etc,etc the hard way. Maybe someone has a tool? Nick Rogness - Drive defensively. Buy a tank. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message