Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that Azure DNS Private Resolver is not returning private endpoint IP Address for Forms Recognizer
I suggested that we deploy a dummyVM in the VNet as the Private DNS Resolver and use it to check the DNS response from Private resolver.
- Also, from this VM, can you do
nslookup <yourservicename>.cognitiveservices.azure.com 168.63.129.16 - Also, if there are any peered VNets, you can use the VMs in these VNets as well
- The intention of this is to make sure Private DNS Resolver is actually resolving the Private DNS Zones IP.
After further troubleshooting,
- It appears you have not linked to the VNet containing the Private DNS Resolver's Inbound IP address to the Private DNS Zone.
- And you were able to resolve this issue
Kindly let us know if this helps or you need further assistance on this issue.
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.