From owner-freebsd-isp Mon Jun 5 12:59:59 2000 Delivered-To: freebsd-isp@freebsd.org Received: from Awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 1E8AF37BDB3 for ; Mon, 5 Jun 2000 12:59:53 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.9.3/8.9.3) with ESMTP id UAA42896; Mon, 5 Jun 2000 20:56:49 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id TAA00769; Mon, 5 Jun 2000 19:56:41 +0100 (BST) (envelope-from brian@Awfulhak.org) Message-Id: <200006051856.TAA00769@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Gabriel Ambuehl Cc: Phil Homewood , freebsd-isp@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: Re[2]: BIND doesn't want to accept all of my zonefiles.. In-Reply-To: Message from Gabriel Ambuehl of "Sun, 04 Jun 2000 13:21:42 +0200." <88266718360.20000604132142@buz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Jun 2000 19:56:41 +0100 From: Brian Somers Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> Or am I misinterpreting the errormessage? > > You're misinterpreting it. You can't have a CNAME as well as > > any other form of record for a given entry. For example, "ftp" > > should have *either* a CNAME *or* an MX record - it can't have > > both. > > Hmm. So I'll have to change > IN CNAME web.alpha > to > IN A 195.49.62.125 > not very nice but better than get bombed by errors. Seems like I > should read DNS and BIND once again but this time a bit more seriously > *g*. But anyway, I think using > IN MX 10 mail-alpha > * IN MX 10 web-alpha > mail IN CNAME mail-alpha > should save me from setting hardcoded A records in the zonefiles of > the virtualdomains. Given what you originally had: ftp IN CNAME web.alpha I suspect you should just remove the ftp IN MX 10 mail.alpha When someone sends mail to ``ftp'', it'll go to the MX of web.alpha (or whatever ftp is ultimately a CNAME for). This is far better than adding an A record for ``ftp'' as your mail config just doesn't need to know about ``ftp'' if it's a CNAME. > Thanks anyway. > > Best regards, > Gabriel -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message