Results 1 to 2 of 2

Thread: CDN + DNS, problem for domain without www

  1. #1
    Join Date
    Dec 2008
    Posts
    518

    CDN + DNS, problem for domain without www

    Hi

    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 mydomain.tld.web.cdn.anycast.me

    Reply is :
    Error Writing Records

    Details

    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 aaaaa.bbbb.fr. hostmaster.mydomain.tld. (
    2015030406
    14400
    3600
    1209600
    86400 )

    mydomain.tld. 14400 IN NS aaaaa.bbbb.fr.
    mydomain.tld. 14400 IN NS sdns2.ovh.net.

    ftp 14400 IN A 11.22.33.44
    localhost 14400 IN A 127.0.0.1
    mail 14400 IN A 11.22.33.44
    news 14400 IN A 11.22.33.44
    pop 14400 IN A 11.22.33.44
    smtp 14400 IN A 11.22.33.44
    www.news 14400 IN A 11.22.33.44

    mydomain.tld. 14400 IN MX 10 mail

    www 14400 IN CNAME mydomain.tld.web.cdn.anycast.me.

  2. #2
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,119
    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 (wikipedia.org).

    Contact your CDN support group for a work-around.

    Jeff
    A
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •