*BSD News Article 96436


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.mel.aone.net.au!news.mira.net.au!news.vbc.net!vbcnet-west!samba.rahul.net!rahul.net!a2i!news.pbi.net!news.mathworks.com!news.kei.com!hookup!nic.wat.hookup.net!xenitec!news.uunet.ca!not-for-mail
From: Mark Segal <mark@club-web.com>
Newsgroups: comp.unix.bsd.misc
Subject: HELP: BIND and CNAME's
Date: Wed, 21 May 1997 11:43:12 -0400
Organization: Club-Web Inc.
Lines: 38
Message-ID: <33831810.794BDF32@club-web.com>
References: <Pine.BSF.3.95q.970528170137.13435A-100000@club-web.com>
NNTP-Posting-Host: 207.176.196.12
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.1-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:3441

Sorry, about the cross post but i ws wondering if anyone could help me.
> 
> 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.