CDN + DNS, problem for domain without www


Verified User

I try to install CDN (from OVH) on a domain.
I have to delete A fields, and add CNAME fields.

For www no problem, it works.
But for domain.tld, I've an error :

example :
mydomain.tld. CNAME

Reply is :
Error Writing Records


Unable to save dns zone: named-checkzone returned:
loading "mydomain.tld" from "/var/named/mydomain.tld.db.temp" class "IN"
dns_master_load: /var/named/mydomain.tld.db.temp:34: mydomain.tld: CNAME and other data
dns_master_load: /var/named/mydomain.tld.db.temp:40: mydomain.tld: CNAME and other data
zone mydomain.tld/IN: loading from master file /var/named/mydomain.tld.db.temp failed: CNAME and other data
zone mydomain.tld/IN: not loaded due to errors.

Do you have an idea ?
I test on several domains, always the same answer.

Problem is only for mydomain.tld.
I can enter what I want, it works.

For information, dns file is :

$TTL 14400
@ IN SOA hostmaster.mydomain.tld. (
86400 )

mydomain.tld. 14400 IN NS
mydomain.tld. 14400 IN NS

ftp 14400 IN A
localhost 14400 IN A
mail 14400 IN A
news 14400 IN A
pop 14400 IN A
smtp 14400 IN A 14400 IN A

mydomain.tld. 14400 IN MX 10 mail

www 14400 IN CNAME


NoBaloney Internet Svcs - In Memoriam †
Are you trying to create a CNAME record for mydomain.tld? If so, it will always fail. Even if you do it manually from the shell, but in that case it will completely break DNS.

The limitation is with DNS. If you have a CNAME record you cannot have any other records in the zone for that domain. And there's no way to create a zone file with no SOA record.

See this Wikipedia article (

Contact your CDN support group for a work-around.