Having demoted a Windows 2003 Domain Controller and re-promoting into a different domain DNS began throwing the following error referencing the old domain name, which no longer existed:
Event ID: 4007
Description: The DNS server was unable to open zone <zone> in the Active Directory from the application directory partition <partition name>. 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.
1) Open Regedit via Start – Run – type Regedit and click ok
2) Browse to HKLM\System\ControlSet\Services\DNS\Zones
(This may have been moved to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones)
3) Export and then delete the zones that are no longer needed
Checking zone information with ADSIEdit.msc may also be required however removing the above seems to have worked to us. In ADSI check – DC=DomainDNSZones,DC=(yourdomain),DC=local partition