At one point, on our SBS 2011 server, I had 2 IP addresses assigned to the primary NIC. This resulted in Windows adding a static entry for both IPs to the DNS when the DNS server started. This of course caused all manner of confusion, so I eventually removed the secondary IP address. However, every time the DNS server service is restarted, a static entry for the no longer present IP address keeps reappearing. Obviously, there's a reference to this IP somewhere that is causing this, but I have no idea where to look.
Why does Windows keep recreating this DNS entry for an IP that is no longer assigned to the machine?
I feel stupid after figuring this one out, but it's obscure enough that it's worth posting the answer in case someone else has the problem.
At some point in the past, while attempting to fix another DNS issue, I had modified the registry key for the DNS service to include a PublishAddresses parameter that included the address in question. Once I modified this value to remove the old ip address, everything worked as expected.
More details on this issue can be found here:
http://social.technet.microsoft.com/Forums/en-US/winserverNIS/thread/3eaf3017-373f-4361-a51f-0a20b2e51067
Quotes from link:
A good way to figure out things like this is to download Procmon from www.systernals.com and run it while you start the DNS service - it should show you where it's pulling the dead IP from.