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
feita há 3 anos3576 visualizações
1 Resposta
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
ESPECIALISTA
gavinmc
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas