I've been dealing with some DNS problems on my Windows Server. It was running smoothly for years, but we had a few power outages recently, and now the DNS records seem messed up. I tried flushing the DNS cache with dnscmd /clearcache and ipconfig /flushdns, but when I ping various devices, I notice multiple hostnames pointing to the same IP address, and I'm not sure where the name resolution is coming from. The DNS settings on the server's network adapter only point to its own IP address. I even removed the DNS role and reinstalled it, but when I did, the Forward Lookup Zones I had before were still there. I expected that removing the role would reset or delete all DNS settings and records on the server. Any suggestions on how to resolve this?
2 Answers
Since the zones came back after reinstalling, they probably are Active Directory integrated. Reinstalling DNS won't reset those. I'd suggest checking the DNS replication using dcdiag /test:dns and repadmin /replsummary. Also, make sure scavenging is enabled to clean up any stale records.
Have you checked the hosts file on your server? Sometimes issues can crop up from there if it's been modified.
Yes, the hosts file is still the standard/default one.

Here are the dcdiag /test:dns results. It looks like everything checks out, but I suspect the stale records might still be an issue.