RE: [Declude.JunkMail] OT: New DNS Server
Actually, MS DNS works the same way as long as you're running from standard boot and zone files and not the registry. In fact I've even moved from BIND to MS and from MS to BIND with very few changes required. I mirror our DNS (rather than setting up secondaries) by simply copying all of these files (I'm talking thousands of zones) from one server to another. Dermot -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kevin Bilbee Sent: Thursday, October 20, 2005 11:40 AM To: Declude.JunkMail@declude.com Subject: RE: [Declude.JunkMail] OT: New DNS Server This is exactly why we use BIND and not MS DNS for our public facing DNS. All you need to do to migrate to a new server is change a few ip addresses (if changing IP addresses) in a text based file. Then copy that to the new server and off you go. Kevin Bilbee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Darin Cox Sent: Thursday, October 20, 2005 5:58 AM To: Declude.JunkMail@declude.com Subject: Re: [Declude.JunkMail] OT: New DNS Server We do something like the script below for out secondaries. We store all zones in a database and have stored procedures that do all of the heavy lifting to create the zones on primary and secondary servers. A wonderful time saver when migrating servers... run a cursor, or script, over the list of domain names and viola... two minutes later you have a complete nameserver. Darin. - Original Message - From: Andy Schmidt To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 8:47 AM Subject: RE: [Declude.JunkMail] OT: New DNS Server I have done this in two ways. You can export the registry and then use an editor that can handle line breaks and other control characters (such as MS Words) to massage the text file before reimporting it on the new server. Or, you can create a list of domains (using the DNS command line tools) and then use a little .CMD procedure to create the secondary domain for all these domain names. Here is a sample batch script (mm.mm.mm.mm is the IP of your primary DNS server, nn.nn.nn.nn are the IP addresses of other subordinate DNS servers to which you permit zone transfers) @ECHO OFF if %1.==. goto error01 @ECHO ON DNSCMD \\YOURSERVER /ZoneAdd %1 /Secondary mm.mm.mm.mm /file %1.dns DNSCMD \\YOURSERVER /ZoneResetSecondaries %1 /SecureList nn.nn.nn.nn nn.nn.nn.nn @ECHO OFF :Done GOTO :EOF :error01 ECHO. ECHO Missing Parameters! ECHO. ECHO Syntax: CreateSecondary domainname ECHO Example: CreateSecondary MyDomain.com PAUSE Missing Parameters GOTO :EOF Best Regards Andy Schmidt Phone: +1 201 934-3414 x20 (Business) Fax:+1 201 934-9206 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evans Martin Sent: Thursday, October 20, 2005 01:14 AM To: Declude.JunkMail@declude.com Subject: [Declude.JunkMail] OT: New DNS Server Im running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. Martin AIM: martek01 http://[EMAIL PROTECTED] Fax: 615-523-1679 Mobile: 615-533-0197 --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
Re[2]: [Declude.JunkMail] OT: New DNS Server
> In MS DNS you still have to define your domain in the secondary DNS > before the secondary will synch with the primary. Not necessarily. An AD-integrated zone can automatically be replicated to all DNS servers (not domain just controllers) in the domain. Simply installing the DNS service creates all such zones on each new server. Note that I use MS DNS, SimpleDNS, and BIND, and all have their upsides and downsides. --Sandy Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc. e-mail: [EMAIL PROTECTED] SpamAssassin plugs into Declude! http://www.imprimia.com/products/software/freeutils/SPAMC32/download/release/ Defuse Dictionary Attacks: Turn Exchange or IMail mailboxes into IMail Aliases! http://www.imprimia.com/products/software/freeutils/exchange2aliases/download/release/ http://www.imprimia.com/products/software/freeutils/ldap2aliases/download/release/ --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
Re: [Declude.JunkMail] OT: New DNS Server
Glad you like it. We've been using that approach for years. - Original Message - From: Evans Martin To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 6:31 PM Subject: RE: [Declude.JunkMail] OT: New DNS Server Wow! You rock. Nice script. Thanks! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave DohertySent: Thursday, October 20, 2005 2:21 PMTo: Declude.JunkMail@declude.comSubject: Re: [Declude.JunkMail] OT: New DNS Server Hi Evans- I have a working script you can grab at http://skywaves.net/utils/dns_autosecondary.txt. Change a couple of vairables, save it, call it from the task scheduler, and you're done. Instructions are included. All are welcome to use it. -DaveDoherty Skywaves, Inc. - Original Message - From: Evans Martin To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 1:14 AM Subject: [Declude.JunkMail] OT: New DNS Server Im running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. MartinAIM: martek01http://www.martek.net [EMAIL PROTECTED]Fax: 615-523-1679Mobile: 615-533-0197
RE: [Declude.JunkMail] OT: New DNS Server
Wow! You rock. Nice script. Thanks! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Doherty Sent: Thursday, October 20, 2005 2:21 PM To: Declude.JunkMail@declude.com Subject: Re: [Declude.JunkMail] OT: New DNS Server Hi Evans- I have a working script you can grab at http://skywaves.net/utils/dns_autosecondary.txt. Change a couple of vairables, save it, call it from the task scheduler, and you're done. Instructions are included. All are welcome to use it. -DaveDoherty Skywaves, Inc. - Original Message - From: Evans Martin To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 1:14 AM Subject: [Declude.JunkMail] OT: New DNS Server I’m running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. Martin AIM: martek01 http://www.martek.net [EMAIL PROTECTED] Fax: 615-523-1679 Mobile: 615-533-0197
RE: [Declude.JunkMail] OT: New DNS Server
Awesome. Thank you for the info. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Schmidt Sent: Thursday, October 20, 2005 7:47 AM To: Declude.JunkMail@declude.com Subject: RE: [Declude.JunkMail] OT: New DNS Server I have done this in two ways. You can export the registry and then use an editor that can handle line breaks and other control characters (such as MS Words) to massage the text file before reimporting it on the new server. Or, you can create a list of domains (using the DNS command line tools) and then use a little .CMD procedure to create the secondary domain for all these domain names. Here is a sample batch script (mm.mm.mm.mm is the IP of your primary DNS server, nn.nn.nn.nn are the IP addresses of other subordinate DNS servers to which you permit zone transfers) @ECHO OFF if %1.==. goto error01 @ECHO ON DNSCMD \\YOURSERVER /ZoneAdd %1 /Secondary mm.mm.mm.mm /file %1.dns DNSCMD \\YOURSERVER /ZoneResetSecondaries %1 /SecureList nn.nn.nn.nn nn.nn.nn.nn @ECHO OFF :Done GOTO :EOF :error01 ECHO. ECHO Missing Parameters! ECHO. ECHO Syntax: CreateSecondary domainname ECHO Example: CreateSecondary MyDomain.com PAUSE Missing Parameters GOTO :EOF Best Regards Andy Schmidt Phone: +1 201 934-3414 x20 (Business) Fax: +1 201 934-9206 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evans Martin Sent: Thursday, October 20, 2005 01:14 AM To: Declude.JunkMail@declude.com Subject: [Declude.JunkMail] OT: New DNS Server I’m running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. Martin AIM: martek01 http://www.martek.net [EMAIL PROTECTED] Fax: 615-523-1679 Mobile: 615-533-0197
Re: [Declude.JunkMail] OT: New DNS Server
Hi Harry- I don't know. I've always used the boot file and zone files for my DNS. Never have used the MS DNS manager, if that is what results in data being in the registry. Andy Scmidt posted a script also. You might want to have a look at that. -Dave - Original Message - From: Harry Vanderzand To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 4:00 PM Subject: RE: [Declude.JunkMail] OT: New DNS Server I appreciate this also I tried to run it but I do not have a boot file as my server is using the registry Is there a way to accommodate that? Harry Vanderzand inTown Internet & Computer Services 11 Belmont Ave. W., Kitchener, ON,N2M 1L2519-741-1222 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave DohertySent: Thursday, October 20, 2005 3:21 PMTo: Declude.JunkMail@declude.comSubject: Re: [Declude.JunkMail] OT: New DNS Server Hi Evans- I have a working script you can grab at http://skywaves.net/utils/dns_autosecondary.txt. Change a couple of vairables, save it, call it from the task scheduler, and you're done. Instructions are included. All are welcome to use it. -DaveDoherty Skywaves, Inc. - Original Message - From: Evans Martin To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 1:14 AM Subject: [Declude.JunkMail] OT: New DNS Server Im running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. MartinAIM: martek01http://www.martek.net [EMAIL PROTECTED]Fax: 615-523-1679Mobile: 615-533-0197
RE: [Declude.JunkMail] OT: New DNS Server
I appreciate this also I tried to run it but I do not have a boot file as my server is using the registry Is there a way to accommodate that? Harry Vanderzand inTown Internet & Computer Services 11 Belmont Ave. W., Kitchener, ON,N2M 1L2519-741-1222 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave DohertySent: Thursday, October 20, 2005 3:21 PMTo: Declude.JunkMail@declude.comSubject: Re: [Declude.JunkMail] OT: New DNS Server Hi Evans- I have a working script you can grab at http://skywaves.net/utils/dns_autosecondary.txt. Change a couple of vairables, save it, call it from the task scheduler, and you're done. Instructions are included. All are welcome to use it. -DaveDoherty Skywaves, Inc. - Original Message - From: Evans Martin To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 1:14 AM Subject: [Declude.JunkMail] OT: New DNS Server I’m running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. MartinAIM: martek01http://www.martek.net [EMAIL PROTECTED]Fax: 615-523-1679Mobile: 615-533-0197
Re: [Declude.JunkMail] OT: New DNS Server
Hi Evans- I have a working script you can grab at http://skywaves.net/utils/dns_autosecondary.txt. Change a couple of vairables, save it, call it from the task scheduler, and you're done. Instructions are included. All are welcome to use it. -DaveDoherty Skywaves, Inc. - Original Message - From: Evans Martin To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 1:14 AM Subject: [Declude.JunkMail] OT: New DNS Server Im running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. MartinAIM: martek01http://www.martek.net [EMAIL PROTECTED]Fax: 615-523-1679Mobile: 615-533-0197
Re: [Declude.JunkMail] OT: New DNS Server
Dave Beckstrom wrote: I swear by simpleDNS. It’s inexpensive too. You can set up a master/slave relationship where you update one DNS server and then the change is automatically replicated to the secondary DNS server. I’m not talking just zone transfers. For example, In MS DNS you still have to define your domain in the secondary DNS before the secondary will synch with the primary. In SimpleDNS you literally only ever have to touch the primary DNS (you can forget about the secondary. It takes care of itself) and the secondary is automatically updated with everything. Moreover, simpleDNS by default can provide SPF records for all your domains without you having to create them. You still have the option of creating your own SPF records and letting the default SPF apply only to domains where you have not explicitly created a record. SimpleDNS also has a nice performance graph running so that you can see how heavy your DNS server is being hit. It’s a sweet package and definitely worth a look. I agree. Been using SimpleDNS for years without any problems. --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
RE: [Declude.JunkMail] OT: New DNS Server
I swear by simpleDNS. It’s inexpensive too. You can set up a master/slave relationship where you update one DNS server and then the change is automatically replicated to the secondary DNS server. I’m not talking just zone transfers. For example, In MS DNS you still have to define your domain in the secondary DNS before the secondary will synch with the primary. In SimpleDNS you literally only ever have to touch the primary DNS (you can forget about the secondary. It takes care of itself) and the secondary is automatically updated with everything. Moreover, simpleDNS by default can provide SPF records for all your domains without you having to create them. You still have the option of creating your own SPF records and letting the default SPF apply only to domains where you have not explicitly created a record. SimpleDNS also has a nice performance graph running so that you can see how heavy your DNS server is being hit. It’s a sweet package and definitely worth a look. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darin Cox Sent: Thursday, October 20, 2005 10:48 AM To: Declude.JunkMail@declude.com Subject: Re: [Declude.JunkMail] OT: New DNS Server Good point. MS DNS has worked well for us, though... and having the domains in a database has other uses as well. We run similar scripts to set up all of our web and email hosting accounts when we need to migrate some or all of the accounts to another server. May have to take a look at running BIND on Windows one of these days, though. Darin. - Original Message - From: Kevin Bilbee To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 11:40 AM Subject: RE: [Declude.JunkMail] OT: New DNS Server This is exactly why we use BIND and not MS DNS for our public facing DNS. All you need to do to migrate to a new server is change a few ip addresses (if changing IP addresses) in a text based file. Then copy that to the new server and off you go. Kevin Bilbee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Darin Cox Sent: Thursday, October 20, 2005 5:58 AM To: Declude.JunkMail@declude.com Subject: Re: [Declude.JunkMail] OT: New DNS Server We do something like the script below for out secondaries. We store all zones in a database and have stored procedures that do all of the heavy lifting to create the zones on primary and secondary servers. A wonderful time saver when migrating servers... run a cursor, or script, over the list of domain names and viola... two minutes later you have a complete nameserver. Darin. - Original Message - From: Andy Schmidt To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 8:47 AM Subject: RE: [Declude.JunkMail] OT: New DNS Server I have done this in two ways. You can export the registry and then use an editor that can handle line breaks and other control characters (such as MS Words) to massage the text file before reimporting it on the new server. Or, you can create a list of domains (using the DNS command line tools) and then use a little .CMD procedure to create the secondary domain for all these domain names. Here is a sample batch script (mm.mm.mm.mm is the IP of your primary DNS server, nn.nn.nn.nn are the IP addresses of other subordinate DNS servers to which you permit zone transfers) @ECHO OFF if %1.==. goto error01 @ECHO ON DNSCMD \\YOURSERVER /ZoneAdd %1 /Secondary mm.mm.mm.mm /file %1.dns DNSCMD \\YOURSERVER /ZoneResetSecondaries %1 /SecureList nn.nn.nn.nn nn.nn.nn.nn @ECHO OFF :Done GOTO :EOF :error01 ECHO. ECHO Missing Parameters! ECHO. ECHO Syntax: CreateSecondary domainname ECHO Example: CreateSecondary MyDomain.com PAUSE Missing Parameters GOTO :EOF Best Regards Andy Schmidt Phone: +1 201 934-3414 x20 (Business) Fax: +1 201 934-9206 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evans Martin Sent: Thursday, October 20, 2005 01:14 AM To: Declude.JunkMail@declude.com Subject: [Declude.JunkMail] OT: New DNS Server I’m running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. Martin AIM: martek01 http://www.martek.net [EMAIL PROTECTED] Fax: 615-523-1679 Mobile: 615-533-0197
Re: [Declude.JunkMail] OT: New DNS Server
Good point. MS DNS has worked well for us, though... and having the domains in a database has other uses as well. We run similar scripts to set up all of our web and email hosting accounts when we need to migrate some or all of the accounts to another server. May have to take a look at running BIND on Windows one of these days, though. Darin. - Original Message - From: Kevin Bilbee To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 11:40 AM Subject: RE: [Declude.JunkMail] OT: New DNS Server This is exactly why we use BIND and not MS DNS for our public facing DNS. All you need to do to migrate to a new server is change a few ip addresses (if changing IP addresses) in a text based file. Then copy that to the new server and off you go. Kevin Bilbee -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Darin CoxSent: Thursday, October 20, 2005 5:58 AMTo: Declude.JunkMail@declude.comSubject: Re: [Declude.JunkMail] OT: New DNS Server We do something like the script below for out secondaries. We store all zones in a database and have stored procedures that do all of the heavy lifting to create the zones on primary and secondary servers. A wonderful time saver when migrating servers... run a cursor, or script, over the list of domain names and viola... two minutes later you have a complete nameserver. Darin. - Original Message - From: Andy Schmidt To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 8:47 AM Subject: RE: [Declude.JunkMail] OT: New DNS Server I have done this in two ways. You can export the registry and then use an editor that can handle line breaks and other control characters (such as MS Words) to massage the text file before reimporting it on the new server. Or, you can create a list of domains (using the DNS command line tools) and then use a little .CMD procedure to create the secondary domain for all these domain names. Here is a sample batch script (mm.mm.mm.mm is the IP of your primary DNS server, nn.nn.nn.nn are the IP addresses of other subordinate DNS servers to which you permit zone transfers) @ECHO OFFif %1.==. goto error01 @ECHO ONDNSCMD \\YOURSERVER /ZoneAdd %1 /Secondary mm.mm.mm.mm /file %1.dnsDNSCMD \\YOURSERVER /ZoneResetSecondaries %1 /SecureList nn.nn.nn.nn nn.nn.nn.nn@ECHO OFF :DoneGOTO :EOF :error01ECHO.ECHO Missing Parameters!ECHO.ECHO Syntax: CreateSecondary domainname ECHO Example: CreateSecondary MyDomain.com PAUSE Missing ParametersGOTO :EOF Best RegardsAndy SchmidtPhone: +1 201 934-3414 x20 (Business)Fax: +1 201 934-9206 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evans MartinSent: Thursday, October 20, 2005 01:14 AMTo: Declude.JunkMail@declude.comSubject: [Declude.JunkMail] OT: New DNS Server Im running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. MartinAIM: martek01http://www.martek.net [EMAIL PROTECTED]Fax: 615-523-1679Mobile: 615-533-0197
RE: [Declude.JunkMail] OT: New DNS Server
This is exactly why we use BIND and not MS DNS for our public facing DNS. All you need to do to migrate to a new server is change a few ip addresses (if changing IP addresses) in a text based file. Then copy that to the new server and off you go. Kevin Bilbee -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Darin CoxSent: Thursday, October 20, 2005 5:58 AMTo: Declude.JunkMail@declude.comSubject: Re: [Declude.JunkMail] OT: New DNS Server We do something like the script below for out secondaries. We store all zones in a database and have stored procedures that do all of the heavy lifting to create the zones on primary and secondary servers. A wonderful time saver when migrating servers... run a cursor, or script, over the list of domain names and viola... two minutes later you have a complete nameserver. Darin. - Original Message - From: Andy Schmidt To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 8:47 AM Subject: RE: [Declude.JunkMail] OT: New DNS Server I have done this in two ways. You can export the registry and then use an editor that can handle line breaks and other control characters (such as MS Words) to massage the text file before reimporting it on the new server. Or, you can create a list of domains (using the DNS command line tools) and then use a little .CMD procedure to create the secondary domain for all these domain names. Here is a sample batch script (mm.mm.mm.mm is the IP of your primary DNS server, nn.nn.nn.nn are the IP addresses of other subordinate DNS servers to which you permit zone transfers) @ECHO OFFif %1.==. goto error01 @ECHO ONDNSCMD \\YOURSERVER /ZoneAdd %1 /Secondary mm.mm.mm.mm /file %1.dnsDNSCMD \\YOURSERVER /ZoneResetSecondaries %1 /SecureList nn.nn.nn.nn nn.nn.nn.nn@ECHO OFF :DoneGOTO :EOF :error01ECHO.ECHO Missing Parameters!ECHO.ECHO Syntax: CreateSecondary domainname ECHO Example: CreateSecondary MyDomain.com PAUSE Missing ParametersGOTO :EOF Best RegardsAndy SchmidtPhone: +1 201 934-3414 x20 (Business)Fax: +1 201 934-9206 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evans MartinSent: Thursday, October 20, 2005 01:14 AMTo: Declude.JunkMail@declude.comSubject: [Declude.JunkMail] OT: New DNS Server Im running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. MartinAIM: martek01http://www.martek.net [EMAIL PROTECTED]Fax: 615-523-1679Mobile: 615-533-0197
Re: [Declude.JunkMail] OT: New DNS Server
Andy - Very kool with the script! Thanks for sharing. I can sure use it - -Nick Andy Schmidt wrote: I have done this in two ways. You can export the registry and then use an editor that can handle line breaks and other control characters (such as MS Words) to massage the text file before reimporting it on the new server. Or, you can create a list of domains (using the DNS command line tools) and then use a little .CMD procedure to create the secondary domain for all these domain names. Here is a sample batch script (mm.mm.mm.mm is the IP of your primary DNS server, nn.nn.nn.nn are the IP addresses of other subordinate DNS servers to which you permit zone transfers) @ECHO OFF if %1.==. goto error01 @ECHO ON DNSCMD \\YOURSERVER /ZoneAdd %1 /Secondary mm.mm.mm.mm /file %1.dns DNSCMD \\YOURSERVER /ZoneResetSecondaries %1 /SecureList nn.nn.nn.nn nn.nn.nn.nn @ECHO OFF :Done GOTO :EOF :error01 ECHO. ECHO Missing Parameters! ECHO. ECHO Syntax: CreateSecondary domainname ECHO Example: CreateSecondary MyDomain.com PAUSE Missing Parameters GOTO :EOF Best Regards Andy Schmidt Phone: +1 201 934-3414 x20 (Business) Fax: +1 201 934-9206 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Evans Martin Sent: Thursday, October 20, 2005 01:14 AM To: Declude.JunkMail@declude.com Subject: [Declude.JunkMail] OT: New DNS Server I’m running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. Martin AIM: martek01 http://www.martek.net [EMAIL PROTECTED] Fax: 615-523-1679 Mobile: 615-533-0197
Re: [Declude.JunkMail] OT: New DNS Server
We do something like the script below for out secondaries. We store all zones in a database and have stored procedures that do all of the heavy lifting to create the zones on primary and secondary servers. A wonderful time saver when migrating servers... run a cursor, or script, over the list of domain names and viola... two minutes later you have a complete nameserver. Darin. - Original Message - From: Andy Schmidt To: Declude.JunkMail@declude.com Sent: Thursday, October 20, 2005 8:47 AM Subject: RE: [Declude.JunkMail] OT: New DNS Server I have done this in two ways. You can export the registry and then use an editor that can handle line breaks and other control characters (such as MS Words) to massage the text file before reimporting it on the new server. Or, you can create a list of domains (using the DNS command line tools) and then use a little .CMD procedure to create the secondary domain for all these domain names. Here is a sample batch script (mm.mm.mm.mm is the IP of your primary DNS server, nn.nn.nn.nn are the IP addresses of other subordinate DNS servers to which you permit zone transfers) @ECHO OFFif %1.==. goto error01 @ECHO ONDNSCMD \\YOURSERVER /ZoneAdd %1 /Secondary mm.mm.mm.mm /file %1.dnsDNSCMD \\YOURSERVER /ZoneResetSecondaries %1 /SecureList nn.nn.nn.nn nn.nn.nn.nn@ECHO OFF :DoneGOTO :EOF :error01ECHO.ECHO Missing Parameters!ECHO.ECHO Syntax: CreateSecondary domainname ECHO Example: CreateSecondary MyDomain.com PAUSE Missing ParametersGOTO :EOF Best RegardsAndy SchmidtPhone: +1 201 934-3414 x20 (Business)Fax: +1 201 934-9206 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evans MartinSent: Thursday, October 20, 2005 01:14 AMTo: Declude.JunkMail@declude.comSubject: [Declude.JunkMail] OT: New DNS Server Im running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. MartinAIM: martek01http://www.martek.net [EMAIL PROTECTED]Fax: 615-523-1679Mobile: 615-533-0197
RE: [Declude.JunkMail] OT: New DNS Server
I have done this in two ways. You can export the registry and then use an editor that can handle line breaks and other control characters (such as MS Words) to massage the text file before reimporting it on the new server. Or, you can create a list of domains (using the DNS command line tools) and then use a little .CMD procedure to create the secondary domain for all these domain names. Here is a sample batch script (mm.mm.mm.mm is the IP of your primary DNS server, nn.nn.nn.nn are the IP addresses of other subordinate DNS servers to which you permit zone transfers) @ECHO OFFif %1.==. goto error01 @ECHO ONDNSCMD \\YOURSERVER /ZoneAdd %1 /Secondary mm.mm.mm.mm /file %1.dnsDNSCMD \\YOURSERVER /ZoneResetSecondaries %1 /SecureList nn.nn.nn.nn nn.nn.nn.nn@ECHO OFF :DoneGOTO :EOF :error01ECHO.ECHO Missing Parameters!ECHO.ECHO Syntax: CreateSecondary domainname ECHO Example: CreateSecondary MyDomain.com PAUSE Missing ParametersGOTO :EOF Best RegardsAndy SchmidtPhone: +1 201 934-3414 x20 (Business)Fax: +1 201 934-9206 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evans MartinSent: Thursday, October 20, 2005 01:14 AMTo: Declude.JunkMail@declude.comSubject: [Declude.JunkMail] OT: New DNS Server I’m running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. MartinAIM: martek01http://www.martek.net [EMAIL PROTECTED]Fax: 615-523-1679Mobile: 615-533-0197
[Declude.JunkMail] OT: New DNS Server
I’m running Windows 2003 and MS DNS on my primary name server. Now I need to slave another server to it. What is the quickest way to transfer all of the domains from my old server to my new one and change them all from master to slave zones? Thanks, Evans Martin --- Evans L. Martin AIM: martek01 http://www.martek.net [EMAIL PROTECTED] Fax: 615-523-1679 Mobile: 615-533-0197