tag:blogger.com,1999:blog-1722448004085608050.post1970469875752924923..comments2024-03-18T13:13:44.519+08:00Comments on Nathan's Thoughts and Notes: Migrating a lot of zones from Microsoft DNS to BINDNathan Linleyhttp://www.blogger.com/profile/05564124143656054803noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1722448004085608050.post-63221599205889450172015-05-21T03:39:48.907+08:002015-05-21T03:39:48.907+08:009) Test DDNS updates sent to your BIND Master are ...<br />9) Test DDNS updates sent to your BIND Master are now forwarded & show up in MSFT DNS<br /><br />10) Use DDNS or a MSFT command line tool to update the SOA record for every zone with the host name for your BIND Master instead of the name of a MSFT DC.<br /><br />11) DNS Updates are now flowing though your BIND server.<br /><br />12) For large networks I would recommend building a Anonymoushttps://www.blogger.com/profile/04546985762889384006noreply@blogger.comtag:blogger.com,1999:blog-1722448004085608050.post-63711689893301823612015-02-18T23:38:04.617+08:002015-02-18T23:38:04.617+08:00Sorry for the comment flurry - to fix this issue s...Sorry for the comment flurry - to fix this issue simply replace the line <br />"$file = $zonename[$i] + ".txt""<br />with <br />"$file = $zonename + ".txt".<br /><br />Indexing the zone name will only give the $i'th character of the zone name, which means it won't export to a file properly.<br /><br />Hope this helps!velinathhttps://www.blogger.com/profile/04218326694753197948noreply@blogger.comtag:blogger.com,1999:blog-1722448004085608050.post-13083670937661533542015-02-18T23:34:31.974+08:002015-02-18T23:34:31.974+08:00Sorry! After more research it seems to be a proble...Sorry! After more research it seems to be a problem with how the zonename is being parsed. I'll try and comment back here when I have a solution for that.velinathhttps://www.blogger.com/profile/04218326694753197948noreply@blogger.comtag:blogger.com,1999:blog-1722448004085608050.post-64097501983385435952014-02-11T22:11:22.241+08:002014-02-11T22:11:22.241+08:00Hi Tyler,
My script is pretty hackish and deals w...Hi Tyler,<br /><br />My script is pretty hackish and deals with text output. Based on what your saying, I'm thinking there might be a difference in how dnscmd may output between different windows versions. I'm guessing from the date of my post that I was doing this with posh v1 on windows 2003 server. I haven't tried again on newer OS's to see if there is any difference, but itNathan Linleyhttps://www.blogger.com/profile/05564124143656054803noreply@blogger.comtag:blogger.com,1999:blog-1722448004085608050.post-14531790817566855412014-02-07T02:31:09.757+08:002014-02-07T02:31:09.757+08:00I'm getting errors of ERROR_ALREADY_EXISTS and...I'm getting errors of ERROR_ALREADY_EXISTS and when I navigate to the folder the .txt documents are to export to, I have about 8 files but they are all named e, i, m, o, a, etc. but none of my other DNS zone files are there because of the error. Advice?Anonymoushttps://www.blogger.com/profile/08461278815261841281noreply@blogger.comtag:blogger.com,1999:blog-1722448004085608050.post-75731948292908984852012-06-20T08:03:59.849+08:002012-06-20T08:03:59.849+08:00Nico, There are several options. First you could...Nico, There are several options. First you could install powershell on the server, or run the commands from another machine that has powershell...using an account that has rights to the dns server. The dnscmd can point to remote systems.<br /><br />Overall, the use of powershell here is just text processing and putting entries into the dnscmd.exe dos command. You could do all of this with anyNathan Linleyhttps://www.blogger.com/profile/05564124143656054803noreply@blogger.comtag:blogger.com,1999:blog-1722448004085608050.post-86954773865624137552012-06-19T12:48:49.441+08:002012-06-19T12:48:49.441+08:00Very helpfull, i still cannot discover what should...Very helpfull, i still cannot discover what should be the best way to migrate a lot of Windows 2003 AD Server zones to Bind.<br />I liked the first option but Windows 2003 does not have powershell...<br /><br />ThanksNicohttps://www.blogger.com/profile/08226828366000544878noreply@blogger.com