Error when CNAME to A record is attempted

sysnop

Member
May 22, 2005
12
0
151
I want to eliminate CNAME records and use A records only. Easier said than done in WHM. Using the drop-down, I get an error about 'bad dotted quad' when I try to change records for mail, www, and ftp. Same if I try to add the A record, but even if that succeeded how would I delete the CNAME?

Thanks.
 

nickb

Well-Known Member
Feb 25, 2005
346
0
166
India
This could be done from shell also ...by editing /var/named/<zone-file>
 

jester.ro

Well-Known Member
PartnerNOC
Feb 6, 2004
303
0
166
Bucharest, Romania
cPanel Access Level
DataCenter Provider
you just need to make sure that:


1. when changing a cname to an A , the value to the right MUST be an IP address (doted quad) and it must NOT end with a dot.

2. as a rule, hostnames end with a dot, Ip's don't.