App Service Domain nameservers changed to GoDaddy defaults - website down, cannot reset to Azure DNS

Tergel Munkhbat 20 Reputation points
2025-12-10T06:25:46.24+00:00

I purchased a domain through Azure App Service Domains.

While attempting to migrate DNS to Cloudflare, I used an Azure REST API call to change the dnsType property. After that, the nameservers were automatically changed from Azure DNS to GoDaddy's default nameservers, and my website is now down.

Current nameservers (broken):

  • ns47.domaincontrol.com
  • ns48.domaincontrol.com

Original Azure DNS nameservers (need to restore):

  • ns1-04.azure-dns.com
  • ns2-04.azure-dns.net
  • ns3-04.azure-dns.org
  • ns4-04.azure-dns.info

The Azure Portal shows the correct nameservers in the domain properties, but the actual DNS resolution points to GoDaddy defaults.

I cannot access GoDaddy directly because the domain was purchased through Azure and doesn't appear in my GoDaddy account.

The Azure Portal "Advanced management (preview)" section only shows contact information - there's no option to change nameservers.

I tried using the Azure REST API to reset dnsType to "AzureDns" with the dnsZoneId, but it returns errors.

How can I reset the nameservers back to Azure DNS?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
0 comments No comments
{count} votes

Answer accepted by question author
  1. TP 145.5K Reputation points Volunteer Moderator
    2025-12-10T06:50:55.7833333+00:00

    Hi,

    If this is urgent (I assume it is since your site is down) I recommend you create a Severity A (<1 hour response) Technical support request so that backend engineer can fix it. To create Technical support request in the Azure portal you need to have at least Standard level support. Link below will allow you to upgrade if necessary:

    https://portal.azure.com/#view/Microsoft_Azure_Support/HelpAndSupportBlade/~/supportPlans

    Create an Azure support request

    https://dori-uw-1.kuma-moon.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

    Creating support request can be confusing so please add a comment if you get stuck in endless loop and I will assist.

    If you want to try to fix it in the meantime, you can navigate to your App Service Domain in the portal, click Manage DNS records, click Delegate to Azure DNS, select your existing Azure DNS, etc. This might eventually make the necessary change to GoDaddy, however, it is entirely possible that the process will fail. I believe in the cases where it used to work the change might take time to take effect.

    Your ability to manage/update your domain is severely limited, which is why I recommended you create Severity A Technical support request above, since Azure support engineer can actually make changes to your GoDaddy record.

    Since there are so many problems and limitations with App Service Domains I no longer recommend people use them if at all possible. It doesn't help your immediate issue, but please consider transferring your domain to another registrar as soon as possible. You will save yourself a lot of future headaches.

    To transfer to different registrar you will need authorization code. You may open Azure Cloud Shell and execute command similar to below from App Service team blog (replace subscription id, resource group, domain name):

    Invoke-AzRestMethod -Path "/subscriptions/<SUBSCRIPTION-ID>/resourceGroups/<RESOURCE-GROUP-NAME>/providers/Microsoft.DomainRegistration/domains/<DOMAIN-NAME>/transferout?api-version=2021-02-01" -Method PUT
    
    

    In the output from the command, you need authCode, which is what you will provide the new domain registrar when requesting transfer in.

    You can transfer to a non-GoDaddy registrar, and then if you want wait 60 days and transfer to your existing GoDaddy account.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


4 additional answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-10T06:27:06.27+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To reset the nameservers back to Azure DNS for your domain purchased through Azure App Service Domains, you can follow these steps:

    1. Check Azure Portal: Ensure that your domain is correctly listed in the Azure Portal under App Service Domains. Verify that the nameservers shown in the domain properties are indeed the Azure DNS nameservers.
    2. Use Azure DNS Management: Since you mentioned that the Azure Portal does not provide an option to change nameservers directly, you may need to use the Azure REST API or Azure CLI to manage your DNS settings.
      • You can try using the Azure CLI command to set the nameservers back to Azure DNS. The command would look something like this:
             az network dns zone update --resource-group <your-resource-group> --name <your-domain-name> --set nameServers=<ns1>,<ns2>,<ns3>,<ns4>
        
      • Replace <your-resource-group> with the name of your resource group and <your-domain-name> with your actual domain name. The <ns1>, <ns2>, <ns3>, and <ns4> should be replaced with the Azure DNS nameservers you provided.
    3. Contact Azure Support: If you continue to face issues with the REST API or CLI commands, it may be necessary to contact Azure Support for assistance. They can help you restore the nameservers to Azure DNS and resolve any underlying issues with your domain.
    4. Verify DNS Propagation: After making changes, use a DNS propagation checker tool to verify that the nameservers have been updated correctly and that your website is back online.

    By following these steps, you should be able to reset your nameservers back to Azure DNS and restore your website functionality.


    References:


  2. Tergel Munkhbat 20 Reputation points
    2025-12-10T06:32:30.5233333+00:00

    The AI answer does not solve my issue.

    The Azure DNS Zone nameservers are already correct:

    • ns1-04.azure-dns.com
    • ns2-04.azure-dns.net
    • ns3-04.azure-dns.org
    • ns4-04.azure-dns.info

    The problem is at the REGISTRAR level. When I run dig NS topikbuddy.com, it returns:

    • ns47.domaincontrol.com
    • ns48.domaincontrol.com

    These are GoDaddy's default nameservers, not Azure DNS.

    The domain was purchased through Azure App Service Domains (which uses GoDaddy as backend). I cannot access GoDaddy

    directly to change the nameservers - the domain doesn't appear in my GoDaddy account.

    I need help changing the nameservers at the REGISTRAR level, not the DNS zone level. Is there an API or method to

    update the registrar nameservers for an App Service Domain?

    0 comments No comments

  3. Praneeth Maddali 2,715 Reputation points Microsoft External Staff Moderator
    2025-12-10T07:15:00.1+00:00

    Hi @Tergel Munkhbat

    Thank you for the thorough follow-up and for sharing the dig output. This appears to be a typical registrar-level mismatch, where the authoritative nameservers have switched back to GoDaddy's defaults (ns47/ns48.domaincontrol.com) following the dnsType change, despite Azure displaying everything correctly.

    You’re correct that using self-service options like the REST API (to update dnsType/dnsZoneId) or portal tools won’t update the registrar backend. App Service Domains are registered through GoDaddy, and Azure doesn’t provide direct access to manage nameservers at the registrar for these domains.

    Official docs confirm this integration and the managed nature:

    The most reliable way to address this issue is by contacting Azure Support. They have access to the GoDaddy reseller channel and can manually re-sync or reset the registrar nameservers to Azure's (such as ns1-04.azure-dns.com, etc.).

    To get it sorted quickly:

    1. In the Azure Portal, go to Help + support > New support request.
    2. Issue type: Technical > Service: App Service > Problem type: Domain Registration.
    3. Include your domain (topikbuddy.com), current NS from dig, desired Azure NS, and mention the accidental dnsType change via API that triggered the fallback.

    Support can usually handle this backend reset within a day or two, and once done, propagation should bring your site back online.

    For more on creating support requests: https://dori-uw-1.kuma-moon.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

    Kindly let us know if the above helps or you need further assistance on this issue.

     

    Please "upvote" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  4. Tergel Munkhbat 20 Reputation points
    2025-12-11T08:06:39.0166667+00:00

    Thanks @TP and @Praneeth for the technical details.

    To be honest, this experience has been a dealbreaker. The fact that I cannot manage basic nameservers for a domain I own without paying for a 'Technical Support' plan ($29/month) or running complex PowerShell commands is unacceptable for a startup.

    I have decided to abandon this domain and purchase a new one from a registrar that provides full DNS control out of the box. It is faster and cheaper for me to buy a new domain ($10) than to navigate this broken Azure interface or pay $29/month tech support to fix their own bugs.

    I am accepting TP's answer because the PowerShell command is likely the only working technical solution, but I strongly advise others to avoid buying domains from Azure App Service Domains.

    For example, as of December 2025, the platform instability makes it impossible to move DNS to external providers like Cloudflare (which startups need for security), effectively locking you in.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.