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

I have about 20 domains "pointing" to my server via A-type DNS records, now that I am moving servers I found it rather tedious to change the IP addresses for all of them and thought that adding a CName would make more sense.

I cannot, however, figure out how to add a CNAME-type record for the domain name itself, and not any subdomains (I am using as my DNS provider).

So what exactly to I put into the Alias field for the TLD itself?


share|improve this question
up vote 1 down vote accepted

You can't - it's not allowed to put a CNAME in the apex of a domain (i.e in the same place as the NS and SOA records).

See §3.6.2 of RFC 1034

If a CNAME RR is present at a node, no other data should be present; this ensures that the data for a canonical name and its aliases cannot be different

share|improve this answer
Why not? it makes total sense to have – clops Sep 27 '10 at 9:51 -> -> – clops Sep 27 '10 at 9:51
@clops: The quote from RFC 1034 already explains why. DNS would have to either a) merge the SOA and NS records of and (breaks stuff), b) only display SOA/NS of (breaks stuff), or c) only display SOA/NS of (breaks stuff). – grawity Sep 27 '10 at 19:02

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.