Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can somebody point out the similarities and differences between the normal CNAME record and Amazon's Route 53 ALIAS record. ?

share|improve this question
up vote 18 down vote accepted

Both CNAMEs and alias records provide a level of indirection, i.e. it's a pointer to another location which requires an additional step to find the answer. The difference is who performs this additional step.

With CNAME records the additional step is done by the client. The server simply returns the configured value of the CNAME record, and the client is responsible for then looking up that name to find the A/AAAA record.

With alias records the additional step is done by the server. The server takes the configured value of the record and actively resolves this to find the A/AAAA record. It then returns this result to the client as an A/AAAA record, and the client doesn't need to do anything to get the final answer. The client doesn't even know that the server did this, it simply sees a plain A/AAAA record.

The Route53 documentation has more detail on alias records. At the moment alias records can only point at ELB hostnames or at a hostname in the same zone.

share|improve this answer

CNAMEs can't be used for the domain apex (i.e. without oddities. ALIAS records act essentially like CNAMEs behind the scenes, but present themselves as A records to requesting systems.

share|improve this answer
Whether its necessary that the alias record must be of some ELB..can't it be any host running software load balancer..?? – pradeepchhetri Aug 20 '12 at 20:50
It's a lot easier for Amazon to know what's happening behind-the-scenes in AWS than someone else's system. It'd be possible to build a similar system that works for external hosts... but in most cases you'd be better off just having a static IP and an A record. – ceejayoz Aug 20 '12 at 22:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.