Hi @Humphrey Simpemba ,
if you change the DNS of the Azure Virtual Network to the DC VM Private IP you should add a DNS Forwarder in the DC DNS Server Settings as well.
This way the DNS name resolution request is forwarded from the DC DNS to a public DNS Server in the internet (if the DC DNS can't resolve the name by itself)
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten