Azure Front Door certificate auto-renewal with Azure Public DNS Alias record?

David Tenace 0 Reputation points
2026-09-02T05:21:58.6166667+00:00

If a domain is validated by Azure Front Door via a TXT record, and the DNS apex (contoso.com) is hosted in Azure Public DNS, and a certificate is issued through Azure Front Door, the documentation states that a CNAME DNS record needs to point to AFD for the certificate to automatically renew: https://learn.microsoft.com/en-us/azure/frontdoor/domain#azure-front-door-managed-tls-certificates

We can't create a CNAME record at the apex of the DNS domain (contoso.com), so if we instead created an A record "Alias" pointing to AFD, does that satisfy the auto-renewing certificate requirements?

We want to have the certificates renew without any manual intervention or ad-hoc automation.

Azure Front Door
Azure Front Door

An Azure service that provides a cloud content delivery network with threat protection.

0 comments No comments

1 answer

Sort by: Newest
  1. TP 163.1K Reputation points Volunteer Moderator
    2026-09-02T06:09:26.5333333+00:00

    Hi David,

    For apex domain you need to manually revalidate each time using _dnsauth TXT token. Screenshot excerpt from documentation below:

    User's image

    One option would be to use Bring Your Own Certificate (BYOC) and have DigiCert/GlobalSign issued certificate in Key Vault that rotates automatically. Please reference below three articles for details on setting this up:

    Integrating Key Vault with Integrated Certificate Authorities

    https://learn.microsoft.com/en-us/azure/key-vault/certificates/how-to-integrate-certificate-authority

    Tutorial: Configure certificate autorotation in Key Vault

    https://learn.microsoft.com/en-us/azure/key-vault/certificates/tutorial-rotate-certificates

    Azure Front Door - Use your own certificate

    https://learn.microsoft.com/en-us/azure/frontdoor/standard-premium/how-to-configure-https-custom-domain?tabs=powershell#use-your-own-certificate

    Another potential option would be to write your own script that will generate new validation code (when expiration is approaching), create TXT record in Azure DNS, etc., but from your question it seems you prefer not to have ad-hoc automation.

    Thanks.

    -TP

    Was this answer helpful?


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.