question

EavenHuang avatar image
0 Votes"
EavenHuang asked StoyanChalakov answered

AD - How long will new computer name updated in DHCP and DNS?

Dear Experts,

I renamed some computers in our local AD but found that the computers name didn't get updated in neither DHCP or DNS. Actually, 2 out of 20 computers got updated:( after 24 hours.

I noticed that some of our computers were reserved static IP address in DHCP, do I need to delete those reservations so they can be updated in DHCP and DNS?
(I guess DNS and DHCP didn't create new entries with new name and IP address?)

Thanks a lot!

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.

GaryReynolds avatar image
0 Votes"
GaryReynolds answered GaryReynolds commented

Hi @EavenHuang,

Just to confirm, if you want to rename a workstation connected to a domain, you should do the renaming at the workstation, and not in the AD. For the AD and the workstation, there is no impact renaming the machine while the it's connected to the domain. However, some management tools don't like a machines being renamed while still connected to the domain, i.e. SCCM. In these cases it's better to remove the machine from the domain before renaming and rejoin it after the rename is complete.

Depending on your configuration of your environment, the machine should registered it's name in DNS after the reboot or after your have run ipconfig /registerdns from the workstation.

DHCP reservation are based on the MAC address of the machine's network card, so changing the name should have an impact on reservations.

Gary.

· 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.

Hi @GaryReynolds,

I was using Powershell to rename the computer remotely, will that work?

I can see some of the computers were renamed and displayed the correct names in AD but some not.

0 Votes 0 ·

It should work, but you will need to check on the machines that have failed, to confirm that the name has changed as expected. Once confirmed, I would run ipconfig /registrydns to force the machine to register again in DNS.

Gary.

0 Votes 0 ·
StoyanChalakov avatar image
0 Votes"
StoyanChalakov answered

Hi @EavenHuang,

I already replied to your other post, this one can be considered as duplicated. Please check my asnwer in the other thread:

AD computer name updated but DNS name didn't, how long will that update?
https://docs.microsoft.com/en-us/answers/questions/828104/ad-computer-name-updated-but-dns-name-didn39t-how.html

After you have made all required configurations (according to the artcile) your DHCCP server, whihc gives the IP adderesses to your clients will be able to update also their DNS records.

Hope I was able to help!


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Stoyan Chalakov




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.