On Oct 16 2011, Kevin Oberman wrote:

2011/10/16 Niccolò Belli <darkba...@linuxsystems.it>:
I'm sorry but I still didn't understand if it's possible to do it with some
workaround, and if yes HOW to do it.

No, you can' have a CNAME at the top of a zone. A zone requires an SOA
and CNAMEs cannot co-exist with ANY other record.

Depending on exactly what you are trying to accomplish, you might get there by:
1. A DNAME in the parent. This aliases the entire domain, so this
might or might not do what you want.

DNAMEs do not redirect their own name, so neither a DNAME at the zone
apex (which is legal) nor one in the parent would have the effect of
a "CNAME at the apex".

A *CNAME* in the parent would, but only as long as you didn't mind
losing all the rest of the zone.

2. Use a A (and other records as needed) instead of a CNAME.

This is, of course, the usual solution.

--
Chris Thompson
Email: c...@cam.ac.uk
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to