Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

assume a website is aliased. for instance is the alias and CNAME is After you query and get the CNAME you then need to query the A Type for the . the question is: why do I should care about the CNAME? why I can't get directly the IP address of the alias from the name server?

share|improve this question
Because it was designed to function in that manner. – NickW Dec 10 '13 at 15:06
given that we are always seeking the quickest way to get a full answer (query, or anything else) especially in Internet (still a best effort network), and given the number of queries possible per user, I guess there is a more motivated and/or involved answer. – Raph Dec 10 '13 at 18:49

You can do both.

If you use A records for all your ip addresses you must change each and every record affected every time you need to change the ip address, e.g., when you change the ip address of a server.

Using CNAME records enable you to group the ip addresses in a logical way so you often only need to change a few entries, e.g., an A record to change all the references to a server.

share|improve this answer

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.