Junior — Middle
What information is written in the CNAME record when configuring DNS in AWS?
sobes.tech AI
Answer from AI
In DNS AWS, a CNAME (Canonical Name) record specifies an alias for another domain name. It indicates that this domain is a synonym for another domain, and DNS queries will return the name it points to.
For example, if you have:
www.example.com CNAME example.com
then a query to www.example.com will be redirected to example.com.
In AWS Route 53, when setting a CNAME record, the value field contains the domain name it should point to. It is important to note that CNAME cannot point directly to an IP address, only to another domain name.
Example of a CNAME record in AWS Route 53:
- Name: www.example.com
- Type: CNAME
- Value: example.com
Thus, CNAME contains a domain name that acts as an alias.