Question
Can you use a CNAME record with other resource records ( E.g A or AAAA record ) on the same domain or subdomain ?
Answer
No.
Page 15 of RFC1034 states the following:
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.
This means that you cannot use other resource records such as A records, TXT records, AAAA records etc, if you choose to use a CNAME record for a domain or subdomain. If you need additional resource records for that domain or subdomain, use an A record instead of a CNAME record.
Reference Material
RFC 1034 - Domain Names - Concepts and Facilities - Page 15
Comments
0 comments
Article is closed for comments.