How to clear bad information in Active Directory-integrated DNS (305967)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q305967

SUMMARY

This article describes how to clear out bad information from Active Directory-integrated Domain Name System (DNS). You may need to do this if the DNS is damaged or if the DNS contains incorrect registration information.

Active Directory-integrated DNS enables Active Directory storage and replication of DNS zone databases.

MORE INFORMATION

When you administer zone files that are created by the DNS service, we recommend that you use the DNS Microsoft Management Console (MMC) tool to make changes. As an alternative, it is possible to administer all of your DNS zone files manually by using any program that supports saving files in text mode.

Whether you decide to edit zone files manually in a text editor or to use the DNS console to modify the zone files, choose one method for updating zones, and then use that method consistently. If you use both methods, zone edits can be overwritten or rejected.

To clear bad information in Active Directory-integrated DNS, complete the following steps:
  1. Change the DNS settings to Standard Primary Zone.
  2. Change the zone to accept nonsecure and secure dynamic updates.
  3. On each domain controller that had DNS, point to the standard primary DNS server for DNS resolution.
  4. On each domain controller, at a command prompt, type the following commands, pressing ENTER after each command:

    ipconfig /flushdns
    ipconfig /registerdns

  5. On each domain controller, at a command prompt, type the following commands, pressing ENTER after each command:

    net stop netlogon
    net start netlogon

  6. In the DNS console, delete the DNS zones.
  7. Delete zones in Active Directory Users and Computers. Click Advanced Options, click System, and then click DNS.
  8. After the information has been cleared, recreate the DNS zones.
  9. On each domain controller, at a command prompt, type the following commands, pressing ENTER after each command:

    ipconfig /flushdns
    ipconfig /registerdns

  10. On each domain controller, at a command prompt, type the following commands, pressing ENTER after each command:

    net stop netlogon
    net start netlogon

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

294328 How to reinstall a dynamic DNS Active Directory-integrated zone


Modification Type:MajorLast Reviewed:12/7/2005
Keywords:kbenv kbhowto kbnetwork KB305967