无法在Azure CDN上设置裸域 [英] Cannot Set Up Naked Domain on Azure CDN

查看:65
本文介绍了无法在Azure CDN上设置裸域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用的内容:



  - Azure CDN:`Premium Verizon`

  - DNS: `DnsMadeEasy`



我很难在Azure CDN上设置我的域的所有端点;我可以设置带有我的域前缀的端点(即`prefix.mydomain.com`),但是对于裸域(`mydomain.com`),它不起作用。



我的CNAME记录指向CDN端点,对于这些主机名,它可以正常工作。我知道DNS中的A记录只能指向IP,因此我使用DnsMadeEasy的ANAME记录指向CDN(有关ANAME的更多信息https://dnsmadeeasy.com/services/anamerecords/)



从错误中我看到Azure看起来像是通过检查`mydomain.com`指向的端点来验证自定义域(我试图添加的主机名)。由于DnsMadeEasy使用ANAME解析的任何IP预先填充A记录,因此
(或者至少我认为这就是它所做的)Azure验证失败,因为它获取了端点的IP,因此不允许我添加它。

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 https://dnsmadeeasy.com/services/anamerecords/)

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?

这是预期的行为吗?

是否有其他人将裸域添加到Azure CDN?

Has anyone else added a naked domain to Azure CDN?

这是Azure CDN中的错误吗?

Is this a bug in Azure CDN?

推荐答案

这是一种预期的行为。目前我们只检查CNAME,由于裸域不能使用CNAME,我们验证失败。我们正在开发一种解决方案,以便在CDN端到端支持根域,一旦此功能可用,我们将允许验证
而不仅仅是CNAME。请继续关注。
It is an expected behavior. Currently we only check CNAME and as naked domain can't use CNAME, we fail the validation. We are working on a solution to support root domain on CDN end to end and as soon as this feature is available, we will allow validation for not just CNAME. Stay tuned.


这篇关于无法在Azure CDN上设置裸域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆