question

SenhorDolas-2197 avatar image
0 Votes"
SenhorDolas-2197 asked SenhorDolas-2197 commented

Demote DC but a DNS remove question

Hi

I need to get rid of a DC, this is not the last DC on the domain, I just dont need this box anymore and I am OK with demoting it via Roles and Features.

My question is about DNS role. Is it as simple as also removing DNS from Roles and Features? Are there any other tasks or settings I need to be aware of?

Thanks, M

windows-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cthivierge avatar image
1 Vote"
cthivierge answered SenhorDolas-2197 commented

On your Domain Controller, Open the DNS console (dnsmgmt.msc)

Under Forward lookup zone, right click on your DNS Zone and click on Properties
In the Name Server tab, select the old DNS Server you want to remove and click on Remove and then, click ok.

Do this for all DNS zones (forward and reverse)

120150-dns.png



dns.png (29.9 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Mark this as answer!

0 Votes 0 ·
FanFan-MSFT avatar image
1 Vote"
FanFan-MSFT answered

Hi,

Based on your description, there are other DCs working as DNS Servers for the clients, right?
Based on my understanding, we need to make sure that the clients use other DCs as the DNS server, and this one which will be demoted shouldn't be used as DNS servers for the clients.
Then we can remove the DNS role safely.

Before this demote operation, remember to back up the DCs and confirm that there are other DCs working correctly.


Best Regards,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SenhorDolas-2197 avatar image
0 Votes"
SenhorDolas-2197 answered

@FanFan-MSFT
Yes, I have other DC's and DNS servers working fine. I just dont need this DC anymore.
No other clients are using this DNS server - the office is closed now, nothing on site.
About the removal of DNS role, is it as simple as removing from Roles and Features? Is there any other procedures needed? And how can I check that is worked OK?
M

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cthivierge avatar image
1 Vote"
cthivierge answered SenhorDolas-2197 commented

You old DC/DNS Server may still have Name Server records on some DNS Zones. In that case, you may have to remove the record using the DNS management console

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@cthivierge
Would be help me with an example pls? Not very strong with DNS hence all these questions...

0 Votes 0 ·
SenhorDolas-2197 avatar image
0 Votes"
SenhorDolas-2197 answered

@cthivierge @FanFan-MSFT
Great stuff thanks for the screenshot.
One last question, when removing the DC role, do I need to select DNS server to be removed also or can I do this after the machine reboots (after removing the DC role) ?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cthivierge avatar image
1 Vote"
cthivierge answered

DNS rôle can be removed after the restart of the Server. No problem.

As long as your client does not make any query to the DNS Server, you can remove the role when you want.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SenhorDolas-2197 avatar image
0 Votes"
SenhorDolas-2197 answered SenhorDolas-2197 commented

@cthivierge
You are a star thanks for your help.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

then you should also mark the answer


0 Votes 0 ·

Had to wait a few hours to have the mark as answer button up.

0 Votes 0 ·