On Tue, Dec 01, 2009 at 04:59:16PM -0800, Hans Jacobsen wrote:
> If a.stanford.edu is a cname (say to b.stanford.edu)
> can I delegate subdomain.a.stanford.edu?  Are there documents that  
> point to this being an ok or bad practice?
> 
> I know all records for a.stanford.edu are relegated to records for  
> b.stanford.edu
> What about subdomains?


No.

The domain that has a CNAME must never appear on the left-hand side of
another record.

If you delegate, the domain appears on the left side of NS records.

If you include the domain in a declaration in the same zone, it still is
on the left side of a record - just not alone.

a                       CNAME           b
; Delegate a - WRONG
a                       NS              ns1             [WRONG]
; Use a on LHS - WRONG
subdomain.a             A               7.8.9.10        [WRONG]
subdomain.a             NS              ns1.subdomain.a [WRONG]
ns1.subdomain.a         A               7.9.11.13       [WRONG]

Why not do this?

subdomain.b             A               7.8.9.10
subdomain.b             NS              ns1.subdomain.b
ns1.subdomain.b         A               7.9.11.13



-- 
/*********************************************************************\
**
** Joe Yao                              j...@tux.org - Joseph S. D. Yao
**
\*********************************************************************/
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to