Thanks for asking question and My Apologize for delay in response here! After your app integrates with your VNet, it uses the same DNS server that your VNet is configured with. By default, your app won't work with Azure DNS Private Zones. To work with Azure DNS Private Zones you need to add the following app settings:
- WEBSITE_DNS_SERVER with value 168.63.129.16
- WEBSITE_VNET_ROUTE_ALL with value 1
These settings will send all of your outbound calls from your app into your VNet in addition to enabling your app to use Azure DNS private zones.
If you want to make calls to Private Endpoints then you need to either integrate with Azure DNS Private Zones or manage the private endpoint in the DNS server used by your app.