Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 736
  • Last Modified:

remove DNS from active directory.

How to remove the DNS from active directory. I have to DNS servers in my active directory. Both got corrupted due to replication problem. Now wow can I remove both from the active directory and install it gain. When I removed one and installed  again I got the same old settings from the active directory.I have exchage server 2007 running my my active directoy too. Any problem if I remove both DNS and insall again.
0
jobby1
Asked:
jobby1
2 Solutions
 
woolnoirCommented:
>When I removed one and installed  again I got the same old settings from the active directory

Thats intended as the DNS data for AD integrated zones is stored within AD. Is it the DNS servers that are corrupt or is it the zone data (ie domains, A, TXT, PRT & SVR records)?
0
 
JBond2010Commented:
Have you tried doing a defrag of DNS?
0
 
AwinishCommented:
How you can say data is corrupted in dns means all the record in DNS is corrupted,is there stale dns record or dns is not updating.

There can be corruption in the parittion DomainDNS & forestdnszone partition which can be recreated instead of deleting the DNS zone & if you do that exchange will not work as dns contains srv,hostrecords,ptr,cname,guid,name of dc zone,GC etc & it will happen your Exchange will not function untill all the records are back into their original place.

I would not recommend & basically, whats the issue with dns you are facing,made you feel the records are corrupt.

Change all the zone as NON AD-Inetgrated zone even zone in reverse lookup zone & then stop dns service & delete domaindnszone & forestdnszone, restart the dns service, give time to replicate to other dc & once its done, change the zone back to AD-Integrated & zone will come back.

You can run dcdiag /test:dns to test dns functionality & enable scavenging to remove stale records.

http://social.technet.microsoft.com/Forums/en/winserverDS/thread/afb2c23b-5c2c-4ce1-9e94-07fa929dddcb

http://www.mombu.com/microsoft/microsoft/t-repost-missing-forestdnszones-and-domaindnszones-partitions-under-child-ad-2003-domain-8223323-last.html
0
 
Chris DentPowerShell DeveloperCommented:

> Have you tried doing a defrag of DNS?

How would you do that? The zone data (in an AD Integrated zone) is stored in AD itself, I would not advise attempting offline defragmentation of that database. If it's not in AD then it's text files, nothing to defragment.

If you wish to clear out a zone entirely you might refer to this article:

http://support.microsoft.com/?kbid=305967

The last part of the instructions vary depending on the current Replication Scope setting for your zone, the instructions only refer to "All Domain Controllers in the AD Domain".

Chris
0

Featured Post

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now