[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

Migration of DC DNS to NEW DC and IP

Question for you all, I have a failing DC1 @ 10.0.0.1, I made a new DC2 at 10.0.0.2.

all my servers have static IPs with DNS.  is there a way to remove DC1 totally then add a Windows server with DNS to forward all request to new DC2?

I don't think its a good idea to add another IP to DC2.
0
800LM
Asked:
800LM
  • 2
1 Solution
 
Zephyr ICTCloud ArchitectCommented:
Did you not install DNS on the new DC? That way it would (if configured correctly) be AD integrated and all DNS entries will be synched. Then it comes down to changing the DNS settings on all the other servers to the new DNS/DC server...

After that you can decommission the failing DC... There's a comprehensive guide at Microsoft for this, but if you have specific questions don't hesitate to ask.
0
 
800LMAuthor Commented:
Yes the DC2 has is a has fully integrated DNS, my issue is we have 100's of servers to change the static DNS on each interface.  just looking for a stop gap since my DC1 is looking to fail.
0
 
Zephyr ICTCloud ArchitectCommented:
You could use a Powershell script to change the DNS settings on your servers, it would read the list of servers from a file ...

Something like this:

$servers = get-content server-list.txt
$nics = Get-WMIObject Win32_NetworkAdapterConfiguration -computername $servers |where{$_.IPEnabled -eq “TRUE”}
  Foreach($nic in $nics) {

$DNSServers = “10.0.0.2"
 $NIC.SetDNSServerSearchOrder($DNSServers)
 $NIC.SetDynamicDNSRegistration(“TRUE”)
}

Open in new window


Or another example: http://gallery.technet.microsoft.com/scriptcenter/Change-Server-DNS-Settings-134f88b9

Yet another would read the servers from AD and change DNS settings: http://powershell.nicoh.me/powershell-1/network/set-dns-server-ip-address-information-on-remote-servers
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now