John Sterrett does some DNS work:
Azure Managed Instances are provisioned by default with a yourname.uniqueid.databases.windows.net DNS fully qualified domain name (FQDN). Even on your private virtual network you will still have to use this FQDN.
If you want your Azure Managed Instance to connect with your DNS prefix like yourname.domain.com this blog post is for you.
Read on for the process.