We have renamed our DC (DC002 to DC001) using Netdom commands and it completed successfully.
But we could see that Old name is still appearing in msDS-AdditionalDnsHostName attribute. Ie both new name & old name is available in this attribute.
servicePrincipalName attribute as well contains both old and new DC name values. Could you please tell let me know how to fix this issue.
netdom computername DC002.test.lab /add:DC001.test.lab
netdom computername DC002.test.lab /makeprimary:DC001.test.lab
NETDOM COMPUTERNAME DC001.test.lab /REMOVE:DC002.test.lab