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

Article translations Article translations
Article ID: 979609 - View products that this article applies to.
Expand all | Collapse all

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: October 18, 2010 - Revision: 2.0
APPLIES TO
  • 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)
Keywords: 
kbprb kbpubtypekc kbsurveynew kbexpertiseadvanced kbdns kbtshoot kbnofix kbbug KB979609

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com