Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to update your DNS of VNET to use OnPrem DNS Servers.
Yes, the configurations you've made is correct.
To update VNET:
- Virtual network → Overview → DNS server
To update NIC:
- Network Interface → DNS Server → Custom
There will not be any changes to the VM, however, for the settings to apply:
- You must restart your VM
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.