A network administrator needs to ensure that requests to a subdomain are correctly directed to the primary domain of their organizational website. Which DNS record type is most suitable to achieve this redirection?
A Canonical Name (CNAME) record is used to redirect domain aliasing or subdomains to the primary domain. For instance, if you want 'info.example.com' to point to 'www.example.com', a CNAME record would be the right choice. It's important to choose CNAME when the goal is to link a subdomain to the primary domain without providing a direct IP address mapping, which an A record would do.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does a CNAME record do exactly?
Open an interactive chat with Bash
What are the differences between CNAME and A records?