When should I use a CNAME vs. an A Host record?

Alias (CNAME) resource records are also sometimes called canonical names. These records allow you to use more than one name to point to a single host, making it easy to do such things as host both an FTP server and a Web server on the same computer. For example, the well-known server names (ftp, www) are registered using CNAME RRs that map to the DNS host name, such as “server-1”, for the server computer that hosts these services.

1 thought on “When should I use a CNAME vs. an A Host record?

  1. Use CNAME when you have a bunch of servers/VMs and they are using DHCP and you are moving them (VMs) to different servers. No need to remap A host records.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.