I have a Windows Server 2008 R2 DNS server (that replicated to two other servers) with a zone called mycompany.com. I created a new subdomain for that zone called subdomain.mycompany.com, this subdomain contained a single SRV record and a single A record.
I then decided that I no longer needed this subdomain, so I deleted it. After deleting the subdomain I needed to create an A record within the original zone with the same name as the old deleted subdomain. (subdomain.mycompany.com). However instead of creating the A record within the original zone, the record is created inside of a new subdomain with the name of the original subdomain.
This works, however it is not the intended result. Any ideas why the new A record is causing the deleted subdomain to reappear?
EDIT: This behavior is repeatable, but ONLY if the deleted subdomain contains an SRV record. I have replicated the problem on Server 2012 R2 as well. It's almost as if the DNS Server thinks that the subdomain still exists, so it brings it back from the dead and places the new host record inside it, rather than just placing the host record in the parent zone.
The thing to remember is that when you create a zone, you are not creating an entry in an existing database.
In fact, you are creating a new database as said in the documentation:
A zone starts as a storage database for a single Domain Name System (DNS) domain name.
When you create a new entry, the DNS server checks if a relevant storage database exists. In your case a relevant, all be-it empty and inactive database existed.
The DNS server then reactivates the database, and puts your new entry in there.
Why it does this, I guess you'd have to ask Microsoft.