I've seen a few articles dealing with the differences between Private Endpoints (with private Link) and Service Endpoints: https://samcogan.com/service-endpoints-and-private-link-whats-the-difference/
And I've found a few bits and pieces regarding using both together https://learn.microsoft.com/en-us/azure/postgresql/concepts-data-access-and-security-private-link#private-link-combined-with-firewall-rules
But I haven't found much about this. Specifically we are considering an architecture where we are using Service Endpoints and Vnets for communication within our microservice landscape and Private Endpoints for making some services available from an on-premise network using VPN with the specific private IPs of the private endpoints.
So we have some services with just Service Endpoints and some with Service Endpoints and Private Endpoints. Are there any problems with this approach? Will DNS cause a problem later? If I have a private DNS will the naming within my network always resolve to the internal IP?
I have create some services with both but cannot test the VPN side yet and could not test the private DNS as it is not yet enabled for us. But everything seems to work using the service endpoint side of things.