Link to home
Start Free TrialLog in
Avatar of dheerajg77
dheerajg77

asked on

Change DNS IP on 400 servers

I have 2-2003 domain controllers and 2-2008 controllers.  I want to bring down both 2003 domain controllers but my problem is that all 400 servers in our network is using DNS IP from old servers.  I Tried migrating the IP from old 2003 to 2008 DC's but that didnt work fine

Is there a way to do that instead of modifying each of the server to change its DNS IP (Primary and Alternate) . I dont want each server to change its Primary and alternate DNS as it require huge effort
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

What you could do is change the IP addresses, meaning over a weekend or maintenance period change the IP of the 2003 boxes and then you can reassign those IP addresses to the 2008 DC/DNS servers.  Restart netlogon to register the new IPs.

Ace has a long blog on it

http://msmvps.com/blogs/acefekay/archive/2010/10/09/remove-an-old-dc-and-introduce-a-new-dc-with-the-same-name-and-ip-address.aspx

In his case you also goes into reusing the hostnames but you don't really need to do that (just the ip in your case)

Thanks

Mike
Mike has a good solution you should consider having a little downtime. When reusing the IP addresses you would need to delete any DNS entries in DNS for the IP address the problems you ran into problems most likely because you did not delete records
Avatar of dheerajg77
dheerajg77

ASKER

I changed the IP address, modified the DNS but when I started pinging the new DC it was not replying so I had to switch it back to its original IP
when you did that did you restart the netlogon service on the DC?   Did you give it time to replicate?

Thanks

Mike
this is one of the reasons I always reserve an IP address for all of my servers using DHCP and then assign the addresses via DHCP.  A lot of people think it's a bad idea, but it helps in situations like this.

Other than what Mike has already suggested you can use the NETSH command to change the IP addresses, I have used this by exporting a list of the servers from Active Directory and then using Excel to build the command based on the computer name then copy and paste them in to a command prompt.
Don't modify the record delete the recreate
Well I am probably not gonig to change the IP but I want to know how to assign the new IP on all 400 servers, is there a script or automated way to do that
SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can we run netsh command to change IP on all servers remotely. I dont want to go to each and every server to do that.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
DOH! Can't believe I forgot to add the PSEXEC bit!

Thanks Mike :)
do we need to install psexec client on the servers?