Custom Domain validation not working for non-Azure Domain

Mark Allison 141 Reputation points
2024-09-13T04:18:01.4433333+00:00

I have a static website in a storage account associated with Front Door. I have added a Custom Domain hosted by Squarespace but the domain validation is not completing after many hours. The custom domain is ppgstats.markallison.co.uk and when I click on Pending in validation state in Domains in the Settings section, I have checked the values in there match the DNS settings in Squarespace.

User's image

User's image

What am I doing wrong? I created the records using the values provided by Azure, but the documentation conflicts with that so I'm confused as to which one to use.

Update

I've since changed the record according to the documentation to see if that fixes it.

User's image

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
671 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 44,556 Reputation points Microsoft Employee
    2024-09-16T06:31:56.5966667+00:00

    @Mark Allison ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you are trying to validate the custom domain in AFD.

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!

    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution and provide my comments as well.

    Issue:

    Analysis:

    • I am afraid the documentation is actually using AFD's UI and not Azure DNS's UI.
    • i.e.,
      • The UI is not of the DNS Zone in Azure, instead of the AFD's FQDN value to be updated in the DNS Zone
      • If you were to see the DNS Zone in Azure, the record name would be "_dnsauth.contoso" only
    • The record here actually is "_dnsauth.contoso"
      • The UI from AFD shows "_dnsauth.contoso.fabrikam.com" as the complete FQDN (to let the customers know which DNS Zone is being used here)
      • Since this is using Azure DNS example, this will automatically update the DNS Zone "fabrikam.com" with the record "_dnsauth.contoso" and the effective FQDN becomes "_dnsauth.contoso.fabrikam.com" as shown in UI
    • Per your original configuration, your FQDN was "_dnsauth.contoso.fabrikam.com**.fabrikam.com**"
      • Which is obviously incorrect.
    • Per your new configuration, the FQDN becomes "_dnsauth.contoso.fabrikam.com"
      • Which is the correct one.
    • TL:DR ;
      • "_dnsauth.contoso.fabrikam.com" is not the record name, it's the entire FQDN.
      • "_dnsauth.contoso" is the record name.

    Please let us know if we can be of any further assistance here.

    Thanks,

    Kapil


    Please Accept an answer if correct.

    Original posters help the community find answers faster by identifying the correct answer.

    0 comments No comments

Your answer

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