Home > MS: AD, Group Policies, PKI, MS: Server OS (W2008R2, W2012R2, W2016, Windows Server) > How to detect applications using "hardcoded" DC name or IP?

How to detect applications using "hardcoded" DC name or IP?


Minimizing Risk During AD Upgrades:


After you change the IP address of a domain controller, you should run the ipconfig /registerdns command to register the host record and dcdiag /fix command to ensure that service records are appropriately registered with DNS”

nltest /dsregdns

dcdiag /fix

you can change the IP address on domain controller without any problem. Also point its new private IP address as primary DNS in TCP/IP property and other DNS servers as secondary. After change, reboot the DC or run at least "ipconfig /flushdns & ipconfig /registerdns" to re-register the ip address in the DNS zones.

ALso make sure that all other machines relying on this DC has to get the new address, either with DHCP or fixed settings.

Upgrade Domain Controllers to Windows Server 2012 R2 and Windows Server 2012:

Migrating Domain Controllers From Server 2008 R2 to Server 2012 R2:

Simple Guide : How to Rename Server 2012 AD Host Name?


netdom computername <currentDC FQDN> /add:<newDCName FQDN>

netdom computername <currentDC FQDN> /makeprimary:<newDCName FQDN>


netdom computername <newDCName FQDN> /remove:<oldDCName FQDN>


  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: