Hello Kanie Almasi
I understand that you're dealing with complex failover scenarios involving Azure resources with private endpoints, especially when public access is disabled. Here’s an overview of how the failover and DNS resolution work in your case:
- Failover Process: If a disaster requires failing over to the secondary region (like a regional outage), the storage account will still function due to geo-redundancy. However, with private endpoints, you need to ensure DNS resolution is correctly configured.
- DNS Resolution: After a failover:
- Automatic Resolution: If private DNS zones are set up correctly, applications should automatically resolve to the secondary region's private endpoint, provided DNS forwarding is properly configured.
- Connection String: Typically, you should not need to update the connection string as long as the hostname remains the same and DNS resolution is working correctly. The private endpoints will handle the traffic after the failover.
- DNS Setup: It's crucial to configure DNS to point to the correct private DNS zones for each region. In a regional outage, if the primary region's DNS can't respond, conditional DNS forwarders need to be adjusted to point to the secondary region.
- Best Practices: Your architecture is valid. However, review the configuration of conditional forwarders to ensure they can route traffic Check the public document for more understanding:
Failover considerations for storage accounts with private endpoints
Hope the above answer helps! Please let us know do you have any further queries. Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.