question

johnwilliams-4177 avatar image
0 Votes"
johnwilliams-4177 asked SunnyQi-MSFT commented

non-domain joined Computers DHCP and DNS Record Registration

After a ton of research I have determined that only domain joined computer's records are registered with DNS. I am trying to understand that If DHCP is configured to dynamically update DNS records and using an account that is a member of the DNSUpdateProxy group to to create DNS records on behalf of clients then why don't non-domain joined machines have their records created and updated in DNS? The address is being provided by DHCP to non-domain joined computers AND DHCP has permissions to write to the DNS server. Is this by design? That would make sense to a degree. How would you get DHCP to automatically create DNS records when the DHCP client is non domain joined?

After further testing I got two linux machines to be assigned an IP address and records were created in DNS. I observed this after I changed this setting:
Dynamically update DNS records for DHCP clients that do not request updates

What disturbing is that a non domain joined windows 10 client does not behave the same way as it does not register with DNS. I also changed its DNS suffix on the NIC to match the domain name but it still did not register with DNS. However a PTR record is created for it.

windows-dhcp-dns
· 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,

Just checking in to see if the information provided was helpful.

If yes, you may accept useful reply as answer, if not, welcome to feedback.

Best Regards,
Sunny

0 Votes 0 ·

Hi,
 
Just want to confirm the current situations.
 
Please feel free to let us know if you need further assistance.
 
Best Regards,
Sunny

0 Votes 0 ·
SunnyQi-MSFT avatar image
0 Votes"
SunnyQi-MSFT answered

Hi,

Thanks for positing in Q&A platform.

Regarding of your issue non-domain joined Windows 10 client cannot register DNS A record, may I know how do you configured your DHCP server?

I have done a test in my environment. However, I found that the DNS A record of Windows 10 client can be updated by DHCP server. What I did is from DHCP server side, I select Always dynamically update DNS records in DNS tab of IPv4 Properties and then add DHCP server to DnsUpdateProxy group.

For more details, please refer to the following test result.

A. On DHCP server, select Always dynamically update DNS records.

41609-image-1.jpg

B. Add DHCP server into DnsUpdateProxy group.

41754-image-2.jpg

C. Run command "ipconfig /renew" from client side

41775-image-3.jpg

D. Check DNS zone and found the DNS record of windows 10 client is existed. And then check the ownership of this record is DHCP server.

41812-image-4.jpg

41755-image-5.jpg

Best Regards,
Sunny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image-1.jpg (78.6 KiB)
image-2.jpg (76.2 KiB)
image-3.jpg (23.0 KiB)
image-4.jpg (114.9 KiB)
image-5.jpg (136.5 KiB)
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.

SunnyQi-MSFT avatar image
0 Votes"
SunnyQi-MSFT answered

Hi @johnwilliams-4177 ,

If you want DHCP server to register DNS A record on behalf of non-domain joined Windows client, please help to make sure the configuration on DHCP server was correctly. And if the issue still cannot be resolved by above configuration, another option is we can set credential in “Advanced tab” on the DHCP server. This account must be DNS admin of the DNS server in the other forest, which also allow DHCP server to register DNS records.

41688-image-6.jpg


Hope my answer will help you!

Best Regards,
Sunny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image-6.jpg (87.6 KiB)
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.