Monday, May 4, 2015

cpanel - I'd like to add CNAME for domain.com




I want to change an A record of my root domain www.domain.com to CNAME dyndns.org.



But the cpanel gives me the following error:



already has a SOA record.
You may not mix CNAME records with other records for the same name.


Can you please explain what this means? And how do I fix it?



Answer



Just to clarify, www.example.com is not the root of the domain, example.com is.



A CNAME on www.example.com is valid, but a CNAME on example.com is not - cpanel is right to reject the attempt. A CNAME record can only exist on a name when no other record type exists for that name, since it indicates that all lookups (of any type, not just A) for that name should look up against a different name instead. You must always have at a minimum an SOA record and an NS record on your root name (example.com), so a CNAME conflicts with the existence of those records.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...