<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Jeff - Yes, we are hosting sites only on the primary DNS box.   We are already using the Automatic DNS Configuration which eliminates most of the manual entry.   Now we would like to eliminate the second manual step of going to the secondary and creating that record too.   If a script automatically ran that sent the configuration from primary over to the secondary, there would be no need for the second manual step.
<br />
<br />So the question was, is there such a script available that someone has already created to automate the creation of the secondary records based on those from the primary - OR - what are the ramifications of simply running two primary DNS servers by just FTP'ing over the zone files when a change is detected on the first primary DNS server? 
<br /><font size="2">
<br />Thanks,
<br />Dan
<br />
<br /><b>---------- Original Message 
-----------</b>
<br />
From: Jeff Folk <jfolk@qzoneinc.com> 

<br />
To: BlueOnyx General Mailing List <blueonyx@mail.blueonyx.it> 

<br />
Sent: Sat, 7 May 2011 06:37:30 -0500 

<br />
Subject: [BlueOnyx:07248] Re: DNS Script ? 

<br />

<br />> On May 6, 2011, at 10:20 PM, Dan Porter wrote: 
<br />> 

>  
<br />> 

> We have two BX boxes, one is running as the primary DNS and the other is 
running as the secondary DNS.   I am looking for a script or an easy way to 
convert/send all of the information from the primary DNS over to the secondary, 
so that we do not have to go into the GUI and setup entries on both boxes.  
 
<br />> 

>  
<br />> 

> Basically, I would like to automate the task of setting up the DNS on the 
primary and have all entries made on the secondary automatically.   I have 
also considered simply running both as a primary DNS and just cloning one to the 
other, rather than running a primary and a secondary since they will always be 
mirrors of each other.  
<br />> 

>  
<br />> 

> Does anyone have such a script or have any thoughts / suggestions?  

<br />> 

>  
<br />> 

>  
<br />> 

> Dan Porter  
<br />> 

> Twin Wolf Technology Group, LLC  
<br />> 
<br />> 

I'm assuming you are hosting the virtual sites on the primary dns box? Is 
"Automatic DNS Configuration" ticked in the virtual host template? Are 
the required hostnames entered in the "Auto DNS" tab of Network 
Services > DNS? With those two configurations your primary dns is populated 
automatically at site creation. 
<br />> 
<br />> 

Populating the secondary dns box is what "secondary" dns does... Make 
sure the IP address of the secondary box is entered in the "Advanced" 
tab of DNS Settings on the primary box -- "Zone Transfer Access by IP 
Address" field. This tells primary dns the secondary box is allowed to ask 
for and receive zone files for domains hosted on the primary box. 
<br />> 

<br />> 

So, you end up with two manual operations at site creation -- creating the vhost 
on the primary box, and creating secondary dns service on the secondary box 
(Edit Secondary Services in DNS). All subsequent changes are duplicated on the 
secondary box after zone transfer. 
<br />> 
<br />> 

It has been a while since I used my BQ/BX box for dns, and I'm not sure if BX 
supports the NOTIFY method on the primary side (where a change in the primary 
zone file would trigger a "push" effect to secondary), but zone 
transfer interval gets the secondary in sync in due time. 
<br />> 
<br />> 

Is that what you are asking? 
<br />> 
<br />> 

Regards; 
<br />> 

Jeff 
<br />> 

_______________________________________________ 
<br />> 

Blueonyx mailing list 
<br />> 

Blueonyx@mail.blueonyx.it 
<br />> 

<a target="_blank" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a> 

<br /><b>------- End of Original Message 
-------</b>
<br />

</font>

</BODY>
</HTML>