Read on here about troubleshooting.
https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/how-domain-controllers-are-located#troubleshooting-the-domain-locator-process
--please don't forget to upvote
and Accept as answer
if the reply is helpful--