CNAME and TXT type for same record.

0

For hosted zone name: example.com, under RecordSets I want to add xyz.example.com. I want it to be of type TXT and CNAME with different ResourceRecord values for each type.
How can I achieve this?

poorvaw
質問済み 3年前3356ビュー
1回答
0

For hosted zone name: example.com, under RecordSets I want to add xyz.example.com. I want it to be of type TXT and CNAME with different ResourceRecord values for each type.
How can I achieve this?

This is forbidden in DNS so Route 53 does not allow it. You may create either a CNAME (only) or a combination of any other record type at a single domain.
https://datatracker.ietf.org/doc/html/rfc1912#section-2.4

The way to think about CNAME records in DNS is as a sort of redirect or symlink "All record types for $DOMAIN are located at $OTHER_DOMAIN". For that reason, if you create a CNAME, you cannot also create a TXT record, but you can and likely should create the the TXT record at the domain to which the CNAME refers.

AWS
エキスパート
gavinmc
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ