question

SenhorDolas-2197 avatar image
0 Votes"
SenhorDolas-2197 asked DSPatrick commented

Demote DC - how to clean up records left in DNS and DFS

Hey,

I have successfully demoted a DC. Repamin and replication tool show no signs of this server in DC replication. AD shows the object as Computer and not as DC.

  1. In DNS, most of the forward lookup zones don't show the DC in the Name Servers tab however this server is still showing in these locations:

  2. In DFS, the Site (Paris) is still showing as referral.
    129613-image.png
    129723-16.png

Can I simply delete the record from those DNS zones and DFS out right using the consoles or is it something from complicated?
Thanks, M








windows-active-directorywindows-dhcp-dns
image.png (14.7 KiB)
16.png (12.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
1 Vote"
DSPatrick answered DSPatrick commented
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking if there's any progress or updates?

--please don't forget to upvote and Accept as answer if the reply is helpful--



0 Votes 0 ·

Hi @DSPatrick
Sorry for the delay.
Yes all worked out OK.
Still cleaning up the dc from DNS reverse lookup zones. :)
Thanks for your quick help on this.

0 Votes 0 ·

You're welcome.




0 Votes 0 ·
LimitlessTechnology-2700 avatar image
1 Vote"
LimitlessTechnology-2700 answered

Hello @SenhorDolas-2197,

This is a common scenario, unfortunately.

I would suggest to run the next command to detect other orphaned entries:

ldifde -f ldifde.txt -s PROD-DC1 -d "dc=corpdom,dc=local" -r "(name=demotedDChostname)" -p subtree

After that, is safe to delete manually the records as long as all the FSMOs have been transferred to other DCs.

Hope this resolves your query,
Best regards,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.