1. CNAMEレコード


RFC 1034 Page 15

3.6.2. Aliases and canonical names

CNAMEレコードはある名前(ラベル)が他の名前(本名)の別名であることを示すものです。

The domain system provides such a feature using the canonical name
(CNAME) RR.  A CNAME RR identifies its owner name as an alias, and
specifies the corresponding canonical name in the RDATA section of the RR.  

If a CNAME RR is present at a node, no other data should be
present; this ensures that the data for a canonical name and its aliases
cannot be different.  This rule also insures that a cached CNAME can be
used without checking with an authoritative server for other RR types.

CNAME RR が存在する節点中には、他のデータは存在させられない; これにより、正規名と別名に対するデータに違いがでないことが保証される。 また、この規則により、キャッシュされたCNAMEを使うのに 権威あるサーバへ他のRRタイプについて問合わせる必要のないことを保証する。

検索の順序(検索動作の記述にも矛盾がありそう)

CNAME RRs cause special action in DNS software.  When a name server
fails to find a desired RR in the resource set associated with the
domain name, it checks to see if the resource set consists of a CNAME
record with a matching class.  If so, the name server includes the CNAME
record in the response and restarts the query at the domain name
specified in the data field of the CNAME record.  The one exception to
this rule is that queries which match the CNAME type are not restarted.

DNS/RFC/1912/CNAME_records

DNS/RFC/2181/s10 Clarification

DNS/RFC/2308

2. CNAMEはトラブルのもと

こんなのはどうだろう。

Can I CNAME a second-level domain, and delegate a subdomain to a nameserver?

zone apexにCNAMEはだめです。

DNS Delegation Intermittently Failing due to CNAME based NS records. http://blog.mikejmcguire.com/2014/06/06/dns-delegation-intermittently-failing-due-to-cname-based-ns-records/

http://stackoverflow.com/questions/23226332/setting-up-a-subdomain-for-email-sending-on-aws-route-53-with-cname

Name Server Configuration Guideline https://www.onlydomains.com/guidelines/nsconf.pdf