Fix - EventID 4007 DNS Server Error

The DNS Server Event Log was throwing the Event ID: 4007 error for "domain.com" and "_msdcs.domain.com". When I investigated it seemed to be throwing it for an old AD integrated domain that was no longer in use. I was not the original creator of the environment, but was just trying to create some good clean living.

The DNS server was unable to open zone _msdcs.domain.com in the Active Directory from the application directory partition ForestDnsZones.domain.com. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.

I hunted around to try to find any remaining evidence of this domain. After looking all over, I decided I should just remove it with a little brute force. To do so, remove the offending zone entries from this registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zone

WARNING: Export a copy of the registry key if you are unsure.