Hi I need to set up a CNAME record for a domain. I opened ub the zone, deleted all other (unneeded A, MX, ... entries) and added the CNAME entry. As "Hostname" i use the domain, followed by a dot (as this: myname.de.), as target hostname I used the wanted domain followed by a dot (eg. target.name.tld.). When saving the red dot with a the number of changes that should be done is shown in the top area left of the search box. After this sign is gone I tried to get the information form the server and checked the corresponding file (/etc/bind/pro.name.de). The CNAME entry could not be seen. I can not see an error in the system logs ... Do you have any hint. All hints I could find where the missing dot at the end of the entries. But I did not forget to add them. Regards Bernd
Probably you deleted too many records where not all were unneeded, but that's just a guess. Is there a file /etc/bind/pro.name.de.err now?
Hi Till Yes I found that one. It looks like this: $TTL 3600 @ IN SOA CCC.DDDDDD.de. AAAAA.BBBBBBB.de. ( 2018073113 ; serial, todays date + todays serial # 7200 ; refresh, seconds 540 ; retry, seconds 604800 ; expire, seconds 3600 ) ; minimum, seconds ; XXXXXXXX.de. 3600 CNAME master-4rzewti-cjx4t5rbwquu3.de-1.ttttttt.sssss. XXXXXXXX.de. 3600 NS d.GGGGG.net. XXXXXXXX.de. 3600 NS b.GGGGG.net. XXXXXXXX.de. 3600 NS c.GGGGG.net. As you might guess ;-) I blackend the real names. the target for the CNAME is changed too. The real version contains in the first part letter, digits and the hyphen sign. Regard Bernd
OK. Stupid me. It was the first time I set a CNAME ... I think a CNAME could not be set for a root domain. The CNAME host must be subdomain.domain.tld. Am I right? Regards Bernd
You can use the named-checkzone command to get the exact error message from BIND: named-checkzone name.de /etc/bind/pro.name.de.err And yes, you probably can not use a CNAME for the zone itself, replace it with an A-Record.