none
Accidentally delete folder in DNS

    Question

  • Good Day,

    While removing a Service record from DNS (windows 2003 environment) I have deleted by mistake the following folder :

    Forward Lookup Zone--domain.internal--_msdcs--gc

    can DNS rebuild this folder automatically , or I have to restore from backup?

    I f I have to restore from Backup , can I restore this folder alone without restoring the whole System State ?

    Regards

    Elias Dayeh

    Thursday, April 26, 2012 7:17 AM

Answers

  • Hi,

    Go to TCP/IP property > Advanced> DNS and ensure the "Register this connections address in DNS" is checked.

    Proceed like this:
    Run the below commands on problem DC and verify the subfolders in DNS : net stop dns & net stop netlogon & ipconfig /flushdns & net start dns & net start netlogon & ipconfig /registerdns & netdiag /fix

    If above does not help follow this : http://support.microsoft.com/kb/310568 or http://support.microsoft.com/kb/817470/


    Best Regards,

    Abhijit Waikar.
    MCSA 2003 | MCSA:Messaging | MCTS | MCITP:Server Administrator | Microsoft Community Contributor | My Blog

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Richard Diver Thursday, April 26, 2012 5:10 PM
    • Marked as answer by Elias Dayeh Thursday, April 26, 2012 8:52 PM
    Thursday, April 26, 2012 7:46 AM
  • It seems that you have AD integrated zone to recover the same restart the netlogon and dns service also run ipconfig/flushdns and ipconfig /registerdns.If the same is not created you can refer below link to restore only the dns from backup

    AD Integrated DNS zone’s are missing in Windows 2003:
    http://blogs.technet.com/b/networking/archive/2007/05/10/oops-our-ad-integrated-dns-zone-s-are-missing-in-windows-2003.aspx

    Hoep this helps

    Best Regards,

    Sandesh Dubey.

    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator | My Blog

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Marked as answer by Elias Dayeh Thursday, April 26, 2012 8:53 PM
    Thursday, April 26, 2012 8:38 AM
  • I waited till the Forward Lookup Zone--domain.internal--_msdcs--gc folder rebuilt itself. then for the DCs that was not listed I used the commands:

    net stop netlogon

    net start netlogon

    ipconfig /registerdns

    waited some time for replication between DCs to take place & it was replicated successfully & everything went normal in DNS.

    http://support.microsoft.com/kb/310568

    Regards

    Elias Dayeh

    • Marked as answer by Elias Dayeh Monday, April 30, 2012 5:43 AM
    Thursday, April 26, 2012 9:01 PM

All replies

  • Hi,

    Go to TCP/IP property > Advanced> DNS and ensure the "Register this connections address in DNS" is checked.

    Proceed like this:
    Run the below commands on problem DC and verify the subfolders in DNS : net stop dns & net stop netlogon & ipconfig /flushdns & net start dns & net start netlogon & ipconfig /registerdns & netdiag /fix

    If above does not help follow this : http://support.microsoft.com/kb/310568 or http://support.microsoft.com/kb/817470/


    Best Regards,

    Abhijit Waikar.
    MCSA 2003 | MCSA:Messaging | MCTS | MCITP:Server Administrator | Microsoft Community Contributor | My Blog

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Richard Diver Thursday, April 26, 2012 5:10 PM
    • Marked as answer by Elias Dayeh Thursday, April 26, 2012 8:52 PM
    Thursday, April 26, 2012 7:46 AM
  • Thank you . will try it and revert..

    Elias

    Thursday, April 26, 2012 7:58 AM
  • It seems that you have AD integrated zone to recover the same restart the netlogon and dns service also run ipconfig/flushdns and ipconfig /registerdns.If the same is not created you can refer below link to restore only the dns from backup

    AD Integrated DNS zone’s are missing in Windows 2003:
    http://blogs.technet.com/b/networking/archive/2007/05/10/oops-our-ad-integrated-dns-zone-s-are-missing-in-windows-2003.aspx

    Hoep this helps

    Best Regards,

    Sandesh Dubey.

    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator | My Blog

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Marked as answer by Elias Dayeh Thursday, April 26, 2012 8:53 PM
    Thursday, April 26, 2012 8:38 AM
  • I had 5 sites under the gc folder ,Till now it recovered just 2 sites automatically.

    Forward Lookup Zone--domain.internal--_msdcs--gc--_sites

    it recovered just 2 sites..shall I wait maybe it will recover the rest of them , or I have to do the above commands on the DCs in the other sites ?

    Elias

    Thursday, April 26, 2012 8:50 AM
  • Force the replication between the DC and wait for sometimes and check

    Best Regards,

    Sandesh Dubey.

    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator | My Blog

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Thursday, April 26, 2012 8:53 AM
  • You mean just a GC folder or complete domain.com structure? Even if its domain.com, you can restore it from the back if there was too many static records or create a new zone named as domain.com, automatically it will populate with _msdcs folder with all the folder inside but once you create domain.com folder, simplt stop/start dns server and Netlogon service. You can also run dcdiag /fix as well or reboot the DC machine once.

    If you create domain.com, all the domain joined client system needs to be rebooted once to re-register their records into the DNS server again. If you restore from the back, it all the record will be restore but yes there might be downtime for the restoration process.

    You can also backup AD-Integrated DNS using below article.

    http://www.activedir.org/Articles/tabid/54/articleType/ArticleView/articleId/5/How-to-export-ADintegrated-zones-to-file.aspx


    Awinish Vishwakarma - MVP - Directory Services

    My Blog: awinish.wordpress.com

    Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.

    Thursday, April 26, 2012 9:14 AM
    Moderator
  • I waited till the Forward Lookup Zone--domain.internal--_msdcs--gc folder rebuilt itself. then for the DCs that was not listed I used the commands:

    net stop netlogon

    net start netlogon

    ipconfig /registerdns

    waited some time for replication between DCs to take place & it was replicated successfully & everything went normal in DNS.

    http://support.microsoft.com/kb/310568

    Regards

    Elias Dayeh

    • Marked as answer by Elias Dayeh Monday, April 30, 2012 5:43 AM
    Thursday, April 26, 2012 9:01 PM