Solved

Migration of DC DNS to NEW DC and IP

Posted on 2014-04-24
3
158 Views
Last Modified: 2014-04-24
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
Comment
Question by:800LM
  • 2
3 Comments
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40020258
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
 

Author Comment

by:800LM
ID: 40020284
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
 
LVL 25

Accepted Solution

by:
Zephyr ICT earned 500 total points
ID: 40020318
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A procedure for exporting installed hotfix details of remote computers using powershell
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now