Need to change the DNS suffix on an Azure Resource Managed VM

Logan King 1 Reputation point
2022-11-18T16:59:42.023+00:00

We have an Azure classic VM that is hosting client data on SQL server. This VM will be deprecated by Microsoft in March of 2023. This classic VM has a DNS suffix of cloudapp.net (automatically supplied by Microsoft).
We need to create an Azure Resource Managed (ARM) VM that has the same DNS suffix as the Azure classic VM. When we create a ARM VM an entirely different DNS suffix is automatically generated by Microsoft. The new VM has a DNS suffix of centralus.cloudapp.azure.com --- this suffix will not work for us since a great deal of our code is written to access a DNS name with the suffix cloudapp.net

Is there a way to change the DNS suffix on an ARM VM from centralus.cloudapp.azure.com to cloudapp.net ?

Thanks for your help.

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
587 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,978 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 41,891 Reputation points
    2022-11-19T15:43:03.513+00:00

    Hi,

    AFAIK, it is not possible to edit or change the Azure provided DNS settings, unless you set your own DNS servers and suffix.

    The cloudapp.net DNS zone is Azure-managed and the Azure-created DNS suffix can't be modified.

    I will also suggest you raise a support case with Microsoft in case it impacts your code and apps.

    Hope this helps.
    JS

    ==
    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. msrini-MSFT 9,251 Reputation points Microsoft Employee
    2022-11-20T16:59:29.753+00:00

    Hi,

    As Jimmy mentioned this is not possible. I would recommend you to create a domain for your server and then slowly map your domain to your newly created ARM VM. You will need to modify your core any which ways.

    But when you map use your domain, you will not be changing the code, instead you will be modifying the CNAME record to change the FQDN in future.

    Regards,
    Karthik Srinivas

    0 comments No comments