CNAME
SOA
TXT
ALIAS
Explanations:
A CNAME record cannot be used for the apex domain (naked domain) because it would conflict with other DNS records. CNAME records can only be used for subdomains.
SOA (Start of Authority) records are used to define the primary name server for a domain and provide information about the domain’s DNS zone but do not point to specific resources like an Application Load Balancer.
TXT records are used to hold text information for various purposes, such as verification or policies. They do not point to a resource like an Application Load Balancer and are not suitable for DNS resolution to an endpoint.
An ALIAS record allows you to map your apex domain (e.g., company.com) to an AWS resource such as an Application Load Balancer, without the restrictions of a CNAME record. This is the appropriate choice for routing traffic directly to the ALB.