Results 1 to 6 of 6
  1. #1

    DNS management problems on DirectAdmin

    Need to add this 2 lines for domain via DirectAdmin ->"DNS Management" section

    wap.domain.com. CNAME modhi.domain.org
    domain.com. CNAME modhi.domain.org


    First line i add w/o any problem, but when i try to add the second one i got an error

    Error Writing Records

    Details

    Unable to save dns zone: named-zonecheck returned:
    loading "domain.com" from "/var/named/domain.com.db.temp" class "IN"
    dns_master_load: /var/named/domain.com.db.temp:28: domain.com: CNAME and other data
    dns_master_load: /var/named/domain.com.db.temp:28: domain.com: CNAME and other data
    dns_master_load: /var/named/domain.com.db.temp:33: domain.com: CNAME and other data
    zone domain.com/IN: loading master file /var/named/domain.com.db.temp: CNAME and other data
    What i'm doing wrong?

    thank you

  2. #2
    Join Date
    Sep 2010
    Location
    home
    Posts
    515
    Instead of modhi.domain.org try modhi.domain.org. <-- trailing dot

    A trailing dot will do wonders

  3. #3
    Join Date
    Nov 2009
    Location
    /etc/my.cnf
    Posts
    10,657
    Hello,

    Are you putting the dot at the end of the domain name for the records?

    Regards,
    UK Based Proactive Server Management.
    Zabbix Enterprise 24/7 Monitoring.

  4. #4
    Join Date
    Jan 2010
    Location
    Sweden
    Posts
    130
    It is against RFC to point domain.tld. to a CNAME record.

    not ok
    Code:
    domain.tld. IN CNAME otherdomain.tld.
    ok
    Code:
    sub.domain.tld. IN CNAME otherdomain.tld.
    Please do the needful..

  5. #5
    Quote Originally Posted by cd/home View Post
    Hello,

    Are you putting the dot at the end of the domain name for the records?

    Regards,
    Of course i add dot at the end of the domain, but as dubdub claim and as i was advised on another forum, we can only use CNAME for subdomains and services (i.e., sub.domain.com and service.domain.com) but not for the canonical name domain.com, in the zone file for domain.com. If you do, the zone file isn't even loaded into BIND.


    From RFC1912 section 2.4:
    "A CNAME record is not allowed to coexist with any other data."

    If you try to create a CNAME-record for the name of the zone itself, you will always encounter this conflict because a zone always has at least a SOA-record and typically one or more NS-records with the zone name

  6. #6
    Join Date
    Apr 2012
    Posts
    36
    Yes , for the main domain you can't cname to others

    however, I tried with changing www. cname to ghs.google.com. for example

    then do a domain forward for yourdomain.com forward to www.yourdomain.com

    it work out fine

Similar Threads

  1. DNS and Domain Help - Setting up DNS with DirectAdmin
    By Phatmat in forum Hosting Security and Technology
    Replies: 1
    Last Post: 07-23-2009, 04:10 AM
  2. DNS Server and DNS management
    By inprogrammer2008 in forum Dedicated Server
    Replies: 12
    Last Post: 01-11-2009, 10:15 PM
  3. Replies: 0
    Last Post: 03-19-2007, 09:02 AM
  4. ACE Server Management Introduces Plesk and DirectAdmin Management
    By Nick H in forum Web Hosting Industry Announcements
    Replies: 0
    Last Post: 03-19-2007, 08:45 AM
  5. Problems with dns setup on dns.domain.com
    By manisha_khtri in forum Hosting Security and Technology
    Replies: 3
    Last Post: 06-06-2006, 11:48 AM

Posting Permissions

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