Jump to content


drewz99

Configuring Primary DNS Server

Recommended Posts

I've been tasked with migrating a customer off of server 2008 R2 to Server 2012 R2. All FSMO roles have been transferred to the newly created Server 2012 R2 DC's and replication is taking place. Tomorrow, I would like to migrate dns off of the 2008 boxes. The scopes have replicated to the new dns servers, but how to I make sure the clients get pointed to the 2012 dns servers once I take the 2008 servers offline? I do have dns integrated into AD.

I'm stuck at the "ensuring primary dns server" becomes my 2012 DC.

 

Would the below powershell command set this across the domain?

 

Set-dnsclientserveraddress –interfaceindex 15 –serveraddress (“xx.xx.xx.xx”,”xx.xx.xx.xx”)

 

Any advice would be greatly appreciated. Thank to everyone!

Share this post


Link to post
Share on other sites

I don't know your particular setup, but typically clients would get their DNS server addresses via DHCP. So you'd want to go into AD DHCP and change the DNS Server addresses from the old address to the new one. Then when clients refresh their DHCP lease they'd get the new DNS server.

 

Servers typically aren't set up for DHCP so you'd need to change the DNS server settings manually. If you only have a handful of servers I'd just use the GUI. If you have a ton of servers or just want to complicate things you could certainly script it with powershell commands.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.