Index: [Article Count Order] [Thread]

Date:  Tue, 6 Jun 2006 09:26:27 +0100
From:  "Colin Jack" <colin (at mark) mainline.co.uk>
Subject:  [coba-e:05540] Re: DNS upgrade
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <F07DD4D0940AFF41A207BE85479D2AFF1319BD (at mark) server.mainline.local>
X-Mail-Count: 05540

Thanks Brian,

Worked an absolute treat!

Regards

Colin

-----Original Message-----
From: Brian N. Smith [mailto:brian (at mark) nuonce.net]
Sent: 05 June 2006 20:57
To: coba-e (at mark) bluequartz.org
Subject: [coba-e:05536] Re: DNS upgrade

> I have a CentOS/BQ server that currently acts as a secondary DNS
> server
> - an old RAQ3 is the primary. Is there a simple way to upgrade it to
> primary using the BQ GUI? If not I would appreciate the best way to
> achieve this.

Colin,

It is very easy actually.  I wrote a dnsImport script that should work
just fine for you.  This assumes you used my installer from
www.nuonce.net/bq-cd.php

This example pretends "example.com" is my Domain name (zone)

#1 - Take the zone file and copy it to another folder.

mkdir -p /home/dns
cd /etc/named
cp db.example.com /home/dns

#2 - Remove the configuration from the GUI.  Delete the secondary DNS.

#3 - Via the CLI (Shell, as Root), run this command

dnsImport.pl /home/dns

If all goes well, you should see all of the entires being put in.

Now, if you have 50 domains, copy all 50 zone files to /home/dns, and
remove all 50 from the secondary dns GUI.  Then run that same command!

It is perfect for importing zone files.

Thanks,
Brian


----------------------disclaimer ---------------------------------

1. This e-mail and any attachments are confidential & access by anyone 
other than the addressee(s) is unauthorised.
2. The security of e-mail communication cannot be guaranteed and neither 
Mainline IT nor Mainline Internet will accept claims arising as a result 
of using this medium.
3. Any opinions expressed herein are the opinions of the author and are 
not those of either Mainline IT or Mainline Internet.
4. Although all email is scanned for viruses, it is the responsibility of 
the recipient to ensure they have adequate anti-virus defences.

------------------------------------------------------------------------