*BSD News Article 96415


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!europa.clark.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!torn!news.uunet.ca!club-web.com!root
From: Charlie ROOT <root@club-web.com>
Newsgroups: comp.unix.bsd.misc
Subject: BIND and CNAME's
Date: Wed, 28 May 1997 17:13:43 -0400
Organization: UUNET Canada News Transport
Lines: 37
Message-ID: <Pine.BSF.3.95q.970528170137.13435A-100000@club-web.com>
NNTP-Posting-Host: bert.club-webb.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:3440

Ok here's the deal.

	I have a client that has registered more than one second level
domain and i want to point all of them to one IP.  So the main domain name
has the a record to the pointer and the second is a cname to the a record.

example
-------
db.mydomain:
SOA stuff
NS stuff
MX stuff

mydomain.com.	IN A	207.176.196.2
www		IN CNAME	mydomain.com.
ftp		IN CNAME 	mydomain.com.

db.mydomain2:
SOA stuff
NS stuff
MX stuff
mydomain2.com.	IN CNAME	mydomain.com.
www		IN CNAME	mydomain.com.
ftp		IN CNAME	mydomain.com.

	Yes, I know the mydomain.com. can be simplifed to a @ but for
simplicity i have done it this way.. I'm using BIND 4.9.4-P1 (the one that
comes with FreeBSD 2.2.1).
	The Error I recive is:
May 28 17:12:14 mydomain2.com. named[1234]: mydomain2.com. has CNAME and
other data (illegal)

thanxs,
Mark Segal
mark@club-web.com
System Admin - Club-Web Inc.