www. CNAME
Barry Margolin
barmar at bbnplanet.com
Tue Nov 16 19:46:37 UTC 1999
In article <E56C286B7760D31189A2009027B0FF733BA830 at missmuffet.mamamedia.com>,
Adrian Goins <Adrian at mamamedia.com> wrote:
>domain.com. IN A 10.0.0.1
>sub IN A 10.0.0.1
>
>$ORIGIN sub.domain.com
>www IN A 10.0.0.1
>
>having sub as a CNAME for domain.com and then using it as a subdomain is a
>"Bad Thing (tm)" use all A records.
There's no problem with having sub as a CNAME. It's a subdomain, but it's
*not* a subzone, so it doesn't violate the rule against CNAME and other
data. We do this extensively for the domain that contains all our routers;
we have A records for each interface, and then a CNAME record for the
router's name with no interface prefix:
fa9-0-0.cambridge1-br1 IN A 4.0.1.241
fa9-1-0.cambridge1-br1 IN A 4.0.3.93
l0.cambridge1-br1 IN A 4.0.4.20
p1-0-0.cambridge1-br1 IN A 4.0.1.22
p2-0-0.cambridge1-br1 IN A 4.0.1.46
s11-0-0.cambridge1-br1 IN A 4.0.2.25
s11-0-1.cambridge1-br1 IN A 4.0.1.201
s3-0-0.cambridge1-br1 IN A 204.70.10.222
s5-0-0.cambridge1-br1 IN A 4.0.1.122
s5-0-1.cambridge1-br1 IN A 204.70.10.218
cambridge1-br1 IN CNAME l0.cambridge1-br1
--
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
More information about the bind-users
mailing list