You are currently offline, waiting for your internet to reconnect

The Modify method in WMI DNS can delete a DNS record if the new record is identical to the old record

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

SYMPTOMS
Consider the following scenario. You use the Modify method in Windows Management Instrumentation (WMI) Domain Name System (DNS) to change an existing DNS record. The existing DNS record contains data that is identical to the new data that you want to use to change the record. This can occur if another user or operator changed the DNS record before you made your change.

In this scenario, the DNS record is deleted instead of being changed to the same data.
CAUSE
This issue occurs because the Modify method is implemented as follows:
  1. Add the new DNS record.
  2. If this is successful, delete the old DNS record.
When the new record is identical to the old record, the DNS record is deleted.
WORKAROUND
To work around this issue, first use the record type's Delete method to remove the old record, and then use the record type's Add method to add the new record, instead of using the Modify method.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Properties

Article ID: 979609 - Last Review: 10/18/2010 18:59:00 - Revision: 2.0

Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 Standard, Windows Server 2008 Datacenter, Windows Server 2008 Enterprise, Windows Server 2008 Standard, Microsoft Windows Server 2003, Datacenter Edition (32-bit x86), Microsoft Windows Server 2003, Enterprise Edition (32-bit x86), Microsoft Windows Server 2003, Standard Edition (32-bit x86)

  • kbprb kbpubtypekc kbsurveynew kbexpertiseadvanced kbdns kbtshoot kbnofix kbbug KB979609
Feedback