根域名CNAME是否被DNS RFC允许的其他域? [英] Is Root domain CNAME to other domain allowed by DNS RFC?

查看:120
本文介绍了根域名CNAME是否被DNS RFC允许的其他域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在托管许多客户的页面。我们希望能够为我们的客户提供我们自己的域名,如customerpages.ourdomain.com,以便他们可以在此子域中创建一个CNAME。

  www.customer1.com CNAME customerpages.ourdomain.com。 {这将工作很好。} 

但情况是我不知道我们所有的客户将能够放置以下CNAME

  customer1.com CNAME customerpages.ourdomain.com 

最后一个CNAME看起来像是针对DNS的RFC。



任何想法都将

解决方案

不,你不能这样做 - CNAME 记录只能作为单个记录存在,不能与任何其他资源记录(DNSSEC记录除外)相结合。



有明确的 SOA NS 记录始终存在于每个域的顶部,以防止使用 CNAME 在层次结构的同一部分。


We are hosting the page of many of our customers. We want to be able to provide our customers with a subdomain of our own domain like customerpages.ourdomain.com so they can create a CNAME to this subdomain.

www.customer1.com CNAME customerpages.ourdomain.com.  {This will work just fine.}

But the situation is I don't know if all our customers will be able to place the following CNAME

customer1.com CNAME customerpages.ourdomain.com

This last CNAME looks like it's against the RFC of DNS.

Any thoughts will be appreciated.

解决方案

No, you can't do that - CNAME records can only exist as single records and not combined with any other resource record (DNSSEC records excepted).

There are explicit SOA and NS records always present at the top of each domain, so that prevents the use of the CNAME at the same part of the hierarchy.

这篇关于根域名CNAME是否被DNS RFC允许的其他域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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