Hi @yz•
If the primary DC is crashed and you are unable to restore it , in this case you should launch metadata cleanup to remove from Active Directory and it hosts fsmo roles you have to seize them to move them to secondary DC.
https://blog.netwrix.com/2023/12/08/seize-fsmo-roles/
https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/ad-ds-metadata-cleanup
if member machines are using the primary DC as dns resolver you have to switch to secondary DC.
Please don’t forget to accept helpful answer