Index: [Article Count Order] [Thread]

Date:  Fri, 8 Sep 2006 17:26:17 -0400 (EDT)
From:  "Brian N. Smith" <brian (at mark) nuonce.net>
Subject:  [coba-e:06804] Re: Change secondary DNS to primary
To:  coba-e (at mark) bluequartz.org
Message-Id:  <Pine.LNX.4.63.0609081725240.15060 (at mark) mail.nuonce.net>
In-Reply-To:  <F07DD4D0940AFF41A207BE85479D2AFF1818F1 (at mark) server.mainline.local>
References:  <F07DD4D0940AFF41A207BE85479D2AFF1818F1 (at mark) server.mainline.local>
X-Mail-Count: 06804

>> Brian N. Smith wrote:
>>>> How easy is it to change a backup DNS record to a primary
>> on BQ/CentOS?
>>>>
>>>> Situation ... we have a server that acts as backup DNS
>> server for a
>>>> server that has died.
>>>> I want to change the backup DNS server to primary for the domain.
>>>> There are a lot of entries and I want to save having to
>> type them all
>>>> in again ;)
>>>
>>> You can use the "dnsImport.pl" that is installed on your
>> server.  For
>>> more information you can read this link:
>>>
>>> http://www.nuonce.net/bq-dnsImport.php
>>>
>>> Brian
>>>
>
> I agree - I have used it a number of times when upgrading servers. This
> is more of a 'is it possible' kind of question ;)

The answer is YES.  The solution is that script.

Step by step.

Copy zones to temp directory
remove secondary dns via gui
import using script.

Good luck!