This article will show you how to rename a Windows Server 2012 R2 Domain Controller using PowerShell.
To rename the Domain Controller open PowerShell and type:
Rename-Computer -computername CURRENTNAME.LOCAL -NewName NEWDCNAME.LOCAL
Once completed restart the DC