What I am using:
- Azure CDN:
Premium Verizon
- DNS:
DnsMadeEasy
I am struggling to setup all endpoints of my domain on Azure CDN; I am able to set up endpoints with a prefix to my domain (i.e prefix.mydomain.com
) but for the naked domain (mydomain.com
) it doesn't work.
I have my CNAME records pointing to the CDN endpoint and for these hostnames it works fine. I am aware that an A record in DNS can only point to an IP, so instead am using DnsMadeEasy's ANAME record to point to the CDN (more info on ANAME here)
From the error I am seeing it looks like Azure is verifying the custom domain (the hostname I am trying to add) by checking the endpoint which mydomain.com
is pointing too. Since DnsMadeEasy pre-populates an A record with whatever IP the ANAME resolves too (or at least I think that is what it does) Azure is failing the validation because it is getting the IP of the endpoint, thus not allowing me to add it.
Has anyone else seen this? Has anyone else added a naked domain to Azure CDN? Is this a bug in Azure CDN?