[BlueOnyx:10663] Re: Automate Secondary DNS

Richard Morgan richard at morgan-web.co.uk
Thu May 24 18:27:36 -05 2012


Hi Dan

I like the script... the import routine I tried was 95% Michael's script:

http://data.smd.net/scripts/dns-slaves/

I found clearing the dns data before the import was easiest.  Maybe it's in 
need or revisiting.

Regards, Richard


----- Original Message ----- 
From: "Dogsbody" <dan at dogsbody.org>
To: "BlueOnyx General Mailing List" <blueonyx at mail.blueonyx.it>
Sent: Thursday, May 24, 2012 11:20 PM
Subject: [BlueOnyx:10662] Re: Automate Secondary DNS


>
> Here is the export script... https://gist.github.com/2784525
>
> Good point on having to remove all the secondary DNS data for the import
> but should be fixable by doing two diffs to remove domains that have
> gone and add new ones.
>
> What commands did you use to add the secondary DNS data?
>
> Dan
>
>
> On 24/05/2012 13:24, Richard Morgan wrote:
>> Yes please, I'd love to see the primary export script.
>>
>> I've done (ok, tried) similar by using some of the DNS tools to export a
>> primary list
>> and on the secondary DNS to import it - never quite got it working as I
>> wasn't happy with needing to remove all secondary DNS data for the import 
>> to
>> work.
>>
>> ----- Original Message -----
>> From: "Dogsbody"<dan at dogsbody.org>
>> To: "BlueOnyx General Mailing List"<blueonyx at mail.blueonyx.it>
>> Sent: Thursday, May 24, 2012 12:25 PM
>> Subject: [BlueOnyx:10658] Automate Secondary DNS
>>
>>
>>> Hi All,
>>>
>>> Has anyone done anything with automatically adding secondary DNS entries
>>> on a BO system?
>>>
>>> I have a customer that is always adding and removing domains on their BO
>>> server.  They are happily doing the Primary DNS and I am doing the
>>> secondary DNS on a couple of other BO servers that are in separate
>>> datacentres.  Of course this means changing the secondary servers every
>>> time a domain is added or removed.
>>>
>>> I used to use a great service from an ISP where you could FTP them a
>>> file that contained the domain (zone) name and primary DNS server and
>>> they would automatically secondary host those domains.  I automated the
>>> sending of this from BO easy enough and I'd like to add the same sort of
>>> secondary functionality to BO if possible.
>>>
>>> I'm happy to share my code if anyone else is interested.
>>>
>>> Dan
>>>
>>> --
>>> Find me online : http://www.dogsbody.info/
>>> _______________________________________________
>>> Blueonyx mailing list
>>> Blueonyx at mail.blueonyx.it
>>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>>
>> _______________________________________________
>> Blueonyx mailing list
>> Blueonyx at mail.blueonyx.it
>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
> -- 
> Find me online : http://www.dogsbody.info/
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx 




More information about the Blueonyx mailing list