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

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

问题描述

我们托管了许多客户的页面.我们希望能够为我们的客户提供我们自己域的子域,例如 customerpages.ourdomain.com,以便他们可以为此子域创建 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.}

但情况是我不知道我们所有的客户是否都可以放置以下CNAME

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

最后一个 CNAME 看起来违反了 DNS 的 RFC.

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

任何想法将不胜感激.

推荐答案

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

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).

有明确的SOANS 记录总是出现在每个域的顶部,这样可以防止在域的顶部使用CNAME层次结构的相同部分.

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.

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

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