Results 1 to 7 of 7

Thread: Demotion doesn't properly remove server from DNS

  1. #1
    Join Date
    Jul 2006
    Posts
    339

    Demotion doesn't properly remove server from DNS

    I have done a successful demotion, after that DC's names are not removed from the DNS Ad-Integrated zones with Name Servers Tab. I have waited days to check if it was replication related, but it is not. Also, I have checked that the replication is taking place and its fine. Can anyone help? Thanks.

  2. #2
    Join Date
    Nov 2005
    Posts
    403

    Re: Demotion doesn't properly remove server from DNS

    You can try to get rid of them manually without any issues. Also you need to remove it manually from AD sites and services as well.

  3. #3
    Join Date
    Jul 2006
    Posts
    339

    Re: Demotion doesn't properly remove server from DNS

    I usually do that from both DNS and ADSS. However it is a bit irritating to do it to all DNS zones everytime I demote a box. I have even dump the entire AD DB with LDIFDE and search throught it. I think that it will be good to have a proper cleanup. Thanks.

  4. #4
    Join Date
    Jan 2006
    Posts
    4,224

    Re: Demotion doesn't properly remove server from DNS

    It is good that you are being thorough, but you need to be able to check the relevant DNS records registered by a domain controller in the forward lookup zones by examining content of the local %windir%\system32\config\netlogon.dns file.

  5. #5
    Join Date
    Feb 2006
    Posts
    214

    Re: Demotion doesn't properly remove server from DNS

    I think that you can do that manually or by using dnscmd in a script, can you check at Script center for samples of this? But it should not be a thing that you do regularly, is it? Did you continuously remove DCs from your domain?

  6. #6
    Join Date
    Oct 2005
    Posts
    927

    Re: Demotion doesn't properly remove server from DNS

    I agree that you should remove it manually, or else you can try to enable aging/scavenging on the DNS zones/server as well.

  7. #7
    Join Date
    Apr 2012
    Posts
    1

    Re: Demotion doesn't properly remove server from DNS

    I had to do this for our reverse zones.
    Export the list from the dns gui or dnscmd, open in Excel, delete all other columns except the zones list. Add a column before the zones, drag this down: dnscmd /recorddelete <-space. Then add a column after and drag this down: space -> @ NS yournameserverFQDNdot /f. Then save as a .bat file, review for syntax and run it.
    Don't forget the spaces before or after my arrows and the trailing dot on your name server.

Similar Threads

  1. The application DES 2.0 doesn't work properly
    By Rainbow in forum Windows Software
    Replies: 3
    Last Post: 25-05-2011, 07:19 PM
  2. In xbox 360 ventilation doesn't work properly.
    By Ikrama in forum Portable Devices
    Replies: 5
    Last Post: 19-05-2011, 07:41 PM
  3. Replies: 5
    Last Post: 05-04-2011, 10:56 PM
  4. Suspend doesn't work properly with ubuntu
    By leshaspar in forum Operating Systems
    Replies: 5
    Last Post: 18-11-2010, 06:31 AM
  5. my computer doesn't boot properly
    By thelad20 in forum Motherboard Processor & RAM
    Replies: 2
    Last Post: 29-09-2010, 02:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •