In ACI we use Linux containers with virtual network support. There we have some dockerized azure function apps running that make use of Azure ServiceBus, Azure Storage Accounts, and Azure CosmosDb - which are all inside of the virtual network.
All of these services are running pretty well however when we try to access our API Management (which is also inside of the virtual network) we receive a 502 - Bad Gateway response. After connecting to the instance and adding our DNS server to the resolv.conf everything runs just fine - this leads me to the conclusion, that the DNS provided in the virtual network is not taken into respect.
Is there anything special we need to consider when using ACI with virtual networks?