Results 1 to 6 of 6
-
06-02-2012, 06:46 PM #1Newbie
- Join Date
- Apr 2012
- Posts
- 26
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
thank you
-
06-03-2012, 12:18 PM #2Web Hosting Evangelist
- 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
-
06-03-2012, 12:49 PM #3Hello World
- 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.
-
06-03-2012, 02:51 PM #4WHT Addict
- 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.
Code:sub.domain.tld. IN CNAME otherdomain.tld.
Please do the needful..
-
06-05-2012, 08:23 AM #5Newbie
- Join Date
- Apr 2012
- Posts
- 26
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
-
10-29-2012, 07:32 AM #6Junior Guru Wannabe
- 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
-
DNS and Domain Help - Setting up DNS with DirectAdmin
By Phatmat in forum Hosting Security and TechnologyReplies: 1Last Post: 07-23-2009, 04:10 AM -
DNS Server and DNS management
By inprogrammer2008 in forum Dedicated ServerReplies: 12Last Post: 01-11-2009, 10:15 PM -
ACE Server Management - cPanel / Plesk / DirectAdmin Management - FREE ModernBill!
By Nick H in forum Systems Management OffersReplies: 0Last Post: 03-19-2007, 09:02 AM -
ACE Server Management Introduces Plesk and DirectAdmin Management
By Nick H in forum Web Hosting Industry AnnouncementsReplies: 0Last Post: 03-19-2007, 08:45 AM -
Problems with dns setup on dns.domain.com
By manisha_khtri in forum Hosting Security and TechnologyReplies: 3Last Post: 06-06-2006, 11:48 AM