Application is using DNS (ex: DNS1) to connect the sql server(ex:SQL01) now and we are the migrating databases from on-premise sql server to azure sql MI(ex: testmi.database.windows.net). There are 5 SQL MI s are there in one virtual cluster and when we configure the DNS (changing it from SQL01 to testmi.database.windows.net), its resolving to some other name instead of actual MI name. Unable to connect the application because of this issue and we can able to connect only if one of the below approach s followed.
Using FQDN instead of DNS name
Using app username with instance name (ex: test@testmi)
but we dont want to do any changes in the application and we want to use the same DNS name and user name for application connectivity. Please advise how to achieve this.