«

»

Sep 22 2015

Print this Post

Delete phantom records of an old domain controller from DNS

Sometimes after demoting a DC the NS records in DNS are kept! These records may cause issues if not deleted.

Here’s a PowerShell three liner to remove the obsolete records from all zones, you need to change the server names according to your environment.

 

 

Cheers!

About the author

Walid AlMoselhy

Permanent link to this article: http://almoselhy.azurewebsites.net/2015/09/delete-phantom-records-of-an-old-domain-controller-from-dns/

Leave a Reply

Your email address will not be published. Required fields are marked *